Page 1 of 1

Graph not displaying

Posted: Wed Oct 25, 2017 8:25 am
by anaigini45
Hi,

The nagios graph is not displaying for all servers and services which are monitored with this tool.
To resolve this issue, I normally just restart the npcd service, and the graphs get generated again.
However, this time, even after restarting, the problem is still the same. These are the commands that I have used to restart the npcd service :

# /usr/local/pnp4nagios/bin/npcd -d -f /usr/local/pnp4nagios/etc/npcd.cfg >>>>>This did not work

>>>> These did not work
# service nagios stop
# service nagios start
# service npcd stop
# service npcd start

#service npcd restart >>>>>Also did not work

How do I resolve this problem?

Re: Graph not displaying

Posted: Wed Oct 25, 2017 9:32 am
by mcapra
Can you share your npcd and perfdata logs? Unfortunately I cannot tell you where to find them as I do not know how NPCD or PNP4Nagios was setup on your machine. They're typically called perfdata.log and npcd.log. If you can share the documentation you use, that would be helpful.

Re: Graph not displaying

Posted: Wed Oct 25, 2017 11:38 am
by dwhitfield
Thanks @mcapra

Assuming you have the default file names, the following should help you locate the file path: find / -name npcd.log