Page 1 of 2

Unable to find acknowledgement option

Posted: Mon Aug 24, 2020 7:22 am
by kalyanpabolu
Hi Team,

We want to acknowledge few critical services monitored in nagiosxi. we are unable to find any acknowledgement option in the services.
Nagiosxi version 5.7.2
I am attaching the screen shot of the service . please help on the same.

Re: Unable to find acknowledgement option

Posted: Mon Aug 24, 2020 5:16 pm
by benjaminsmith
Hi,

Welcome to the support forum! That's interesting behavior, something isn't loading in the page correctly, can you run the following tail command, and then reload the page? Please post the full output to the thread.

Code: Select all

tail -f /var/log/httpd/*error_log
Additionally, can you PM your system profile for us to review.?

Thanks,
Benjamin

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 and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.

Re: Unable to find acknowledgement option

Posted: Tue Aug 25, 2020 12:08 am
by kalyanpabolu
Hello,

Below is the output:

[root@vmaz-nagiosxi ~]# tail -f /var/log/httpd/*error_log
==> /var/log/httpd/error_log <==
[Tue Aug 25 05:00:43.690211 2020] [proxy_fcgi:error] [pid 3685873:tid 139804113094400] (70007)The timeout specified has expired: [client 10.1.0.218:45524] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 05:07:50.611355 2020] [proxy_fcgi:error] [pid 3685873:tid 139803500721920] (70007)The timeout specified has expired: [client 10.1.0.218:45650] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 05:34:59.808703 2020] [proxy_fcgi:error] [pid 3685873:tid 139803500721920] (70007)The timeout specified has expired: [client 10.1.0.218:46158] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 05:37:44.580382 2020] [proxy_fcgi:error] [pid 3685873:tid 139803525900032] (70007)The timeout specified has expired: [client 10.1.0.218:46202] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 06:46:51.209722 2020] [proxy_fcgi:error] [pid 3685368:tid 139803886589696] (70007)The timeout specified has expired: [client 10.1.0.218:47470] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 07:46:32.911318 2020] [proxy_fcgi:error] [pid 3685873:tid 139804087916288] (70007)The timeout specified has expired: [client 10.1.0.218:48566] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 07:49:07.724774 2020] [proxy_fcgi:error] [pid 3685873:tid 139804689917696] (70007)The timeout specified has expired: [client 10.1.0.218:48610] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 08:22:04.852051 2020] [proxy_fcgi:error] [pid 3685367:tid 139803517507328] (70007)The timeout specified has expired: [client 10.1.0.218:49200] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 08:36:02.269730 2020] [proxy_fcgi:error] [pid 3685368:tid 139804423460608] (70007)The timeout specified has expired: [client 10.1.0.218:49454] AH01075: Error dispatching request to : (polling)
[Tue Aug 25 08:51:26.735729 2020] [proxy_fcgi:error] [pid 3685367:tid 139804557678336] (70007)The timeout specified has expired: [client 10.1.0.218:49752] AH01075: Error dispatching request to : (polling)

==> /var/log/httpd/ssl_error_log <==
[Sun Aug 23 03:20:04.730764 2020] [ssl:warn] [pid 595582:tid 140416814074176] AH01906: fe80::20d:3aff:feb6:f7ce:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Aug 23 03:20:04.730817 2020] [ssl:warn] [pid 595582:tid 140416814074176] AH01909: fe80::20d:3aff:feb6:f7ce:443:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 24 14:28:04.333446 2020] [ssl:warn] [pid 3685358:tid 139805332040000] AH01906: fe80::20d:3aff:feb6:f7ce:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Aug 24 14:28:04.333796 2020] [ssl:warn] [pid 3685358:tid 139805332040000] AH01909: fe80::20d:3aff:feb6:f7ce:443:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 24 14:28:04.869289 2020] [ssl:warn] [pid 3685358:tid 139805332040000] AH01906: fe80::20d:3aff:feb6:f7ce:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Aug 24 14:28:04.869308 2020] [ssl:warn] [pid 3685358:tid 139805332040000] AH01909: fe80::20d:3aff:feb6:f7ce:443:0 server certificate does NOT include an ID which matches the server name
^C
[root@vmaz-nagiosxi ~]#


I am attaching the system profile in your PM.

Re: Unable to find acknowledgement option

Posted: Tue Aug 25, 2020 2:55 pm
by benjaminsmith
Hi,

I don't see the PM coming through with the system profile; can you try to send this once more?

In the meantime, it looks like you are using Cent 8, is this correct? If so, try to restart php-fpm:

Code: Select all

systemctl restart php-fpm
Then try adding these to the bottom of your /etc/httpd/conf/httpd.conf:

Code: Select all

TimeOut 300
ProxyTimeout 300
Then restart apache and test again:

Code: Select all

systemctl restart httpd

Re: Unable to find acknowledgement option

Posted: Wed Sep 02, 2020 12:07 pm
by kalyanpabolu
Hello,

We have executed the above commands.

PFA the profile in your PM.

Re: Unable to find acknowledgement option

Posted: Thu Sep 03, 2020 12:37 pm
by benjaminsmith
Hi,

Thank you for the system profile. It looks like it's timing out before it can finish loading the page. Let's increase some of the default values to allow more time. Please follow the steps in the KB article below, to optimize the PHP settings on your server.

Nagios XI - Optimizing The PHP Settings File

Next, open up /etc/httpd/conf/httpd.conf and add the following values at the end of the file.

Code: Select all

Timeout 600
ProxyTimeout 600
Then restart Apache. The commands below are for Cent / RHEl and may need adjusting for other distributions.

Code: Select all

systemctl restart httpd
Then test the page again and let me know if the issue is resolved.

Benjamin

Re: Unable to find acknowledgement option

Posted: Sun Sep 06, 2020 2:23 am
by kalyanpabolu
Hello,

I have added the values at the end of the file.

#EnableMMAP off
EnableSendfile on

# Supplemental configuration
#
# Load config files in the "/etc/httpd/conf.d" directory, if any.
IncludeOptional conf.d/*.conf

Timeout 600
ProxyTimeout 600
[root@vmaz-nagiosxi ~]#

After making the changes, we waited for an hour and checked again, still we cant see them.

One more thing to update here, when we login using admin credentials, we are able to see the "acknowledgement" part. But, when we login with other user having the same privileges as admin, still we cannot see the "acknowledgement" part.

Any specific reason behind it?

Re: Unable to find acknowledgement option

Posted: Tue Sep 08, 2020 4:40 pm
by benjaminsmith
Hi,

Can you load the page again and let me know if you're still seeing the timeout error from before. Did you increase the PHP settings as described in the kb article?

Code: Select all

[Tue Aug 25 05:00:43.690211 2020] [proxy_fcgi:error] [pid 3685873:tid 139804113094400] (70007)The timeout specified has expired: [client 10.1.0.218:45524] AH01075: Error dispatching request to : (polling)
As to why it's working on the admin account but a user with similar privileges. Are you using AD import or are these users created locally? Please log in as root and run the following to check and repair the databases.

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh

Re: Unable to find acknowledgement option

Posted: Tue Sep 15, 2020 11:42 am
by kalyanpabolu
Hello,

Yes, we have made the changes in php file. Also, DB repair was performed but, I still cannot see that option.

Re: Unable to find acknowledgement option

Posted: Wed Sep 16, 2020 9:26 am
by benjaminsmith
Hi,

Thanks for making those changes. Let's double-check the user permissions. Can you post the screenshot of the other user? Go to Admin > Manage Users and click on the user account. Do you have Can control all hosts and services option set? If not, please enable that and test again.
security-settings.png
Regards,
Benjamin