SNMP Question

Marc Powell marc at ena.com
Fri Dec 14 20:33:21 CET 2007


On Dec 14, 2007, at 1:15 PM, Michael Egan wrote:

> 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?
>
>
Beyond nagios not being able to execute check_snmp due to permissions  
on snmpget/snmpgetnext, my next guess would be that the MIB isn't  
being loaded properly. Does it work if you manually specify the MIB is  
-m or use a numeric OID?

--
Marc

-------------------------------------------------------------------------
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
_______________________________________________
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