Check_http IIS7 Socket timeout


#1

Hello, I have a problem with Microsoft Web Server IIS7 (Windows Server 2008) and Check_HTTP plug-in, may be someone can help me. This Plug-In is working OK with IIS6 and other WebServers

Server Nagios OS: Linux
Nagios Version: 3.0.6
Plug-Ins Version: 1.4.13

Test Host

[code][root@Server2 libexec]# ./check_http -H test3.localdomain.com -p 80 --verbose -u http://test3.localdomain.com/portaltest/
GET http://test3.localdomain.com/portaltest/ HTTP/1.0
User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
Connection: close
Host: test3.localdomain.com

CRITICAL - Socket timeout after 10 seconds[/code]

Test IP URL

[code][root@Server2 libexec]# ./check_http -I 172.16.31.31 -p 80 --verbose -u http://test3.localdomain.com/portaltest/
GET http://test3.localdomain.com/portaltest/ HTTP/1.0
User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
Connection: close
Host: test3.localdomain.com

CRITICAL - Socket timeout after 10 seconds[/code]

wget Test is OK:

[code][root@Server2 libexec]# wget http://test3.localdomain.com/portaltest
–2009-02-27 11:20:26-- http://test3.localdomain.com/portaltest
Resolving test3.localdomain.com… 172.16.31.31
Connecting to test3.localdomain.com|172.16.31.31|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: http://test3.localdomain.com/portaltest/ [following]
–2009-02-27 11:20:26-- http://test3.localdomain.com/portaltest/
Reusing existing connection to test3.localdomain.com:80.
HTTP request sent, awaiting response… 200 OK
Length: 10095 (9.9K) [text/html]
Saving to: `index.html’

100%==========================================================================================>] 10,095 --.-K/s in 0s

2009-02-27 11:20:26 (277 MB/s) - `index.html’ saved [10095/10095]

Thanks in advanced.[/code]

Check_HTTP IIS6

[root@Server2 libexec]# ./check_http -I 172.16.31.30 -p 80 -u http://test2.localdomain.com/portaltest/ HTTP OK HTTP/1.1 200 OK - 10404 bytes in 3.151 seconds |time=3.151322s;;;0.000000 size=10404B;;;0

Thanks in advanced.