No data
Posted: Sat Nov 28, 2015 1:24 pm
After implementing ssl on my personal website, the monitoring engine process dashlet and the monitoring engine event queue dashlets on my Nagios server no longer show data. Check out the screenshot:
I have a custom Apache configuration file:
It doesn't work with or without ssl. I know this is a not supported configuration but if I could get some advice how to troubleshoot this, I'm a bit stuck atm. Apart from those two dashlets everyhting seems to be working normally. I don't see any errors in the Apache errorlog, nor in the developer console.
EDIT: The apply configuration is also acting a bit weird. The apply configuration windows just keeps going:
but the cmdsubsystem says all is ok and when opening Nagios in another window the new configuration seems to be applied correctly.
I have a custom Apache configuration file:
Code: Select all
<VirtualHost *:80>
ServerName outsideit.net
DirectoryIndex index.html index.php
DocumentRoot /var/www/outsideit.net/public_html
LogLevel warn
ErrorLog /var/www/outsideit.net/log/error.log
CustomLog /var/www/outsideit.net/log/access.log combined
<Directory "/usr/local/nagiosxi/html">
Options None
AllowOverride None
Order deny,allow
Deny from all
Allow from xxxxx
Require all granted
# Redirect permanent / https://outsideit.net/
</Directory>
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order deny,allow
Deny from all
Allow from xxxxx
AuthName "Nagios Core"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
Require all denied
# Redirect permanent / https://outsideit.net/
</Directory>
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order deny,allow
Deny from all
Allow from xxxxx
AuthName "Nagios Core"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
Require all denied
# Redirect permanent / https://outsideit.net/
</Directory>
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile path
SSLCertificateKeyFile path
SSLCertificateChainFile path
Servername outsideit.net
DirectoryIndex index.html index.php
DocumentRoot /var/www/outsideit.net/public_html
SSLProtocol -All +TLSv1.2
# SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
LogLevel warn
ErrorLog /var/www/outsideit.net/log/error.log
CustomLog /var/www/outsideit.net/log/access.log combined
<Directory "/usr/local/nagiosxi/html">
Options None
AllowOverride None
Order deny,allow
Deny from all
Allow from xxxxx
Require all granted
</Directory>
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order deny,allow
Deny from all
Allow from xxxxx
AuthName "Nagios Core"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
Require all denied
</Directory>
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order deny,allow
Deny from all
Allow from xxxxx
AuthName "Nagios Core"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
Require all denied
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]
</IfModule>
</VirtualHost>
Alias /nagiosxi "/usr/local/nagiosxi/html"
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
Alias /nagios "/usr/local/nagios/share"
It doesn't work with or without ssl. I know this is a not supported configuration but if I could get some advice how to troubleshoot this, I'm a bit stuck atm. Apart from those two dashlets everyhting seems to be working normally. I don't see any errors in the Apache errorlog, nor in the developer console.
EDIT: The apply configuration is also acting a bit weird. The apply configuration windows just keeps going:
Code: Select all
Waiting for configuration verification........................................................................................................................................................................................................................Code: Select all
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 50
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
OUTPUT=RET: 0
RETURNCODE=0