Lets fix the permissions on this file by running the following.
Code: Select all
chown nagios.nagios /usr/local/nagios/libexec/process_perfdata.pl
Edit your /etc/hosts file and change it to the following. Replace XXX.XXX.XXX.XXX with your systems IP address.
Code: Select all
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
XXX.XXX.XXX.XXX nagiosxi
Delete all of the unprocessed performance data files by running the following.
Code: Select all
rm -fr /usr/local/nagios/var/spool/perfdata/*
Lets increase the npcd log level. Edit the npcd.cfg file and change the following line.
log_level = 0
to
log_level = -1
start the npcd process and let it run for a while and email in the npcd.log file. It will be quite large and you may need to zip it.
Keep an eye on this folder to see if the performance data files are getting processed.
/usr/local/nagios/var/spool/perfdata