problem with performance-log

Schaffranneck, Sven (K-DOI-5/4) sven.schaffranneck at volkswagen.de
Fri Mar 12 10:53:33 CET 2004


Hello,

i try nagios to manage a lot of servers, but have still some problems with
the performance-logging. no data were written.

first, i've used the default method ( ./configure --with-default-perfdata):

/usr/local/nagios/etc/nagios.cfg
#####################################
process_performance_data=1
host_perfdata_command=handler
service_perfdata_command=handler

/usr/local/nagios/etc/misccomand.cfg
#####################################
define command{
	command_name	handler
	command_line	/bin/touch /tmp/doener.log
}


but no  /tmp/doener.log is created. 
then i used the file method ( ./configure --with-file-perfdata):

/usr/local/nagios/etc/nagios.cfg
#####################################
process_performance_data=1
xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPU
T$\t$PERFDATA$


On Nagios start, these files were created, but no information is logged to
them. I created an chech_ftp-command, for example. If i check_ftp on prompt,
there is the correct performance-output 

./check_ftp -H 10.10.10.1
FTP OK - 0.048 second responde ....... | time=37710us;0;0;0;10000

but these information isn't in the log-file ... anyone may help? 


Mit freundlichen Grüssen,
Sven Schaffranneck
K-DOI-5/4

Volkswagen AG
Brieffach 1883
38436 Wolfsburg

Telefon: +49 (5361) 9-3 88 58
http://www.volkswagen.de 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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