Page 3 of 3

Re: Nagios XI no performance graphs

Posted: Tue Jun 20, 2017 9:53 am
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

Re: Nagios XI no performance graphs

Posted: Tue Jun 20, 2017 3:09 pm
by mgrover
It is still not working.

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

-Matt

Re: Nagios XI no performance graphs

Posted: Tue Jun 20, 2017 3:19 pm
by dwhitfield
Great, thanks!

Re: Nagios XI no performance graphs

Posted: Thu Jun 22, 2017 4:31 pm
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

Re: Nagios XI no performance graphs

Posted: Fri Jun 23, 2017 11:42 am
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.

Re: Nagios XI no performance graphs

Posted: Mon Jun 26, 2017 1:32 pm
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