Hello,
Since I updated Nagios XI to the lastest 5.8.7 version (RHEL 7.4), reports are no more available.
Manually generating any reports, I get the same message:
But all Nagios subparts seem to be ok:
Scheduled reports are partially ok :
somes are ok, others ones are incomplete :
Thoughts ?
Thank you.
[Report] * is not available when monitoring engine is
[Report] * is not available when monitoring engine is
You do not have the required permissions to view the files attached to this post.
Loïc VAILLANT
Re: [Report] * is not available when monitoring engine is
If the files under /usr/local/nagios/var/archives are compressed or permissions are off on them or the /usr/local/nagios/var/nagios.log you can see that issue.
What is the output of these commands?
Try going editing any user in Admin > Manage Users, don't change anything just click the Update User button, that will rewrite the /usr/local/nagios/etc/cgi.cfg, and can also fix this issue. Then go try the report again.
What is the output of these commands?
Code: Select all
ls -lh /usr/local/nagios/var/nagios.log
ls -lh /usr/local/nagios/var/archives/
sestatus
Re: [Report] * is not available when monitoring engine is
Hello
Tried to "update user" without modification.
Same behavior.
Regards.
Code: Select all
# ls -lh /usr/local/nagios/var/nagios.log
-rw-r--r-- 1 nagios nagios 8.8M Feb 8 11:24 /usr/local/nagios/var/nagios.logCode: Select all
# ls -lhd /usr/local/nagios/var/archives/
drwxrwxr-x 2 nagios nagios 84K Feb 7 23:59 /usr/local/nagios/var/archives/
# ls -lhrt /usr/local/nagios/var/archives/
...
-rw-r--r-- 1 nagios nagios 15M Feb 1 23:59 nagios-02-02-2022-00.log
-rw-r--r-- 1 nagios nagios 13M Feb 2 23:59 nagios-02-03-2022-00.log
-rw-r--r-- 1 nagios nagios 10M Feb 3 23:59 nagios-02-04-2022-00.log
-rw-r--r-- 1 nagios nagios 9.8M Feb 5 00:00 nagios-02-05-2022-00.log
-rw-r--r-- 1 nagios nagios 9.5M Feb 5 23:59 nagios-02-06-2022-00.log
-rw-r--r-- 1 nagios nagios 13M Feb 6 23:59 nagios-02-07-2022-00.log
-rw-r--r-- 1 nagios nagios 11M Feb 7 23:59 nagios-02-08-2022-00.logCode: Select all
# sestatus
SELinux status: disabledSame behavior.
Regards.
Loïc VAILLANT
Re: [Report] * is not available when monitoring engine is
Hello @lvaillant
Thanks for following up, want to take a look at your Nagios XI System Profile so we can see what is going on.
To send us your system profile.
Perry
Thanks for following up, want to take a look at your Nagios XI System Profile so we can see what is going on.
To send us your system profile.
- Login to the Nagios XI GUI using a web browser.
- Click the "Admin" > "System Profile" Menu
- Click the "Download Profile" button
- Save the profile.zip file send via Private Message
Perry
Re: [Report] * is not available when monitoring engine is
Hello @lvaillant
Thanks for following up and sending over the System Profile. The snapshot on the System Profile did not pick up much logging for reporting so I am not able to see much. Want to have you go ahead and run the 'reconfigure script' and follow up with the additional request.
And:
Please send over the '/tmp/results.tar.gz' when you get a chance.
Thanks,
Perry
Thanks for following up and sending over the System Profile. The snapshot on the System Profile did not pick up much logging for reporting so I am not able to see much. Want to have you go ahead and run the 'reconfigure script' and follow up with the additional request.
Code: Select all
/usr/local/nagiosxi/scripts/reconfigure_nagios.shCode: Select all
grep -Eir 'availability.php|availability.cgi' -A 10 -B 10 /usr/local/* > /tmp/results.txt && tar -czvf /tmp/results.tar.gz /tmp/results.txt /var/log/httpd/*Thanks,
Perry