Rép. : SNMP monitor

hugo at nssecurity.com.br hugo at nssecurity.com.br
Wed Oct 1 21:34:24 CEST 2003


We don't use -w -c options ?

Thank you.
Hugo

Citando Serveur-Faucon Surveillance <SrvFaucon at cslaval.qc.ca>:

> in /usr/local/nagios/libexec/
> 
> type "./check_snmp --h"
> 
> 
> Here is one example in my checkcommands.cfg... where
> 
> ".1.3.6.1..." is the OID for the uptime of your router.
> $ARG1$ is the community string (usually "public", you should change that for
> security if you know what you are doing)
> 
> ----------------------
> # AJOUT *** Pour voir le sysuptime (sysuptime de la partie reseau) (tout ce
> qui fait du SNMP)
> # SNMP
> define command{
>         command_name     snmp_sysuptime
>         command_line     $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o
> .1.3.6.1.2.1.1.3.0 -l SNMPuptime
>         }
> 
> ------------------------
> Alex
> 
> ---------------------------------------------------
> Alexandre Racine
> Laval-Montréal, Québec, Canada
> 
> >>> <hugo at nssecurity.com.br> 01/10/03 14h11 >>>
> I want to monitor my routers and switches by SNMP using check_snmp(Net_SNMP).
> 
> However I don't have a example of sintaxe.
> 
> Please. Could anybody send me a example of check_snmp command ?
> 
> Thank you very much.
> 
> Regards,
> Hugo
> 
> 
> 
> -------------------------------------------------------
> 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 
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> 





-------------------------------------------------------
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
::: 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