Page 1 of 1

Performance graph not working

Posted: Tue Nov 24, 2020 4:23 am
by RebeccaIlene
Hi Team,

We performed patching of the servers recently and rebooted it after that the performance grapher service stopped in Nagios and won't start when I try to start it.

The ncpd service is not running.

[root@host ~]# service npcd status
NPCD not running.
[root@host ~]# service npcd start
An error occured while reading your config on line 0
Message was: "ERROR - Could not open config file - No such file or directory" Could not start NPCD

What can we do to start this?

Re: Performance graph not working

Posted: Tue Nov 24, 2020 6:30 pm
by benjaminsmith
Hi Rebecca,

That's odd. That shouldn't affect the npcd service. Let's make sure the configuration file is there with the correct permissions.

Please post the output to the following command.

Code: Select all

ls -l /usr/local/nagios/etc/pnp/npcd.cfg
-- Benjamin

Re: Performance graph not working

Posted: Tue Nov 24, 2020 8:47 pm
by RebeccaIlene
[root@host ~]# ls -l /usr/local/nagios/etc/pnp/npcd.cfg
ls: cannot access /usr/local/nagios/etc/pnp/npcd.cfg: No such file or directory

Re: Performance graph not working

Posted: Tue Nov 24, 2020 10:38 pm
by RebeccaIlene
looks like the file somehow got deleted.

I have recovered it from the backup and started the service now.

It worked.

You can close this case.

Re: Performance graph not working

Posted: Wed Nov 25, 2020 8:26 am
by scottwilkerson
RebeccaIlene wrote:looks like the file somehow got deleted.

I have recovered it from the backup and started the service now.

It worked.

You can close this case.
Great

Closing case