SV: check_snmp - warning and critical ranges

Allan Hansen, INBODAN avh at inbodan.dk
Wed Oct 30 23:12:26 CET 2002


Thanks for your reply

Still, if I run this

check_snmp -H 10.129.2.2 -w 75: -c 90: -o .1.3.6.1.4.1.232.11.2.3.1.1.3.0 -u
'%' -l 'CPU'

- it gives me:

CPU WARNING *3* %

By the way:

In the check_snmp help screen it states: 

	Range(s) that will NOT result i a WARNING/CRITICAL status

This is what lead me to the :75, :90, because I do not want
warnings/critical messages when CPU load is below 75/90 %

/Allan


-----Oprindelig meddelelse-----
Fra: Subhendu Ghosh [mailto:sghosh at sghosh.org] 
Sendt: 30. oktober 2002 18:09
Til: 'nagios-users at lists.sourceforge.net'
Emne: Re: [Nagios-users] check_snmp - warning and critical ranges


On Wed, 30 Oct 2002, Allan Hansen, INBODAN wrote:

> I can't seem to work out the above. I want to monitor CPU load and 
> have a warning when CPU is above 75 and critical when above 90.
>  
> If I understand the docu correct this should work:
>  
>     check_snmp -H 10.129.2.2 -w :75 -c :90 -o 
> .1.3.6.1.4.1.232.11.2.3.1.1.3.0 -u '%' -l 'CPU'


You want to define minimum thresholds not max.

-w 75: -c 90:

>  
> but it does not, I keep getting a warning even on low (<10%) CPU load.
>  
> I am using ucd-snmp 4.2.6 and the latest plugins of of CVS.
>  
> Somebody please advice ..
>  
>  
> MVH / Regards
> INBODAN A/S
>  
> Allan Hansen
> System Administrator
>  
> 
> email: avh at inbodan dot dk (avh snabela inbodan punktum dk)
> www: www.ide.dk <http://www.ide.dk/> , www.garant-gulve.dk 
> <http://www.garant-gulve.dk/> , www.erhvervsgulve.dk 
> <http://www.erhvervsgulve.dk/>
> phone: +45 8941 6100
> mobile: +45 2524 4101
> 
>  
> 

-- 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en




More information about the Users mailing list