Problem with "processing performance data"
alex-sch at web.de
alex-sch at web.de
Thu Aug 5 08:48:48 CEST 2004
Hello,
i am using Nagios 1.2 and i would like to use the "performance data processing" feature. But it seems to not working for me ;o(
In nagios.cfg i use following options to activate it:
...
cfg_file=/usr/local/nagios/etc/Command.cfg
...
process_performance_data=1
# host_perfdata_command=process-host-perfdata
service_perfdata_command=service-perf-data-handler
...
(what i need is only service performance data processing)
In my Command.cfg i define the according command:
...
define command {
command_name service-perf-data-handler
command_line /bin/echo -e
"$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$\t$PERFDATA$" /usr/local/
nagios/var/service-perfdata
}
...
With this configuration the file "/usr/local/nagios/var/service-perfdata" should be created and some information about all the service-check resulst
written into it (i'm using about 65 service-checks in my environment), but nothing is
happens:
The file "/usr/local/nagios/var/service-perfdata" is not created and it is no error messages or something like it in naigos.log or in /var/log/messages
The nagios is compiled using --with-default-perfdata argument to the configure script.
What can be wrong here?
Thanks for all your ideas
Alexander Schaefer
________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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