enhance performance snmp service
This commit is contained in:
parent
36ba6de7ac
commit
a7393fe4b0
|
@ -82,7 +82,7 @@ sub run {
|
|||
my $oid_svSvcName = '.1.3.6.1.4.1.77.1.2.3.1.1';
|
||||
my $oid_svSvcInstalledState = '.1.3.6.1.4.1.77.1.2.3.1.2';
|
||||
my $oid_svSvcOperatingState = '.1.3.6.1.4.1.77.1.2.3.1.3';
|
||||
my $result = $self->{snmp}->get_table(oid => $oid_svSvcEntry);
|
||||
my $result = $self->{snmp}->get_table(oid => $oid_svSvcEntry, start => $oid_svSvcName, end => $oid_svSvcOperatingState);
|
||||
|
||||
my %services_match = ();
|
||||
$self->{output}->output_add(severity => 'OK',
|
||||
|
|
Loading…
Reference in New Issue