Page 1 of 1
daemons nagios (Monitoring Engine) stopped, npcd (Performanc
Posted: Tue Jul 10, 2018 4:29 pm
by smapple
I am monitoring Nagios via nagios:
I was trying to upgrade the nagiosxi and it failed.
However the other nagios server is failing to make this check,please suggest?
[
[email protected] ~]$ /usr/bin/php /usr/local/nagios/libexec/check_nagiosxiserver.php --address=nagiosxi.apple.com --url=
http://nagiosxi.apple.com/nagiosxi/ --username=nagiosadmin --ticket="6iov285f" --mode=daemons nagios (Monitoring Engine) stopped, npcd (Performance Grapher) stopped, ndo2db (Database Backend) stopped
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Tue Jul 10, 2018 4:32 pm
by smapple
Nagios XI Daemons
nagios (Monitoring Engine) stopped, npcd (Performance Grapher) stopped, ndo2db (Database Backend) stopped
Nagios XI Jobs
Report Engine (reportengine) stale (1176 seconds old), Report Engine (reportengine) stale (1176 seconds old), System Statistics (sysstat) stale (1126 seconds old), System Statistics (sysstat) stale (1126 seconds old), Event Manager (eventman) stale (996 s) stopped
Can you tell me how do I restart these?
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Tue Jul 10, 2018 4:36 pm
by smapple
This is critical, Can you please suggest what do I do?
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Tue Jul 10, 2018 4:55 pm
by smapple
I am trying to start the monitoring engine and others. I get an error , screenshot attached. PLease do let me know if im missing out something?
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Tue Jul 10, 2018 4:59 pm
by cdienger
Try restaring everything from the command line:
Note you ***must*** use mariadb instead of mysqld in the commands below, ***if*** you have mariadb.
service nagios stop
service ndo2db stop
service mysqld stop
service crond stop
service httpd stop
killall -9 nagios
killall -9 ndo2db
rm -f /usr/local/nagios/var/rw/nagios.cmd
rm -f /usr/local/nagios/var/nagios.lock
rm -f /usr/local/nagios/var/ndo.sock
rm -f /usr/local/nagios/var/ndo2db.lock
rm -f /usr/local/nagiosxi/var/reconfigure_nagios.lock
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
service mysqld start
service ndo2db start
service nagios start
service httpd start
service crond start
If this does not resolve the problem, please PM a profile from the XI machine which can be generated under Admin > System Config > System Profile > Download System Profile.
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Tue Jul 10, 2018 5:04 pm
by smapple
Trying out right away
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Tue Jul 10, 2018 5:12 pm
by smapple
Everything worked.. apart from the below:
[sadmin@nagiosxi ~]$ sudo service nagios start
Starting nagios: su: cannot set user id: Resource temporarily unavailable
ERROR: Could not create or update '/usr/local/nagios/var/nagios.configtest'
I have added the profile.zip here from admin > system config > system profile
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Tue Jul 10, 2018 5:28 pm
by smapple
Can you login and check? instead of messages for this one?
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Tue Jul 10, 2018 5:54 pm
by smapple
Hi , Any resolution to the below?
Re: daemons nagios (Monitoring Engine) stopped, npcd (Perfor
Posted: Wed Jul 11, 2018 9:28 am
by cdienger
Is the Nagios process still unable to start with the same error message? redhat has an article on how to troubleshoot that that I'd like you to go through and provide the results from if it doesn't help resolve the problem:
https://access.redhat.com/solutions/30316
Please be aware our hours are 9-5 Central time Monday through Thursday and 9-2 on Friday:
https://www.nagios.com/contact/
Also feel free to open a ticket at nagios.com/tickets/ for any high severity issues. The forum threads follow the same SLA, but the steps to troubleshoot may require communicating sensitive info that is best transferred via the ticketing system.