Problem with performance data and event handlers

Nagios nagios at atlantic-isp.co.uk
Mon Jan 20 18:25:03 CET 2003


Forgot to say I did compile it with that.
 
./configure  --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin
--with-htmurl= --with-nagios-user=nagios --with-nagios-grp=nagios
--with-template-extinfo --with-file-perfdata
 
Tony
 
-----Original Message-----
From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] 
Sent: 20 January 2003 16:13
To: 'Nagios'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Problem with performance data and event
handlers
 
You need to recompile Nagios.
 
First, go back to the source tree and do a 'make clean'.  Then do:
 
  ./configure --with-file-perfdata
Reinstall the CGIs and you should be good to go.
 
jc
-----Original Message-----
From: Nagios [mailto:nagios at atlantic-isp.co.uk]
Sent: Sunday, January 19, 2003 4:33 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Problem with performance data and event handlers
I have enabled performance data in Nagios 1.0 but it does not seem to be
working correctly.
I compiled Nagios to use File Based Method and have added 
 
xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log 
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$O
UTPUT$\t$PERFDATA$ 
xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log 
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
To the nagios.cfg file as described in the docs.
I completely stopped Nagios and restarted it and although the files
hostpref.log and servicepref.log are created by Nagios no data is
written to them.
 
Also I have noticed that although the nagios.cfg file has event_handlers
enabled the tactical overview shows them as disabled.
Any ideas?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030120/4ca27d88/attachment.html>


More information about the Users mailing list