SNMP Question
Michael Egan
michaele at capitalsafety.com
Fri Dec 14 20:50:26 CET 2007
I forgot to mention that I am able to monitor up time via SNMP...so I
don't think it is a permissions issue.
Thanks,
Mike
-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Friday, December 14, 2007 1:33 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] SNMP Question
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/marketp
lace
_______________________________________________
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
-------------------------------------------------------------------------
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