Hi All,
I am new to Nagios and am having a problem with a new installation.
OpenSUSE Leap 15.1
Installed Nagios from OpenSUSE repos (ie. from binaries)
When I open the UI, my screen looks like this.
Could someone please point me to where I should be looking for the issue?
TIA.
Problem with UI - OpenSUSE Leap 15.1
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with UI - OpenSUSE Leap 15.1
Sorry to hear you are having trouble.
We don't manage these packages, but if you remove the packages I can give you instructions from installing from source
https://support.nagios.com/kb/article/n ... ce-96.html
We don't manage these packages, but if you remove the packages I can give you instructions from installing from source
https://support.nagios.com/kb/article/n ... ce-96.html
Re: Problem with UI - OpenSUSE Leap 15.1
Hi Scott,
Thank you for the reply.
I followed your advice and removed the RPM packages.
I then installed from source (version 4.4.5).
Unfortunately, I had exactly the same result.
Do you have any idea where I can start looking?
TIA.
Thank you for the reply.
I followed your advice and removed the RPM packages.
I then installed from source (version 4.4.5).
Unfortunately, I had exactly the same result.
Do you have any idea where I can start looking?
TIA.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with UI - OpenSUSE Leap 15.1
Can you share the nagios.conf apache configuration file that was created?
also can you show the output of the following
also can you show the output of the following
Code: Select all
ls -al /usr/local/nagios/share
Re: Problem with UI - OpenSUSE Leap 15.1
Hi Scott,
Thank you for your assistance.
Details as requested.
Contents of /etc/apache2/vhosts.d/nagios.conf
Thank you for your assistance.
Details as requested.
Contents of /etc/apache2/vhosts.d/nagios.conf
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>
Code: Select all
backup:/usr/local/nagios/share # ls -la
total 144
drwxrwxr-x 15 nagios nagios 4096 Feb 28 23:29 .
drwxr-xr-x 8 root root 75 Feb 28 22:53 ..
drwxrwxr-x 4 nagios nagios 88 Feb 28 23:29 angularjs
drwxrwxr-x 3 nagios nagios 17 Feb 28 22:52 bootstrap-3.3.7
-rw-rw-r-- 1 nagios nagios 576 Feb 28 23:29 config.inc.php
drwxrwxr-x 2 nagios nagios 4096 Feb 28 23:29 contexthelp
drwxrwxr-x 2 nagios nagios 23 Feb 28 23:29 d3
drwxrwxr-x 3 nagios nagios 20 Feb 28 22:52 docs
-rw-rw-r-- 1 nagios nagios 879 Feb 28 23:29 graph-header.html
-rw-rw-r-- 1 nagios nagios 4135 Feb 28 23:29 histogram-form.html
-rw-rw-r-- 1 nagios nagios 5579 Feb 28 23:29 histogram-graph.html
-rw-rw-r-- 1 nagios nagios 2370 Feb 28 23:29 histogram-links.html
-rw-rw-r-- 1 nagios nagios 2854 Feb 28 23:29 histogram.html
drwxr-xr-x 3 nagios nagios 4096 Feb 28 23:29 images
drwxrwxr-x 2 nagios nagios 27 Feb 28 23:29 includes
-rw-rw-r-- 1 nagios nagios 1933 Feb 28 23:29 index.php
-rw-rw-r-- 1 nagios nagios 1660 Feb 28 23:29 infobox.html
drwxrwxr-x 2 nagios nagios 4096 Feb 28 23:29 js
-rw-rw-r-- 1 nagios nagios 1180 Feb 28 23:29 jsonquery.html
drwxr-xr-x 4 root root 26 Feb 28 23:16 locale
-rw-rw-r-- 1 nagios nagios 9301 Feb 28 23:29 main.php
-rw-rw-r-- 1 nagios nagios 2015 Feb 28 23:29 map-directive.html
-rw-rw-r-- 1 nagios nagios 3838 Feb 28 23:29 map-form.html
-rw-rw-r-- 1 nagios nagios 623 Feb 28 23:29 map-links.html
-rw-rw-r-- 1 nagios nagios 1723 Feb 28 23:29 map-popup.html
-rw-rw-r-- 1 nagios nagios 4383 Feb 28 23:29 map.php
drwxrwxr-x 2 nagios nagios 6 Feb 28 22:52 media
-rw-rw-r-- 1 nagios nagios 26 Feb 28 23:29 robots.txt
-rw-rw-r-- 1 nagios nagios 6193 Feb 28 23:29 side.php
drwxrwxr-x 2 nagios nagios 25 Feb 28 23:29 spin
drwxrwxr-x 2 nagios nagios 6 Feb 28 22:52 ssi
drwxr-xr-x 2 nagios nagios 4096 Feb 28 23:29 stylesheets
-rw-rw-r-- 1 nagios nagios 4245 Feb 28 23:29 trends-form.html
-rw-rw-r-- 1 nagios nagios 4256 Feb 28 23:29 trends-graph.html
-rw-rw-r-- 1 nagios nagios 852 Feb 28 23:29 trends-host-yaxis.html
-rw-rw-r-- 1 nagios nagios 3586 Feb 28 23:29 trends-links.html
-rw-rw-r-- 1 nagios nagios 1065 Feb 28 23:29 trends-service-yaxis.html
-rw-rw-r-- 1 nagios nagios 2990 Feb 28 23:29 trends.html
backup:/usr/local/nagios/share #
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with UI - OpenSUSE Leap 15.1
First can you clear the cache on your browser and try again
If you still have the same issue you you post the output of
Finally, you may need to open the development tools in your browser F-12 and look at the network tab, because it looks like you aren't able to load items in the images or js directory
If you still have the same issue you you post the output of
Code: Select all
tail -20 /var/log/apache2/error_log
Re: Problem with UI - OpenSUSE Leap 15.1
Hi Scott,
Thank you for the reply.
I have cleared the browser's cache and tried 2 different browsers (Chrome and Firefox).
Result of tail -20 /var/log/apache2/error_log (I have replaced the name of the website with website) - LogLevel Debug
Thank you for the reply.
I have cleared the browser's cache and tried 2 different browsers (Chrome and Firefox).
Result of tail -20 /var/log/apache2/error_log (I have replaced the name of the website with website) - LogLevel Debug
Code: Select all
[Wed Mar 04 20:49:43.208156 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55506] AH01626: authorization result of Require all granted: granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208163 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55506] AH01626: authorization result of Require valid-user : denied (no authenticated user yet), referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208167 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55506] AH01626: authorization result of <RequireAll>: denied (no authenticated user yet), referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208170 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55506] AH01626: authorization result of <RequireAny>: denied (no authenticated user yet), referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208406 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55506] AH01626: authorization result of Require all granted: granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208409 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55506] AH01626: authorization result of Require valid-user : granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208412 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55506] AH01626: authorization result of <RequireAll>: granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208415 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55506] AH01626: authorization result of <RequireAny>: granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208513 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55507] AH01626: authorization result of Require all granted: granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208530 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55507] AH01626: authorization result of Require valid-user : denied (no authenticated user yet), referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208533 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55507] AH01626: authorization result of <RequireAll>: denied (no authenticated user yet), referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208536 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55507] AH01626: authorization result of <RequireAny>: denied (no authenticated user yet), referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208770 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55507] AH01626: authorization result of Require all granted: granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208773 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55507] AH01626: authorization result of Require valid-user : granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208776 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55507] AH01626: authorization result of <RequireAll>: granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:43.208779 2020] [authz_core:debug] [pid 19660] mod_authz_core.c(809): [client 10.0.1.2:55507] AH01626: authorization result of <RequireAny>: granted, referer: http://website/nagios/main.php
[Wed Mar 04 20:49:55.459436 2020] [reqtimeout:info] [pid 19661] [client 10.0.1.2:55488] AH01382: Request header read timeout
[Wed Mar 04 20:49:55.463435 2020] [reqtimeout:info] [pid 1152] [client 10.0.1.2:55487] AH01382: Request header read timeout
[Wed Mar 04 20:50:49.832859 2020] [authz_core:debug] [pid 1153] mod_authz_core.c(809): [client 127.0.0.1:59964] AH01626: authorization result of Require all granted: granted
[Wed Mar 04 20:50:49.832901 2020] [authz_core:debug] [pid 1153] mod_authz_core.c(809): [client 127.0.0.1:59964] AH01626: authorization result of <RequireAny>: granted
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with UI - OpenSUSE Leap 15.1
For some reason you apache server isn't returning and results for the non-html/php portions of the page.
Has there been any modifications to the http configurations from a base install because something is catching these are not returning the proper files?
Has there been any modifications to the http configurations from a base install because something is catching these are not returning the proper files?