git-svn-id: http://svn.centreon.com/Plugins/Dev@3118 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
73bfd6d13e
commit
1557752f61
|
@ -153,6 +153,12 @@ if ($opt_64bits && $snmp !~ /2/) {
|
|||
print "Error : Usage : SNMP v2 is required with option --64-bits\n";
|
||||
exit $ERRORS{'UNKNOWN'};
|
||||
}
|
||||
if (defined ($opt_64bits)) {
|
||||
if (eval "require bigint") {
|
||||
use bigint;
|
||||
} else { print "ERROR : Need bigint module for 64 bit counters\n"; exit $ERRORS{"UNKNOWN"}}
|
||||
}
|
||||
|
||||
#################################################
|
||||
##### Plugin snmp requests
|
||||
##
|
||||
|
|
Loading…
Reference in New Issue