fix riverved steelhead load-average (#1272)

This commit is contained in:
Colin Gagnaire 2018-12-11 16:03:41 +01:00 committed by GitHub
parent 605d55d8ec
commit 4135847a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -115,18 +115,18 @@ sub manage_selection {
# STEELHEAD-MIB
my $oids = {
cpuUtil1 => '.1.3.6.1.4.1.17163.1.1.5.1.1.0',
cpuLoad1 => '.1.3.6.1.4.1.17163.1.1.5.1.2.0',
cpuLoad5 => '.1.3.6.1.4.1.17163.1.1.5.1.3.0',
cpuLoad15 => '.1.3.6.1.4.1.17163.1.1.5.1.4.0',
cpuLoad1 => '.1.3.6.1.4.1.17163.1.1.5.1.1.0',
cpuLoad5 => '.1.3.6.1.4.1.17163.1.1.5.1.2.0',
cpuLoad15 => '.1.3.6.1.4.1.17163.1.1.5.1.3.0',
cpuUtil1 => '.1.3.6.1.4.1.17163.1.1.5.1.4.0',
};
# STEELHEAD-EX-MIB
my $oids_ex = {
cpuUtil1 => '.1.3.6.1.4.1.17163.1.51.5.1.1.0',
cpuLoad1 => '.1.3.6.1.4.1.17163.1.51.5.1.2.0',
cpuLoad5 => '.1.3.6.1.4.1.17163.1.51.5.1.3.0',
cpuLoad15 => '.1.3.6.1.4.1.17163.1.51.5.1.4.0',
cpuLoad1 => '.1.3.6.1.4.1.17163.1.51.5.1.1.0',
cpuLoad5 => '.1.3.6.1.4.1.17163.1.51.5.1.2.0',
cpuLoad15 => '.1.3.6.1.4.1.17163.1.51.5.1.3.0',
cpuUtil1 => '.1.3.6.1.4.1.17163.1.51.5.1.4.0',
};
my $snmp_result = $options{snmp}->get_leef(oids => [ values %{$oids}, values %{$oids_ex} ], nothing_quit => 1);