Graph not displaying

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
anaigini45
Posts: 4
Joined: Wed Oct 24, 2012 2:17 am

Graph not displaying

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Graph not displaying

Post 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.
Former Nagios employee
https://www.mcapra.com/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Graph not displaying

Post by dwhitfield »

Thanks @mcapra

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