mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
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
This commit is contained in:
parent
7fab99cfc1
commit
78e3df4dd2
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user