Page 1 of 1

Reports Errors

Posted: Tue Jan 23, 2018 10:28 am
by TCBeekley
Hello All!

I'm having an issue with the reports section. I can't run any reports, there's an error saying "Reports aren't available while the monitoring engine isn't running" but everything is running as expected. I also, can't run any legacy reports saying it can't open the cgi file. But the file is there and the permissions seem to be okay. There have been no changes to the system, no upgrades or anything like that. Nagios XI version 5.4.5

/usr/local/nagios/etc
-rw-rw-r-- 1 apache nagios 5.1K Jan 18 04:04 cgi.cfg


Thoughts??

Re: Reports Errors

Posted: Tue Jan 23, 2018 2:47 pm
by lmiltchev
First, let's restart services to see if this is going to fix the issue:

Code: Select all

service nagios stop
service ndo2db restart
service nagios start
service ndo2db status
service nagios status
service httpd restart
service httpd status
If you are still having issues after restarting the services, send the profile.zip (Admin > System Profile > Download Profile) to any member of the Nagios Support team via PM. We will need to look into the log files in order to further troubleshoot the issue.

Also, run the following commands and show the output:

Code: Select all

chage nagios -l
chage apache -l
grep nag /etc/group
The above commands will show us if nagios or apache user is expired, and if the apache user is added to the nagios and nagcmd group.