Running eventhandlers at every checks
Paul L. Allen
pla at softflare.com
Tue Jul 6 03:39:20 CEST 2004
Horvath Tamas writes:
> Is this so simple?:)
Well, if you want it to be robust you'll have to go a little further...
What happens if Nagios, for whatever reason (like a plugin timeout) reports
the service as critical when it isn't? Is the command you run to start
the service capable of correctly coping with the service being already
running?
You also need to get your logic right so that it does the right thing
if the file is missing (which will be the case when you add a service
definition for a new host).
But these are mere implementation details and are left as an exercise
for the reader. :) The point is that you can creatively abuse quite a
lot of Nagios functionality to deal with special cases.
--
Paul Allen
Softflare Support
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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