re-execute an event handler just in case the service stays DOWN
Marc Haber
mh+nagios-users at zugschlus.de
Thu Jan 22 15:42:09 CET 2009
Hi,
I would like one event handler to be re-executed just in case it
failed for the first time. The docs
(http://nagios.sourceforge.net/docs/3_0/eventhandlers.html) say "you
don't want that", but I am fairly confident that I want it in this case.
I have a nagios host in a unattended site which generally gets its
internet access from the site network. In case of a site network
failure, the host needs to dial in to the Internet via modem to be
reachable for debugging purposes.
The nagios installation monitors a host on the Internet and has an
event handler connected with this host which will initiate the dial-up
when the "Internet host" goes into a HARD DOWN state.
I would like this event handler to be re-executed in case the dial-up
connection doesn't come up or goes down _before_ nagios has detected
that the "Internet host" is UP again.
Is there any way to accomplish this or am I better of with a cronjob
which will initiate the dial-up from outside nagios?
Any hints will be appreciated.,
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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