Tried installing pnp4nagios, broke performance grapher.
Tried installing pnp4nagios, broke performance grapher.
I tried installing pnp4nagios, and it's taken down my performance grapher entirely... I'm tried to revert back, but am having no luck getting the grapher back online, and need to get it up ASAP! Thank you in advance for any help.
Re: Tried installing pnp4nagios, broke performance grapher.
Installing pnp4nagios on Nagios XI is not supported. I would recommend reverting to a previous, working snapshot (before you install pnp4nagios).
CCM > Quick Tools > Configuration Snapshots > Restore
CCM > Quick Tools > Configuration Snapshots > Restore
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Tried installing pnp4nagios, broke performance grapher.
I did that, but the performance grapher is still error-ing out.
Re: Tried installing pnp4nagios, broke performance grapher.
This means that more files (not only the nagios config files) were affected by installing the pnp4nagios. Can you describe all of the steps you took and guides that you followed while installing the pnp4nagios? This can help us troubleshoot the issue.
Also, you could try fixing the issue by going to the pnp directory, and running the install script:
You will also need to look under the "/etc/httpd/conf.d" directory to see if you have any added (extra) configs for php4nagios.
P.S. Is your Nagios XI instance on a physical box or on a VM? If it's on a VM, do you have any snapshots, created before installing pnp4nagios?
Also, you could try fixing the issue by going to the pnp directory, and running the install script:
Code: Select all
cd /tmp/nagiosxi/subcomponents/pnp
./install
P.S. Is your Nagios XI instance on a physical box or on a VM? If it's on a VM, do you have any snapshots, created before installing pnp4nagios?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Tried installing pnp4nagios, broke performance grapher.
I used a couple guides:
https://geekpeek.net/pnp4nagios-centos-install/
https://docs.pnp4nagios.org/pnp-0.6/config
And I also referred to a forum post that:
https://support.nagios.com/forum/viewto ... 6&p=156443
I also tried running the /tmp/nagiosxi/subcomponents/pnp install script, but I do not have the /tmp/nagiosxi/subcomponents/ directory...
The server is a physical box, not a VM. I tried reverting to a snapshot from before the pnp4nagios install, but the graphing is still not working.
https://geekpeek.net/pnp4nagios-centos-install/
https://docs.pnp4nagios.org/pnp-0.6/config
And I also referred to a forum post that:
https://support.nagios.com/forum/viewto ... 6&p=156443
I also tried running the /tmp/nagiosxi/subcomponents/pnp install script, but I do not have the /tmp/nagiosxi/subcomponents/ directory...
The server is a physical box, not a VM. I tried reverting to a snapshot from before the pnp4nagios install, but the graphing is still not working.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Tried installing pnp4nagios, broke performance grapher.
To get that directory run this
Then here
If that doesn't work, we need to know exactly what was changed, and then I would suggest opening a ticket and send in your profile and we can look at the logs in it as will as some of the configuration.
Code: Select all
cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi
Code: Select all
cd /tmp/nagiosxi/subcomponents/pnp
./install
Re: Tried installing pnp4nagios, broke performance grapher.
Thank you for the reply. I installed the subcomponents directory and installed pnp, unfortunately it didn't do the trick.
I have removed all the pnp4nagios files/directories that came with the download, and reverted the nagios.cfg file. But, nothing is being sent to /usr/local/nagios/var/spool/perfdata. From the UI it shows that the performance grapher is working (green), and from each of the hosts and services it shows that perf data is at least being collected. Please advise on what logs would be helpful, thank you!
I have removed all the pnp4nagios files/directories that came with the download, and reverted the nagios.cfg file. But, nothing is being sent to /usr/local/nagios/var/spool/perfdata. From the UI it shows that the performance grapher is working (green), and from each of the hosts and services it shows that perf data is at least being collected. Please advise on what logs would be helpful, thank you!
Re: Tried installing pnp4nagios, broke performance grapher.
I actually just got it working... The pnp4nagios modified the commands.cfg file, specifically the process-service-perfdata-file and process-host-perfdata-file. They were both appended with "-bulk", once removed and the directories restored, performance graphing has resumed. Thank you for the help none the less!
Re: Tried installing pnp4nagios, broke performance grapher.
Reverting to a snapshot, prior to pnp4nagios install should have restored your modified commands... It is strange that this didn't work for you. In any case, I am glad that your issue has been resolved! Is it ok to lock this topic now?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Tried installing pnp4nagios, broke performance grapher.
That's what I thought as well, I'm not sure why it didn't work with the snapshot. I'm hoping there's not some more bugs lurking in the future... Anyways, thanks for the quick replies!