check_snmp_win is getting a text version number
Posted: Thu Oct 13, 2011 12:48 pm
Hello,
Just starting with Nagios. I've got the quick start working and was playing with trying to get SNMP data back from a Windows box. To start out, I'm just running check_snmp_win.pl from the command line. Here's what I get
So it looks like a version value coming back fron Net::SNMP->Version is text rather than a number and a couple of numeric compares are failing. Any idea why this is? check_snmp_win.pl is pretty old at this point - has the format of the version changed since it was written?
I *did* search for this message and found nothing.
Thanks for any insight,
Tom
Just starting with Nagios. I've got the quick start working and was playing with trying to get SNMP data back from a Windows box. To start out, I'm just running check_snmp_win.pl from the command line. Here's what I get
Code: Select all
./check_snmp_win.pl -H 10.x.x.x -C Greenplum -n dns
Argument "v6.0.1" isn't numeric in numeric lt (<) at ./check_snmp_win.pl line 259.
Argument "v6.0.1" isn't numeric in numeric lt (<) at ./check_snmp_win.pl line 317.
1 services active (matching "dns") : OK
I *did* search for this message and found nothing.
Thanks for any insight,
Tom