SNMP Question

Michael Egan michaele at capitalsafety.com
Fri Dec 14 20:28:45 CET 2007


I am running it as root.

________________________________

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of
mark.potter at academy.com
Sent: Friday, December 14, 2007 1:27 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] SNMP Question



nagios-users-bounces at lists.sourceforge.net wrote on 12/14/2007 01:15:33
PM:

> 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 
>   
Are you running the command as the nagios user when you run it from the
command line?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071214/ee6ca682/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