a reboot switch or router
Brian A. Seklecki
lavalamp at spiritual-machines.org
Fri Jul 11 12:45:17 CEST 2008
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.
>
-------------- next part --------------
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
-------------- 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