Nagios XI no performance graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI no performance graphs

Post by tgriep »

The path to the rrdtool in the process_perfdata.cfg file is in a different location than the default path.
This is what is in your file

Code: Select all

RRDTOOL = /bin/rrdtool
And this is the default

Code: Select all

RRDTOOL = /usr/bin/rrdtool
To find out where the rrdtool is installed on your system, run the following command

Code: Select all

whereis rrdtool
If the rrdtool binary is not in the /bin folder, edit the /usr/local/nagios/etc/pnp/process_perfdata.cfg file and adjust the path to the rrdtool.
Save the file and restart the daemons by running the following as root

Code: Select all

service npcd restart
service nagios restart
Wait for about 15 minutes and see if the graphs start to populate.

If not, run the following commands and upload the /tmp/info.txt file as an attachment to this post.

Code: Select all

whereis rrdtool  >/tmp/info.txt
ls -al /usr/local >>/tmp/info.txt
ls -alR /usr/local/nagios >>/tmp/info.txt
ls -alR /usr/local/nagiosxi >>/tmp/info.txt
tail -100  /usr/local/nagios/var/npcd.log  >>/tmp/info.txt
Be sure to check out our Knowledgebase for helpful articles and solutions!
mgrover
Posts: 14
Joined: Fri Dec 02, 2016 6:37 pm

Re: Nagios XI no performance graphs

Post by mgrover »

It is still not working.

Info.txt file is too large for forum pst. Uploading it as an attachment.

-Matt
You do not have the required permissions to view the files attached to this post.
Last edited by mgrover on Fri Jun 23, 2017 9:57 am, edited 2 times in total.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI no performance graphs

Post by dwhitfield »

Great, thanks!
mgrover
Posts: 14
Joined: Fri Dec 02, 2016 6:37 pm

Re: Nagios XI no performance graphs

Post by mgrover »

Any further ideas on what might be wrong?

I'm starting to wonder if a 'nuke it from orbit' solution might be called for. I didn't build this installation so I have no idea what might have been fouled up.
Hopefully you can learn something from the last set of voluminous output.

Thanks,
Matt
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI no performance graphs

Post by tgriep »

Can you post the following files

Code: Select all

/usr/local/nagios/libexec/process_perfdata.pl
/usr/local/nagios/libexec/process_perfdata.pl.old
It looks like the process_perfdata.pl script may not be the default copy and that is why it is not running.
By the looks of it, the .old copy should be the correct script, try and put it back and see if the graphs start up again.

I checked the date codes of the performance data files and when the script was changed, all of the performance data files stopped getting new data.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mgrover
Posts: 14
Joined: Fri Dec 02, 2016 6:37 pm

Re: Nagios XI no performance graphs

Post by mgrover »

It looks like that may have done the trick. Starting to see some perf graphs populating.

I think we can close this issue down.

Thanks!
Matt
Locked