Page 1 of 1

NAGIOS XI MONITORING ENGINE STATUS NOT WORKING PROBLEM

Posted: Mon Sep 02, 2024 9:52 am
by acorrea
I have problems with my NAGIOS XI when I apply configuration in CCM everything comes out fine but in DASHBOARD it doesn't update, could someone help me? I have Nagios 4.4.9 and Centos OS 7.9.2009


Nagios is running in the commands but in the status of the web user interface it tells me not working


I am attaching screenshots, please if you can help me with this

Re: NAGIOS XI MONITORING ENGINE STATUS NOT WORKING PROBLEM

Posted: Tue Sep 03, 2024 9:15 am
by gwesterman
Hi @acorrea,

There are a few potential causes and associated fixes:
1. Did you move the checkresults file? If so, try modifying your main nagios config file to point to the new location.
2. If the file is in the correct place, perhaps try setting the correct permissions:

Code: Select all

chown nagios.nagcmd /usr/local/nagios/var/spool/checkresults
chmod 775 /usr/local/nagios/var/spool/checkresults
chmod g+s /usr/local/nagios/var/spool/checkresults
3. If the file does not exist, try creating it and setting the correct permissions (same as above).
4. If this is an selinux issues (i.e. if it works with selinux in permissive mode), perhaps try a variation of what this user found to work.

Let us know if you need any additional assistance.

Thank you!

Re: NAGIOS XI MONITORING ENGINE STATUS NOT WORKING PROBLEM

Posted: Tue Sep 03, 2024 9:39 am
by lgute
Hi @acorrea, thanks for reaching out.

According to the Monitoring Engine Status, the Nagios service is not running. If you are still having issues, after trying the suggestions from @gwesterman ...
  • Check the /usr/local/nagios/var/nagios.log for more information about what is going on.
  • Verify your XI server has adequate free disk space. Probably not the issue, but assuring you have adequate disk space could prevent other issues.
You can check the status of the Nagios service with the following.

Code: Select all

systemctl status nagios
You can use restart the Nagios service using this command.

Code: Select all

systemctl restart nagios