SNMP Question

Michael Egan michaele at capitalsafety.com
Fri Dec 14 20:15:33 CET 2007


I am trying to view the status of port 1 on a Cisco 2970 switch.
However, Nagios is giving me an UNKNOWN error.  I tried running the
following from a command prompt:
./check_snmp -H <IP of the switch> -C <string> -o ifOperStatus.1 -r 1
 
I get the following response:
SNMP OK - up(1) | RFC1213-MIB::ifOperStatus.1=up(1)
 
If I am getting this response at the command prompt, why isn't the
monitor coming up green in Nagios?
 
Thanks,
Mike
 

Mike Egan
Enterprise Network Engineer 
Capital Safety 
3833 Sala Way 
Red Wing, MN 55066 
651-385-6254 Office 
651-247-5719 Cell 
michaele at capitalsafety.com <blocked::mailto:michaele at capitalsafety.com>



Home of DBI-Sala and Protecta Brands.  Visit us on the web at
www.capitalsafety.com <blocked::http://www.capitalsafety.com/>  

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071214/56e79186/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list