Perfdata confusion

bru1n at comcast.net bru1n at comcast.net
Mon May 2 17:22:04 CEST 2005


Quick question. I'm confused about this entry in my nagios.log:

[1115046014] Warning: Host performance file processing command 'process-host-perfdata-file' was not found - host performance data file will not be processed!
[1115046014] Warning: Service performance file processing command 'process-service-perfdata-file' was not found - service performance data file will not be processed!

I read through the manuals for both 1.0 and 2.0, (I'm using 2, and 1.0 looks quite different)and I think I'm going in a circle. Looking at the examples, well there isn't one for this section of nagios.cfg. I see the perfdata nagios/var/*.out | *.dat are just text (logs), but it is not clear to me what the pupose is of them.

nagios.cfg:
process_performance_data=1
host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata
host_perfdata_file=/usr/local/nagios/var/host-perfdata.dat
service_perfdata_file=/usr/local/nagios/var/service-perfdata.dat
host_perfdata_file_template= _is there, I left it default_
service_perfdata_file_template= _yup, same_
host_perfdata_file_mode=a
service_perfdata_file_mode=a
host_perfdata_file_processing_interval=300
service_perfdata_file_processing_interval=300
host_perfdata_file_processing_command=process-host-perfdata-file
service_perfdata_file_processing_command=process-service-perfdata-file

The last 4 lines I have no real idea, and can't find a working example of what to do with them.

Do I create a command define in miscommands.cfg like for the process?
What should that command do; where is it reported?

Thanks,
-Marc


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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