Page 1 of 1

Problem starting npcd and nagiosramdisk

Posted: Wed Jul 18, 2018 5:47 pm
by neo_infraestructura
Hi there,

I have reinstalled Nagios from a Virtual Machine to a Physical one. After, I loaded a backup and the npcd is showing an issue "Failed to read PID from file /usr/local/nagiosxi/var/subsys/npcd.pid: Invalid argument"
nagios1.jpg.png
And the log file of the ncpd doen't show much.
nagios2.png
In google I doesn't find much information. What could be the problem?

Re: Problem starting npcd and nagiosramdisk

Posted: Thu Jul 19, 2018 1:38 am
by neo_infraestructura
hello?

Re: Problem starting npcd and nagiosramdisk

Posted: Thu Jul 19, 2018 7:28 am
by scottwilkerson
The pid error is not a problem and npcd is actually running

The other error is actually an issue and shows the load is currently quite high, you can adjust the setting in
/usr/local/nagios/etc/pnp/npcd.cfg and modify the following

Code: Select all

load_threshold = 10.0
I would recommend setting this no higher the 10X the number of processors in the system, so if you have 8 use 80.

Then restart npcd

Code: Select all

service npcd restart

Re: Problem starting npcd and nagiosramdisk

Posted: Thu Jul 19, 2018 12:58 pm
by neo_infraestructura
Y change the value you said. Now the XI System Component Status is all green, but the Monitoring Engine Process still not working.
nagios2.png

If I check the /var/log/messages it shows a Warning from the ndo2db
nagios1.png

Re: Problem starting npcd and nagiosramdisk

Posted: Thu Jul 19, 2018 1:30 pm
by scottwilkerson
Please open a support ticket here
https://support.nagios.com/tickets/

Provide a link to this thread along with a profile.zip from Admin -> System Profile

Thanks