Event Handler problems
Marc Powell
marc at ena.com
Mon Oct 16 17:28:16 CEST 2006
It uses syslog so it's being logged to wherever *.info,*.notice, *.debug
are being sent to in syslog.conf (usually something like
/var/log/messages). I believe you can change the log file by adding
'nrpe.* /some/other/file' to syslog.conf and HUP or restart syslogd.
--
Marc
> -----Original Message-----
> From: Sandeep Narasimha Murthy [mailto:sandeep-n-murthy at telecom.pt]
> Sent: Monday, October 16, 2006 10:18 AM
> To: Marc Powell; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Event Handler problems
>
> Hi,
>
> I have the debug option on in the nrpe.cfg but still nothing is being
> logged. Can I specify another log file ??
>
> Thanks
>
> -----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 15:27
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Event Handler problems
>
>
>
> > -----Original Message-----
> > From: Sandeep Narasimha Murthy [mailto:sandeep-n-murthy at telecom.pt]
> > Sent: Monday, October 16, 2006 9:05 AM
> > To: Marc Powell; nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] Event Handler problems
> >
> >
> > 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 ?
>
> In nrpe.cfg --
>
> # DEBUGGING OPTION
> # This option determines whether or not debugging messages are logged
to
> the
> # syslog facility.
> # Values: 0=debugging off, 1=debugging on
>
> debug=0
>
> Also, try running the command_line for start_autonomyServer exactly as
> it's defined and run it as the nagios user and watch for errors.
>
> --
> 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