From 78e3df4dd22f767fd849223b669ed7c62c77669c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20S=C3=A1r=C3=A1ndi?= Date: Sun, 10 Jun 2018 22:06:51 +0200 Subject: [PATCH] Change UCD max load from 5000 to 50000 (#8769) * Change max load from 5000 to 50000 Perhaps a load value of 50000% seems excessive, however it can happen. (Example: a heavily loaded compute node with 48 CPU cores that produces loads of ~15000%, printed as 150 by tools htop). * Remove maximum value for load averages --- includes/polling/ucd-mib.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/polling/ucd-mib.inc.php b/includes/polling/ucd-mib.inc.php index eeedc373b5..751f8fce56 100644 --- a/includes/polling/ucd-mib.inc.php +++ b/includes/polling/ucd-mib.inc.php @@ -165,9 +165,9 @@ $load_raw = snmp_get_multi($device, 'laLoadInt.1 laLoadInt.2 laLoadInt.3', '-OQU // Check to see that the 5-min OID is actually populated before we make the rrd if (is_numeric($load_raw[2]['laLoadInt'])) { $rrd_def = RrdDefinition::make() - ->addDataset('1min', 'GAUGE', 0, 5000) - ->addDataset('5min', 'GAUGE', 0, 5000) - ->addDataset('15min', 'GAUGE', 0, 5000); + ->addDataset('1min', 'GAUGE', 0) + ->addDataset('5min', 'GAUGE', 0) + ->addDataset('15min', 'GAUGE', 0); $fields = array( '1min' => $load_raw[1]['laLoadInt'],