No perfdata.log
No perfdata.log
We are having issues getting the performance graphs to populate so we set LOG_LEVEL = 1 in the process_perfdata.cfg, yet the perfdata.log is not being created/populated. This suggests to me there is something not running. Performance data is being received and the xml files are being populated but there are no corresponding rrd files in the perfdata directory. What do I need to look for? What causes the xml files to be processed into rrd files?
Re: No perfdata.log
It look like the npcd daemon isn't running.
Run this to get the status
If it says it is not running, start it by running
One thin,g if it has been down for a long time, it will take a long time for the system to process the old data.
Run this to get the status
Code: Select all
service npcd statusCode: Select all
service npcd startBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: No perfdata.log
This is a new XI install so not many hosts or perfdata to process....but the npcd process is running and has been running since the install two days ago. Any other suggestions?
Re: No perfdata.log
Can you run the following and post the output here?
Code: Select all
tail -100 /usr/local/nagios/var/perfdata.log
tail -100 /usr/local/nagios/var/npcd.logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: No perfdata.log
perfdata.log does not exist
npcd log is very sparse, here are the entire contents:
cat npcd.log
[06-17-2015 14:49:10] NPCD: npcd Daemon (0.4.14) started with PID=130153
[06-17-2015 14:49:10] NPCD: Please have a look at 'npcd -V' to get license information
[06-17-2015 14:49:10] NPCD: HINT: load_threshold is enabled - ('10.000000')
In other words, it looked like it started up when XI was installed but it's not doing anything...but again the npcd daemon is running:
ps -ef|grep npcd
ss6396 106906 105377 0 13:27 pts/0 00:00:00 grep npcd
nagios 130153 1 0 Jun17 ? 00:00:18 //opt/app/nagios/bin/npcd -f /
npcd log is very sparse, here are the entire contents:
cat npcd.log
[06-17-2015 14:49:10] NPCD: npcd Daemon (0.4.14) started with PID=130153
[06-17-2015 14:49:10] NPCD: Please have a look at 'npcd -V' to get license information
[06-17-2015 14:49:10] NPCD: HINT: load_threshold is enabled - ('10.000000')
In other words, it looked like it started up when XI was installed but it's not doing anything...but again the npcd daemon is running:
ps -ef|grep npcd
ss6396 106906 105377 0 13:27 pts/0 00:00:00 grep npcd
nagios 130153 1 0 Jun17 ? 00:00:18 //opt/app/nagios/bin/npcd -f /
Re: No perfdata.log
Open the "/usr/local/nagios/etc/pnp/process_perfdata.cfg" file in a text editor, set:perfdata.log does not exist
Code: Select all
LOG_LEVEL = 2Code: Select all
service npcd restartAlso, I am not sure why npcd is in "/opt/app/nagios/bin/npcd"... It should be in "/usr/local/nagios/bin/npcd"...
Code: Select all
ps -ef|grep [n]pcd
nagios 1538 1 0 Jun15 ? 00:00:47 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfgBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: No perfdata.log
As to what has changed on the system, that is rather a long story and one of your colleagues has worked extensively with us to make the modifications to the install to work in our environment and install with our application installation tool. In our environment I do not have access to root and apparently one of the changes is the npcd was not configured as a service. I do have the rights to su to the nagios account, is it acceptable to simply kill the npcd daemon and restart it from the command line?
Re: No perfdata.log
Let's see if the processing of Performance Data is enabled.
In the Nagios GUI, click Admin > Monitoring Engine Status
In the Monitoring Engine Process Dashlet, make sure Performance Data is enabled.
If not enable it and see if the performance data starts to process.
In the Nagios GUI, click Admin > Monitoring Engine Status
In the Monitoring Engine Process Dashlet, make sure Performance Data is enabled.
If not enable it and see if the performance data starts to process.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: No perfdata.log
Monitoring engine is enabled. We were also able to stop and restart all nagios processes including the npcd deamon to get the LOG_LEVEL=1 setting enabled but nothing is getting logged. The entire contents of the npcd.log is:
[06-22-2015 10:35:45] NPCD: Caught Termination Signal - Hasta la vista... baby
[06-22-2015 10:37:26] NPCD: npcd Daemon (0.4.14) started with PID=117882
[06-22-2015 10:37:26] NPCD: Please have a look at 'npcd -V' to get license information
[06-22-2015 10:37:26] NPCD: HINT: load_threshold is enabled - ('10.000000')
[06-22-2015 10:35:45] NPCD: Caught Termination Signal - Hasta la vista... baby
[06-22-2015 10:37:26] NPCD: npcd Daemon (0.4.14) started with PID=117882
[06-22-2015 10:37:26] NPCD: Please have a look at 'npcd -V' to get license information
[06-22-2015 10:37:26] NPCD: HINT: load_threshold is enabled - ('10.000000')
Re: No perfdata.log
Could you post these files so we can review them?
Code: Select all
process_perfdata.cfg
nagios.cfgBe sure to check out our Knowledgebase for helpful articles and solutions!