snmp

Russell Adams RLAdams at AdamsInfoServ.Com
Tue Jan 15 23:29:06 CET 2008


It doesn't look like you are giving it a warning or critical
range. Are you checking the value returned?

On Tue, Jan 15, 2008 at 04:13:33PM -0600, Rich Sasko wrote:
> I am using the following service to check the power supply on my dell
> power edge system.
> 
>  
> 
> define service{
> 
>        use                              generic-service
> 
>        host_name                   DHCP server
> 
>        service_description        Power Supply
> 
>        check_command           check_snmp!-C public -o
> .1.3.6.1.4.1.674.10892.1.200.10.1.9.1
> 
>       }
> 
>  
> 
> The problem is it reports as ok no matter what snmp returns as the
> value. When it is normal it returns 3 and Nagios says the system is OK.
> I pull the power cord on one of the redundant power supplies and it
> returns 4 and Nagios still says it's OK
> 
> Anyone have any ideas?
> 
>  
> 
> System Running on
> 
> RHES 4.5
> 
> Nagios 3.0rc1
> 
> Plugins 1.4.7
> 
>  
> 
> Richard Sasko
> Niagara Lasalle Corp
> Phone: (219) 853-6272 
> Mobile: (219) 484-5617
> E-mail: rsasko at niag.com <mailto:E-mailrsasko at niag.com> 
> 
>  
> 

> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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


------------------------------------------------------------------
Russell Adams                            RLAdams at AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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