That does look ok, try adding "; echo $?" on the end of it... > /check_snmp_linkstatus -H 172.16.2.1 -C supersecret -I GigabitEthernet5/2 ; > echo $?
-JB On Feb 23, 2010, at 2:45 PM, Joe Goldberg wrote: > Thank you for the reply, from the command line here is what I get. It looks > okay to my untrained eye. > > [r...@whq-ops-01 libexec]# ./check_snmp_linkstatus -H 172.16.2.1 -C > supersecret -I GigabitEthernet5/2 > WARNING: Running from command line. This could change statistics for the next > run from Nagios > OK - GigabitEthernet5/2 (Internet1) is up, throughput (in/out) 4.96 Mbps/2.2 > Mbps, 5.2%/2.3%|throughput_in=5205328b throughput_out=2309328b > > Thanks, > Joe > > > From: [email protected] > [mailto:[email protected]] On Behalf Of Josh Brown > (Mailing List) > Sent: Tuesday, February 23, 2010 5:30 PM > To: Opsview Users > Subject: Re: [opsview-users] SNMP Interface Out of Bounds Error > > In my experience that is usually because of a script error, such as a perl > dependency or something like that. > > Can you try and run the command manually from your opsview server? > > The output of that might give some insight into the issue. Perhaps, there is > some Perl library that is not installed. > > -JB > On Feb 23, 2010, at 2:14 PM, Joe Goldberg wrote: > > > I have version 3.5.2 that I just did a clean install on today via yum on a > CentOS 5 64 Bit machine. > > I am configuring it to monitor the Interfaces of a Cisco router via SNMP and > they are all showing up as down with the error “(Return code of 255 is out of > bounds)”. > > I have another OpsView install at version 2.12.4 (I know it’s old but it has > been very reliable) that is doing the same check with no problems. > > I saw a post to try the check_snmp_linkstatus file at > http://svn.opsview.org/opsview/trunk/opsview-core/nagios-plugins/check_snmp_linkstatus. > I tried it and I get the same error. > > Any assistance would be appreciated. > > Thanks, > Joe > > This email and any attachment(s) is for the intended recipient only and may > be confidential. If you are not the intended recipient, please delete this > e-mail and advise the sender immediately. Unauthorized use or distribution is > prohibited. > > _______________________________________________ > Opsview-users mailing list > [email protected] > http://lists.opsview.org/lists/listinfo/opsview-users > > _______________________________________________ > Opsview-users mailing list > [email protected] > http://lists.opsview.org/lists/listinfo/opsview-users
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
