Problem with performance data and event handle rs

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Mon Jan 20 17:13:23 CET 2003


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$OUTPU
T$\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/6bdd532b/attachment.html>


More information about the Users mailing list