Gateway timeout when trying to view Snapshot and Maintenance page

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Post Reply
JesseLambBDK
Posts: 7
Joined: Tue Nov 15, 2022 9:42 am

Gateway timeout when trying to view Snapshot and Maintenance page

Post by JesseLambBDK »

I am receiving a 504 gateway and timeout page when trying to access the Snapshot and Maintenance page. I have tried the steps found in other timeout threads on adding

Timeout 600
RequestReadTimeout header=600,minrate=50
RequestReadTimeout body=600,minrate=50
<Proxy "unix:/run/php-fpm/www.sock|fcgi://localhost">
ProxySet timeout=600
</Proxy>

to the php.conf file and restarting the httpd service. That page still times out. Any suggestions?
You do not have the required permissions to view the files attached to this post.
User avatar
jmichaelson
Posts: 117
Joined: Wed Aug 23, 2023 1:02 pm

Re: Gateway timeout when trying to view Snapshot and Maintenance page

Post by jmichaelson »

Edit /var/www/html/nagioslogserver/application.config/config.php. around line 226, replace $config['log_threshold'] = 0; with $config['log_threshold'] = 1; The number can go all the way up to 4 per the comments above it, depending on how verbose you want the logging to be. Lets start with 1 for just error messages. The log files then will be in /var/www/html/nagioslogserver/applicaton/logs. You can scan them for errors when you're looking at that page, or post here for more help.
Please let us know if you have any other questions or concerns.

-Jason
Post Reply