a reboot switch or router

Kermito le kermit angeolivier2003 at yahoo.fr
Tue Jul 15 12:14:59 CEST 2008


hello all,

DISMAN-EVENT-MIB::sysUpTimeInstance, give time but there are trap snmp to say the system reboot before reboot 

thanks for your help.

 




----- Message d'origine ----
De : Brian A. Seklecki <lavalamp at spiritual-machines.org>
À : Ange AMBEMOU <angeolivier2003 at yahoo.fr>
Cc : nagios-users at lists.sourceforge.net
Envoyé le : Vendredi, 11 Juillet 2008, 12h45mn 17s
Objet : Re: [Nagios-users] a reboot switch or router



On Fri, 11 Jul 2008, Ange AMBEMOU wrote:

> 
>  helo,
> 
> how know switch or router are reboot and  send notifiction.
>

Use the check_snmp check on DISMAN-EVENT-MIB::sysUpTimeInstance

$ snmpwalk -v2c -c foo hv00 |more

SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32732343) 3 days, 
18:55:23.43

~BAS

> i explain  if  in config of my router check period is 10mn  and between to check the router be  down after up the next check see only the router is up. how make alert to say the
> router down immediatly
> 
> sorry for my bad english :)
> 
> thanks. 
> 
> 
> 
> _____________________________________________________________________________________________________________________________________________________________________________________________
> Envoyé avec Yahoo! Mail.
> Une boite mail plus intelligente.
>


      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080715/89807272/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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