Event Handler problems

Sandeep Narasimha Murthy sandeep-n-murthy at telecom.pt
Mon Oct 16 16:05:18 CEST 2006


Hi,

Thanks for the suggestion. I had already enabled logging of service
retries, host retries, and event handler commands. In fact, I discovered
that Nagios is invoking the Event Handler but the problem appears to be
in the remote host:

[1160997995] EXTERNAL COMMAND:
SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969

[1160998115] SERVICE ALERT:
PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The
service apax is not running.
[1160998115] SERVICE EVENT HANDLER:
PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer

I am using NRPE on my remote hosts (all solaris 5.9 machines). Where can
I view the plugins being invoked ?? I checked the /var/adm/messages and
/var/log/syslog but there appears no commands at all. Is there any other
log which I can consult or alternatively configure nrpe.cfg to log all
the plugins being invoked ?

Thanks,
sg

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: segunda-feira, 16 de Outubro de 2006 14:53
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Event Handler problems



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy
> Sent: Monday, October 16, 2006 6:08 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Event Handler problems
> 
> Hello,
> 
> I have an event handler configured in one of our services such that,
> when the service state hits critical or warning, it should activate
the
> event handler. I am quite sure I have it configured fine but it simply
> does not seem to work when the service states turns critical. I also
> confirmed this by forcing a critical feedback to the service and it
did
> not work.
> 
> Here is my service config. Has anyone faced any similar situations?
> Thanks in adv:
> 

No problems here. I'd suggest configuring nagios to log event handlers
to verify that an attempt is made to run them. If not, try enabling
enable_event_handlers in nagios.cfg.

--
Marc

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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