fix arg for function get_netsnmp_version
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@5723 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
358e783f8e
commit
ab09ba2b39
|
@ -127,7 +127,7 @@ if ($snmp eq "1" || $snmp eq "2") {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub get_netsnmp_version (){
|
sub get_netsnmp_version ($){
|
||||||
my $sess = $_[0];
|
my $sess = $_[0];
|
||||||
my $OID_VERSION = "1.3.6.1.2.1.25.6.3.1.2";
|
my $OID_VERSION = "1.3.6.1.2.1.25.6.3.1.2";
|
||||||
my $result = $sess->get_table(Baseoid => $OID_VERSION);
|
my $result = $sess->get_table(Baseoid => $OID_VERSION);
|
||||||
|
|
Loading…
Reference in New Issue