nagios monitors localhost and i get http warnings/error/forbidden on the service
Yaniv
yaniv.fer at gmail.com
Tue Jun 3 11:14:47 CEST 2008
Hello
I just started using nagios.
I have installed yesterday the latest stable build and plugins.
My problem is that on the tactical overview I see @ services 1 warning I
click on it and I see that it is the localhost where nagios is installed.
Host
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=1&sortoption=1> Sort by host name (ascending)
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=2&sortoption=1> Sort by host name (descending)
Service
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=1&sortoption=2> Sort by service name (ascending)
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=2&sortoption=2> Sort by service name (descending)
Status
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=1&sortoption=3> Sort by service status
(ascending)
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=2&sortoption=3> Sort by service status
(descending) Last Check
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=1&sortoption=4> Sort by last check time
(ascending)
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=2&sortoption=4> Sort by last check time
(descending) Duration
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=1&sortoption=6> Sort by state duration
(ascending)
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=2&sortoption=6> Sort by state duration time
(descending) Attempt
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=1&sortoption=5> Sort by current attempt
(ascending)
<http://192.168.11.163/nagios/cgi-bin/status.cgi?host=all&servicestatustypes
=4&serviceprops=4&sorttype=2&sortoption=5> Sort by current attempt
(descending)Status Information
Localhost HTTP warning 06-02-2008 18:32:27 0d
11h 30m 56s 4/4 HTTP WARNING: HTTP/1.1 403 Forbidden
And I click on the service name HTTP and I see this:
Service State Information
Current Status:
WARNING
(for 0d 11h 27m 56s) (Has been acknowledged)
Status Information:
HTTP WARNING: HTTP/1.1 403 Forbidden
Performance Data:
Current Attempt:
4/4 (HARD state)
Last Check Time:
06-02-2008 18:32:27
Check Type:
ACTIVE
Check Latency / Duration:
0.205 / 0.039 seconds
Next Scheduled Check:
06-02-2008 18:37:27
Last State Change:
06-02-2008 07:06:44
Last Notification:
06-02-2008 07:46:08 (notification 1)
Is This Service Flapping?
NO
(0.00% state change)
In Scheduled Downtime?
NO
Last Update:
06-02-2008 18:34:35 ( 0d 0h 0m 5s ago)
Here is also some output from /var/log/http/error_log
tail error_log
[Mon Jun 02 18:05:59 2008] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/
[Mon Jun 02 18:10:33 2008] [error] [client 192.168.11.200] File does not
exist: /var/www/html/favicon.ico
[Mon Jun 02 18:10:34 2008] [error] [client 192.168.11.200] File does not
exist: /var/www/html/favicon.ico
[Mon Jun 02 18:10:59 2008] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/
[Mon Jun 02 18:15:59 2008] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/
[Mon Jun 02 18:20:59 2008] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/
[Mon Jun 02 18:25:59 2008] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/
[Mon Jun 02 18:27:27 2008] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/
[Mon Jun 02 18:32:27 2008] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/
[Mon Jun 02 18:37:27 2008] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /var/www/html/
And the access_log
tail access_log
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/stylesheets/extinfo.css HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/disabled.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/passiveonly.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/enabled.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/noack.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/notify.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/downtime.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/comment.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/delete.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] "GET
/nagios/images/delay.gif HTTP/1.1" 304 -
"http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&serv
ice=HTTP" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
Thank you for any help
Yaniv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080603/1d65a4b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 848 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080603/1d65a4b7/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 846 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080603/1d65a4b7/attachment-0001.gif>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list