[Report] * is not available when monitoring engine is

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lvaillant
Posts: 57
Joined: Mon Jun 06, 2016 2:47 am
Location: Paris, France

[Report] * is not available when monitoring engine is

Post by lvaillant »

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:
Capture.PNG
But all Nagios subparts seem to be ok:
Capture1.PNG
Scheduled reports are partially ok :
somes are ok, others ones are incomplete :
Capture2.PNG
Thoughts ?
Thank you.
You do not have the required permissions to view the files attached to this post.
Loïc VAILLANT
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: [Report] * is not available when monitoring engine is

Post by ssax »

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?

Code: Select all

ls -lh /usr/local/nagios/var/nagios.log
ls -lh /usr/local/nagios/var/archives/
sestatus
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.
lvaillant
Posts: 57
Joined: Mon Jun 06, 2016 2:47 am
Location: Paris, France

Re: [Report] * is not available when monitoring engine is

Post by lvaillant »

Hello

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.log

Code: 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.log

Code: Select all

# sestatus
SELinux status:                 disabled
Tried to "update user" without modification.
Same behavior.

Regards.
Loïc VAILLANT
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: [Report] * is not available when monitoring engine is

Post by pbroste »

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.
  • 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
Thanks,
Perry
lvaillant
Posts: 57
Joined: Mon Jun 06, 2016 2:47 am
Location: Paris, France

Re: [Report] * is not available when monitoring engine is

Post by lvaillant »

Hello @pbroste

Profile sent via PM
Regards.

Loïc V.
Loïc VAILLANT
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: [Report] * is not available when monitoring engine is

Post by pbroste »

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.

Code: Select all

/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
And:

Code: 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/*
Please send over the '/tmp/results.tar.gz' when you get a chance.

Thanks,
Perry
Locked