lose the UI for a few minutes, constantly

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
DMKatIBM
Posts: 22
Joined: Thu Jan 11, 2018 3:41 pm

Re: lose the UI for a few minutes, constantly

Post by DMKatIBM »

Directory is empty. But this problem only started recently (it was always empty, even when this wasn't happening):

Code: Select all

[root@dal10-build-Nagios ~]# ls -l /var/www/html
total 0
[root@dal10-build-Nagios ~]# ls -ld /var/www/html
drwxr-xr-x. 2 root root 4096 Oct  3 08:37 /var/www/html
[root@dal10-build-Nagios ~]# 
Here's the conf file:

Code: Select all

# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file.  Customize the paths, etc. as
# needed to fit your system.

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"

<Directory "/usr/local/nagios/sbin">
#  SSLRequireSSL
   Options ExecCGI
   AllowOverride None
   <IfVersion >= 2.3>
      <RequireAll>
         Require all granted
#        Require host 127.0.0.1

         AuthName "Nagios Access"
         AuthType Basic
         AuthUserFile /usr/local/nagios/etc/htpasswd.users
         Require valid-user
      </RequireAll>
   </IfVersion>
   <IfVersion < 2.3>
      Order allow,deny
      Allow from all
#     Order deny,allow
#     Deny from all
#     Allow from 127.0.0.1

      AuthName "Nagios Access"
      AuthType Basic
      AuthUserFile /usr/local/nagios/etc/htpasswd.users
      Require valid-user
   </IfVersion>
</Directory>

Alias /nagios "/usr/local/nagios/share"

<Directory "/usr/local/nagios/share">
#  SSLRequireSSL
   Options None
   AllowOverride None
   <IfVersion >= 2.3>
      <RequireAll>
         Require all granted
#        Require host 127.0.0.1

         AuthName "Nagios Access"
         AuthType Basic
         AuthUserFile /usr/local/nagios/etc/htpasswd.users
         Require valid-user
      </RequireAll>
   </IfVersion>
   <IfVersion < 2.3>
      Order allow,deny
      Allow from all
#     Order deny,allow
#     Deny from all
#     Allow from 127.0.0.1

      AuthName "Nagios Access"
      AuthType Basic
      AuthUserFile /usr/local/nagios/etc/htpasswd.users
      Require valid-user
   </IfVersion>
</Directory>
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: lose the UI for a few minutes, constantly

Post by npolovenko »

@DMKatIBM, Please open up the /usr/local/nagios/etc/cgi.cfg file, and find the refresh_rate option. It controls how fast the status cgi updates. It may be taking too long for Nagios to update all the status CGI's, so please increase that value:

Code: Select all

# REFRESH RATE
# This option allows you to specify the refresh rate in seconds
# of various CGIs (status, statusmap, extinfo, and outages).

refresh_rate=90
Also, please run the following command and post the output:

Code: Select all

ps -ef 
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
DMKatIBM
Posts: 22
Joined: Thu Jan 11, 2018 3:41 pm

Re: lose the UI for a few minutes, constantly

Post by DMKatIBM »

I ended up bumping up the timeout in ssl.conf (doubling the default of what is listed here):

SSLSessionCache shmcb:/run/httpd/sslcache(512000)
SSLSessionCacheTimeout 300

Which appears to have resolved the problem.

Thanks for all the suggestions provided.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: lose the UI for a few minutes, constantly

Post by scottwilkerson »

glad it is resolved
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked