thoughts about event handlers

Neil neil-on-nagios at restricted.dyndns.org
Wed Jul 7 00:20:52 CEST 2004


I read the event handler section in the Nagios documentation. It looks cool. 
Here is what I am thinking on how I want to implement event handlers. Let 
say I want to check http port 80. 

Steps:
1. use check_tcp to check port 80
2. If connection is refused, have the event handler get executed which calls 
check_nrpe to check if httpd is running
3. If httpd is running, it's possible that port 80 was accidentally modified 
in the firewall(of course, very remote) 

What I am saying here is that, with event handlers, we can be very sure that 
a service is really in a RUNNING STATE or in a STOPPED state. 

Am I correct guys? 

Thanks. 

Neil


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