R: Ranges for check_snmp

Marco Borsani m.borsani at it.net
Fri Sep 2 09:38:53 CEST 2005


1) Do you install any pathces regarding check_snmp ?

2) Reading the check_snmp help I see that "," (comma) is used to separate
ranges for differents OIDs. In your example I see only one OID...Is it
correct?

My check_snmp version is "(nagios-plugins 1.3.1) 1.24.2.2"

Regards

Marco

-}-----Messaggio originale-----
-}Da: Justin Shore [mailto:justin.shore at sktbcs.com]
-}Inviato: giovedi 1 settembre 2005 17.49
-}A: Marco Borsani; NAGIOS
-}Oggetto: RE: [Nagios-users] Ranges for check_snmp
-}
-}
-}Here is what I'm using to check temp on a Cisco 6509.  The syntax
-}should be applicable in your scenario.
-}
-}check_command
-}check_snmp!1.3.6.1.4.1.9.9.91.1.1.1.1.4.4001!COMMUNITY-STRING!27,30!30,150
-}
-}My check_snmp is defined as:
-}
-}# 'check_snmp' command definition
-}define command{
-}        command_name    check_snmp
-}        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -o
-}$ARG1$ -C $ARG2$ -w $ARG3$ -c $ARG4$
-}        }
-}
-}This translates into:
-}
-}check_snmp -H $HOSTADDRESS -o 1.3.6.1.4.1.9.9.91.1.1.1.1.4.4001
-}-C COMMUNITY-STRING -w 27,30 -c 30,150
-}
-}Justin
-}
-}
-}> -----Original Message-----
-}> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
-}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani
-}> Sent: Thursday, September 01, 2005 3:42 AM
-}> To: NAGIOS
-}> Subject: [Nagios-users] Ranges for check_snmp
-}> Importance: High
-}>
-}> Hi all !
-}>
-}> I'd like to check some metrics on my firewall, like CPU but
-}when I try to
-}> set the ranges for warning and critical values I receive "strange"
-}> answers.
-}>
-}> ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1
-}-C public
-}> SNMP WARNING - 9
-}>
-}> ./check_snmp -H HOSTADDRESS -o .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1
-}-C public
-}> -w
-}> 15:24 -c 25:100
-}> SNMP CRITICAL - *7*
-}>
-}> Why? What's my fault ?
-}>
-}> I need to receive a Warning over 15% and a Critical over 25%.
-}>
-}> Regards
-}>
-}> Marco Borsani
-}> Unix & Monitoring System Administrator
-}> Technical Operation
-}> Tel.    +39 010 4310115
-}> Fax     +39 010 4327454
-}> E-mail: m.borsani at IT.net
-}>
-}> ITnet S.r.l. - Direzione e Coordinamento di WIND
-}Telecomunicazioni S.p.A.
-}> Internet Service Provider
-}> Sede legale:                     Via C.G.Viola, 48 - 00148 Roma
-}> Dir. Centrale e Amministrativa:  	Via Pacinotti, 39
-}> 	                             16151 Genova (Italy)
-}>
-}> http://www.it.net
-}> mailto:info at IT.net
-}> _______________________________________________________________
-}> Altre sedi ITnet:
-}> MILANO tel.: +39 02 30114900    info-milano at IT.net
-}> ROMA    tel.: +39 06 83116707    info-roma at IT.net
-}> _______________________________________________________________
-}> ITnet is associated to CIX (Commercial IP eXchange) and RIPE
-}> ITnet is associated to AIIP (Associazione Italiana Internet Providers)
-}>
-}>
-}>
-}>
-}> -------------------------------------------------------
-}> SF.Net email is Sponsored by the Better Software Conference & EXPO
-}> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
-}> Practices
-}> Agile & Plan-Driven Development * Managing Projects & Teams *
-}Testing & QA
-}> Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> _______________________________________________
> 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
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005
>

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 8/29/2005




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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