check snmp interface monitoring

Morris, Patrick patrick.morris at hp.com
Fri Nov 6 09:20:55 CET 2009


Brandon Williams wrote:
>
>  
>
> I want to setup Nagios to send out a alert when a interface is down.  
> I am having a problem setting the critical threshold.  This is what I 
> am using right now
>
>  
>
> ./check_snmp -c1 –H x.x.x.x –P 2c –C public –o ifAdminStatus.1
>
>  
>
> SNMP OK - 1 | IF-MIB::ifAdminStatus.1=1
>
>  
>
> I was trying to have it go critical if the returned value is 1.  This 
> was just a test to see if it would give me a critical for being up. 
>  Any ideas on what I am doing wrong?
>
>  
>
> 1=up
>
> 2=down
>
> 3=testing
>
>  
>
check_snmp requires a range for the warning and critical thresholds. 
It's explained near the bottom when you do "check_snmp -h"

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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