mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
enhance performance snmp service
This commit is contained in:
parent
036c44062e
commit
f774f6051e
@ -82,7 +82,7 @@ sub run {
|
|||||||
my $oid_svSvcName = '.1.3.6.1.4.1.77.1.2.3.1.1';
|
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_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 $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 = ();
|
my %services_match = ();
|
||||||
$self->{output}->output_add(severity => 'OK',
|
$self->{output}->output_add(severity => 'OK',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user