Help: Event handler already enabled but web gui says not.
jay alvarez
nagi0sb0y at yahoo.com
Wed Mar 30 07:09:28 CEST 2005
Hi,
I tried creating an event handler script to
restart
httpd on the remote machine in case nagios detects
that it is not running.
After that, I make sure that enable_event_handlers
on nagios.cfg and event_handler_enabled in
services.cfg are set to 1. Then I stopped nagios and
started it again.
I tried manually running the script by passing
values 'CRITICAL' and 'HARD' and it successfully
started the
httpd on remote machine. My problem is in nagios. It
still says in web gui that event handler for that
particular service is disabled. I went to nagios.org
and came across some interesting features of version
2:
Cached Object Definition File
The Nagios daemon will be modified to create a
cached
copy of the config files when it starts up. This
cached file will be read by the CGIs when they need
to
lookup object definitions. This should fix
inconsistency problems that can currently occur if
config files are modified after Nagios is up and
running.
..but I don't think it has anything to do with my
case. Any idea? I'm using nagios 1.2.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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