Nagios 1.1 and Performance Data

Michael Klöffer mkloeffer at tycoint.com
Thu Jul 24 15:30:40 CEST 2003


Hi,

I just upgraded my Nagios installation to 1.1 and it ran perfect.

Then I just wanted to test performance data collection, but I had some
problems:

If using the the command-based method the log entrys get mixed, because more
than one check command runs at one time.
--> So I decided to switch to the file based method but

Only the file hostperf.log get written, and it is only written when a
service (!) check fails (exit code>0). The serviceperf.log is not created.

My configuration:

----------------------------------------------------------------------------
--------------------
process_performance_data=1

#host_perfdata_command=process-host-perfdata
#service_perfdata_command=process-service-perfdata

xpdfile_host_perfdata_file=/opt/nagios/var/hostperf.log
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
xpdfile_service_perfdara_file=/opt/nagios/var/serviceperf.log
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPU
T$\t$PERFDATA$
----------------------------------------------------------------------------
--------------------

How can I get this to work? 

Thanks alot,

Michael


-------------------------------------------------------------
Michael Klöffer

CKS Systeme GmbH & Co. KG
Brauerstraße 50
76135 Karlsruhe

Telefon:   +49 721 2032-217
Telefax:   +49 721 2032-219
eMail:      mkloeffer at tycoint.com
Web:       http://www.cks-systeme.de
-------------------------------------------------------------



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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