in Nagios® Core™ 3.2.3 i got this error when running checks with "check_snmp_load":
"ERROR opening session: An empty privacy password was specified."
on the command line, after executing this:
../libexec/snmp/check_snmp_load.pl -l readpriv -x xxxxxx -X xxxxxx -H hostname -w 3,3,2 -c 4,4,3 -T netsl
i got this:
Argument "v6.0.1" isn't numeric in numeric lt (<) at ./check_snmp_load.pl_old line 348.
Load : 0.00 0.00 0.00 : OK
I changed line 348 from:
my $resultat = (Net::SNMP->VERSION < 4) ?
to:
my $resultat = (Net::SNMP->VERSION lt 4) ?
..works
1 comment:
worked beautifully... thank you!!!!
saved me a ton of time.
Post a Comment