git-svn-id: http://svn.centreon.com/Plugins/Dev@3118 6bcd3966-0018-0410-8128-fd23d134de7e

This commit is contained in:
Mat Sugumaran 2007-09-13 08:41:56 +00:00
parent 73bfd6d13e
commit 1557752f61
1 changed files with 6 additions and 0 deletions

View File

@ -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
##