Double Menu after visiting Nagios "Home" Page
Double Menu after visiting Nagios "Home" Page
After updating to 3.5.0, I've had a problem where Nagios will show me a double menu after visiting the "Home" page (If I click on the "Home", then click on a page after that, I'll get it). I've attached a screenshot of what I'm seeing.
If I go directly to a URL (Autocomplete on the browser will bring up a list of pages that aren't the home page) inside of Nagios, I don't get the double menu until I click the "Home" page and then click on a different page.
Any idea what would cause this? Thanks!
If I go directly to a URL (Autocomplete on the browser will bring up a list of pages that aren't the home page) inside of Nagios, I don't get the double menu until I click the "Home" page and then click on a different page.
Any idea what would cause this? Thanks!
Last edited by MLaing on Tue Jul 16, 2013 10:30 am, edited 1 time in total.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Double Menu after visiting Nagios "Home" Page
All that happened was an upgrade to 3.5.0? Hmm, when you access the home page do you see any conflicting errors in the following logs, please run these commands and try to access the home page, then share the output, thanks!
Have you tried clearing the browsers cache, accessing the interface from another browser, and restarting the apache service?
Code: Select all
tail -30 /var/log/httpd/error_log
tail -30 /var/log/httpd/access_logRe: Double Menu after visiting Nagios "Home" Page
I've sanitized the output (Changed my domain and IP addresses).
Access_log:
Error_log
I also noticed that once I go to the "Home" page that the address in the address bar is always http;//nagios.mydomain.local/nagios/index.php regardless of which page I click on. Hitting refresh will take me back to the main page. I don't have this problem if I go to my browser directly and type: "http://nagios.mydomain.local/nagios/cgi ... e=overview" and then just avoid the "Home" page.
Thanks!
Access_log:
Code: Select all
192.168.1.135 - nagiosadmin [08/Jul/2013:17:13:22 -0500] "GET /nagios/images/sblogo.png HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/side.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:13:25 -0500] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=summary HTTP/1.1" 200 22362 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:13:29 -0500] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28 HTTP/1.1" 200 30792 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:13:29 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 404 323 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - - [08/Jul/2013:17:14:20 -0500] "GET /nagios HTTP/1.1" 401 489 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios HTTP/1.1" 301 333 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/ HTTP/1.1" 200 874 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/side.php HTTP/1.1" 200 4373 "http://nagios.mydomain.local/nagios/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/main.php HTTP/1.1" 200 4745 "http://nagios.mydomain.local/nagios/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/stylesheets/common.css HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/side.php" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/js/jquery-1.7.1.min.js HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/main.php" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/images/sblogo.png HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/side.php" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/images/logofullsize.png HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/main.php" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/images/sflogo.png HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/main.php" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/images/weblogo1.png HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/main.php" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/rss-newsfeed.php HTTP/1.1" 200 536 "http://nagios.mydomain.local/nagios/main.php" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/rss-corefeed.php HTTP/1.1" 200 861 "http://nagios.mydomain.local/nagios/main.php" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:25 -0500] "GET /nagios/images/favicon.ico HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28 HTTP/1.1" 200 30792 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/stylesheets/common.css HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/stylesheets/status.css HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/js/jquery-1.7.1.min.js HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 404 323 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/images/sblogo.png HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/images/up.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 404 323 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/images/ack.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/images/down.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/images/comment.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [08/Jul/2013:17:14:59 -0500] "GET /nagios/images/ndisabled.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
Error_log
Code: Select all
[Mon Jul 08 17:06:07 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:06:07 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:06:07 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/side.php
[Mon Jul 08 17:10:54 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/side.php
[Mon Jul 08 17:11:23 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:11:42 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:12:17 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/index.php on line 53, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&limit=0
[Mon Jul 08 17:12:17 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/index.php
[Mon Jul 08 17:12:20 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:12:24 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview
[Mon Jul 08 17:12:24 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?servicegroup=all&style=overview
[Mon Jul 08 17:12:26 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail
[Mon Jul 08 17:12:27 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview
[Mon Jul 08 17:12:28 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:12:35 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&limit=0
[Mon Jul 08 17:12:36 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary
[Mon Jul 08 17:12:38 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview
[Mon Jul 08 17:12:39 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary
[Mon Jul 08 17:12:51 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/index.php on line 53, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary
[Mon Jul 08 17:12:51 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/index.php
[Mon Jul 08 17:12:53 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:12:57 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/index.php on line 53, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary
[Mon Jul 08 17:12:57 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/index.php
[Mon Jul 08 17:13:01 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/index.php on line 53, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary
[Mon Jul 08 17:13:01 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/index.php
[Mon Jul 08 17:13:03 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:13:06 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Mon Jul 08 17:13:29 2013] [error] [client 192.168.1.135] script not found or unable to stat: /usr/local/nagios/sbin/stylesheets, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28
[Mon Jul 08 17:14:25 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/index.php on line 53
[Mon Jul 08 17:14:25 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/I also noticed that once I go to the "Home" page that the address in the address bar is always http;//nagios.mydomain.local/nagios/index.php regardless of which page I click on. Hitting refresh will take me back to the main page. I don't have this problem if I go to my browser directly and type: "http://nagios.mydomain.local/nagios/cgi ... e=overview" and then just avoid the "Home" page.
Thanks!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Double Menu after visiting Nagios "Home" Page
Can you post the output of the following:
Code: Select all
ll -la /usr/local/nagios/sbin/stylesheetsThis is likely because the pages you are loading are being generated by the same php script, it is reading in different stylesheets.I also noticed that once I go to the "Home" page that the address in the address bar is always http;//nagios.mydomain.local/nagios/index.php regardless of which page I click on. Hitting refresh will take me back to the main page. I don't have this problem if I go to my browser directly and type: "http://nagios.mydomain.local/nagios/cgi ... e=overview" and then just avoid the "Home" page.
Re: Double Menu after visiting Nagios "Home" Page
The folder /usr/local/nagios/sbin/stylesheets doesn't exist. I did, however, find /usr/local/nagios/share/stylesheets . I copied the contents and folder to sbin, fixed the permissions, but it still did not work. If I do ll -la /usr/local/nagios/sbin/stylesheets I now get:
Thanks!
Code: Select all
total 100
drwxr-xr-x. 2 nagios nagios 4096 Jul 9 14:27 .
drwxrwxr-x. 3 nagios nagios 4096 Jul 9 14:27 ..
-rw-r--r--. 1 nagios nagios 1913 Jul 9 14:27 avail.css
-rw-r--r--. 1 nagios nagios 1261 Jul 9 14:27 checksanity.css
-rw-r--r--. 1 nagios nagios 959 Jul 9 14:27 cmd.css
-rw-r--r--. 1 nagios nagios 9562 Jul 9 14:27 common.css
-rw-r--r--. 1 nagios nagios 586 Jul 9 14:27 config.css
-rw-r--r--. 1 nagios nagios 5626 Jul 9 14:27 extinfo.css
-rw-r--r--. 1 nagios nagios 560 Jul 9 14:27 histogram.css
-rw-r--r--. 1 nagios nagios 482 Jul 9 14:27 history.css
-rw-r--r--. 1 nagios nagios 4422 Jul 9 14:27 ministatus.css
-rw-r--r--. 1 nagios nagios 2081 Jul 9 14:27 notifications.css
-rw-r--r--. 1 nagios nagios 743 Jul 9 14:27 outages.css
-rw-r--r--. 1 nagios nagios 482 Jul 9 14:27 showlog.css
-rw-r--r--. 1 nagios nagios 7283 Jul 9 14:27 status.css
-rw-r--r--. 1 nagios nagios 710 Jul 9 14:27 statusmap.css
-rw-r--r--. 1 nagios nagios 1748 Jul 9 14:27 summary.css
-rw-r--r--. 1 nagios nagios 5472 Jul 9 14:27 tac.css
-rw-r--r--. 1 nagios nagios 481 Jul 9 14:27 trends.css
Thanks!
Re: Double Menu after visiting Nagios "Home" Page
Are you experiencing the same apache errors as before?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Double Menu after visiting Nagios "Home" Page
I do get new error messages. They are as follows:
Access Log:
Error Log:
I did a chmod 775 /usr/local/nagios/sbin/stylesheets because I was getting a permission denied error with some of the css files (I guess it is trying to execute them..... Not sure why)
Thanks!
Access Log:
Code: Select all
192.168.1.135 - nagiosadmin [10/Jul/2013:09:40:45 -0500] "GET /nagios/js/jquery-1.7.1.min.js HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:40:45 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 500 622 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:40:45 -0500] "GET /nagios/images/sblogo.png HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:40:45 -0500] "GET /nagios/images/detail.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:40:45 -0500] "GET /nagios/images/status2.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:40:45 -0500] "GET /nagios/images/status3.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
127.0.0.1 - - [10/Jul/2013:09:41:21 -0500] "GET http://192.168.1.148/icons/test.html HTTP/1.0" 200 - "-" "check_http/v1.4.15 (nagios-plugins 1.4.15)"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:15 -0500] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 200 162189 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/stylesheets/status.css HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/stylesheets/common.css HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/js/jquery-1.7.1.min.js HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 500 622 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 500 622 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/images/sblogo.png HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/images/detail.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/images/status2.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:42:16 -0500] "GET /nagios/images/status3.gif HTTP/1.1" 304 - "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:06 -0500] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28 HTTP/1.1" 200 30793 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:06 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 500 622 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:10 -0500] "GET /nagios/index.php HTTP/1.1" 200 874 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:10 -0500] "GET /nagios/side.php HTTP/1.1" 200 4373 "http://nagios.mydomain.local/nagios/index.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:10 -0500] "GET /nagios/main.php HTTP/1.1" 200 4745 "http://nagios.mydomain.local/nagios/index.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:10 -0500] "GET /nagios/rss-newsfeed.php HTTP/1.1" 200 536 "http://nagios.mydomain.local/nagios/main.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:10 -0500] "GET /nagios/rss-corefeed.php HTTP/1.1" 200 861 "http://nagios.mydomain.local/nagios/main.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:11 -0500] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=overview HTTP/1.1" 200 113995 "http://nagios.mydomain.local/nagios/side.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:12 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 500 622 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:15 -0500] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28 HTTP/1.1" 200 30793 "http://nagios.mydomain.local/nagios/side.php" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:15 -0500] "GET /nagios/cgi-bin/stylesheets/common.css HTTP/1.1" 500 622 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:16 -0500] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28 HTTP/1.1" 200 30793 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
192.168.1.135 - nagiosadmin [10/Jul/2013:09:43:19 -0500] "GET /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28 HTTP/1.1" 200 30793 "http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"Error Log:
Code: Select all
Wed Jul 10 09:11:38 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:13:09 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:13:09 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:13:09 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:13:09 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:31:14 2013] [error] [client 192.168.1.135] File does not exist: /var/www/html/favicon.ico
[Wed Jul 10 09:37:37 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:37:37 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:37:38 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:37:38 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:37:41 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/index.php on line 53, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:37:41 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/index.php
[Wed Jul 10 09:37:43 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Wed Jul 10 09:37:43 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all
[Wed Jul 10 09:39:15 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:39:15 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:40:45 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:40:45 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:42:16 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:42:16 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:42:16 2013] [error] [client 192.168.1.135] (13)Permission denied: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:42:16 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid
[Wed Jul 10 09:43:06 2013] [error] [client 192.168.1.135] (8)Exec format error: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28
[Wed Jul 10 09:43:06 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28
[Wed Jul 10 09:43:10 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/index.php on line 53, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28
[Wed Jul 10 09:43:10 2013] [error] [client 192.168.1.135] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/nagios/share/main.php on line 123, referer: http://nagios.mydomain.local/nagios/index.php
[Wed Jul 10 09:43:12 2013] [error] [client 192.168.1.135] (8)Exec format error: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview
[Wed Jul 10 09:43:12 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview
[Wed Jul 10 09:43:15 2013] [error] [client 192.168.1.135] (8)Exec format error: exec of '/usr/local/nagios/sbin/stylesheets/common.css' failed, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28
[Wed Jul 10 09:43:15 2013] [error] [client 192.168.1.135] Premature end of script headers: common.css, referer: http://nagios.mydomain.local/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28
Thanks!
Re: Double Menu after visiting Nagios "Home" Page
Those stylesheets should be in share, not sbin. Move them back.MLaing wrote:The folder /usr/local/nagios/sbin/stylesheets doesn't exist. I did, however, find /usr/local/nagios/share/stylesheets . I copied the contents and folder to sbin, fixed the permissions, but it still did not work. If I do ll -la /usr/local/nagios/sbin/stylesheets I now get:
Can you post your nagios vhost config?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Double Menu after visiting Nagios "Home" Page
I copied it, I didn't move it, so I'll just delete the folder from sbin.
The httpd config for nagios is:
Thanks!
The httpd config for nagios is:
Code: Select all
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
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
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
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
</Directory>
Re: Double Menu after visiting Nagios "Home" Page
The vhost file is pure vanilla. Have you made any changes to httpd.conf?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.