Tried installing pnp4nagios, broke performance grapher.
Re: Tried installing pnp4nagios, broke performance grapher.
I just added two new hosts and associated services, and the performance graphs are not being generated. The perfdata is being collected, I can see it in the "advanced" tab of the web interface, but no graphs are being generated. I restarted NPCD, but that was not successful either.
Re: Tried installing pnp4nagios, broke performance grapher.
It will take approximately 15-20 min before performance graphs start showing up. What do you mean by saying: "I restarted NPCD, but that was not successful either."? You are still not seeing graphs after NPCD was restarted or NPCD is not running?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Tried installing pnp4nagios, broke performance grapher.
And actually I jumped the gun, the performance graphing actually only came back briefly for all hosts/services. I'm back to square one...
Re: Tried installing pnp4nagios, broke performance grapher.
I realize there is a delay before graphs engage, what I'm saying is that it appeared that all graphs were coming back up with current data, but as of 1.5 hrs ago the graphs are no longer getting data. I am still not seeing graphs after NPCD was restarted.
Re: Tried installing pnp4nagios, broke performance grapher.
It is possible that the npcd stopped running. This could happen if the system load exceeds the "load_threshold" value, that is set in the "/usr/local/nagios/etc/pnp/npcd.cfg" (default is 10.0). What is the load on the system? Run the following command and show the output:
You can increase this value, provided you have enough resources - 20.0 for dual core CPU, 40.0 for quad core, etc.
Do you have many spooled perfdata files in the perfdata or xidpe directory? Run the following commands, and show the output:
You can increase temporarily the verbosity in the "/usr/local/nagios/etc/pnp/process_perfdata.cfg" and the "/usr/local/nagios/etc/pnp/npcd.cfg" file, then post the logs on the forum for further troubleshooting.
For more information on how to increase logging verbosity, please review ou r"Nagios XI - Performance Graph Problems" KB article here:
https://support.nagios.com/kb/article/n ... ems-9.html
Code: Select all
uptimeDo you have many spooled perfdata files in the perfdata or xidpe directory? Run the following commands, and show the output:
Code: Select all
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -lFor more information on how to increase logging verbosity, please review ou r"Nagios XI - Performance Graph Problems" KB article here:
https://support.nagios.com/kb/article/n ... ems-9.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Tried installing pnp4nagios, broke performance grapher.
Code: Select all
[nagios@server ~]$ uptime
17:08:38 up 3:30, 1 user, load average: 1.20, 0.96, 0.73Code: Select all
[nagios@server ~]$ ls /usr/local/nagios/var/spool/perfdata/ | wc -l
0
[nagios@server ~]$ ls /usr/local/nagios/var/spool/xidpe/ | wc -l
0You do not have the required permissions to view the files attached to this post.
Re: Tried installing pnp4nagios, broke performance grapher.
The backend is now showing an error. I ran the repair_databases command, it it ran with no errors. I'm looking through /var/log/mariadb/mariadb.log right now, would it be helpful to post that as well?
Re: Tried installing pnp4nagios, broke performance grapher.
If you don't see any errors/crashed tables, you don't need to.I'm looking through /var/log/mariadb/mariadb.log right now, would it be helpful to post that as well?
The perfdata.log and npcd.log looked fine - I don't see any issues there. As far as tha backend errors, try running:
Code: Select all
service nagios stop
service ndo2db stop
rm -f /usr/local/nagios/var/ndo.sock
service ndo2db start
service nagios startCode: Select all
service nagios status
service ndo2db status
service npcd status
service mariadb status
service crond statusBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Tried installing pnp4nagios, broke performance grapher.
That got the backend up, thank you. We had a power outage last night, and the UPS didn't completely cover it, that is when the database started having errors, at restart - so that's a separate issue from this post all together, ugg. Thanks again.
I'll give the performance grapher more time, but as of right now it is not actually graphing even though it's all green lights on the UI.
I'll give the performance grapher more time, but as of right now it is not actually graphing even though it's all green lights on the UI.
Re: Tried installing pnp4nagios, broke performance grapher.
Can you PM me (or anyone else on the Nagios Support team) your profile? We will check to see if there are any clues in logs and configs to what might be wrong with perfgraphs.
Admin > System Profile > Download Profile
Admin > System Profile > Download Profile
Be sure to check out our Knowledgebase for helpful articles and solutions!