Forum Discussion
pawel_jakacki_7
Nimbostratus
Dec 04, 2012Problem with IIS monitoring
Hello Guys,
I'm trying to write an IIS monitor. On IIS servers I have aspx script, which returns 0, when server works fine and other value if not. I've created HTTP monitor:
GET /IsA...
nitass
Employee
Dec 04, 2012can you try something similar to this?
[root@ve10:Active] config b pool foo list
pool foo {
monitor all myhttp
members 172.28.19.251:80 {}
}
[root@ve10:Active] config b monitor myhttp list
monitor myhttp {
defaults from http
recv "Status\n\n0\n"
send "GET /test.html HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
[root@ve10:Active] config curl -i http://172.28.19.251/test.html
HTTP/1.1 200 OK
Date: Tue, 04 Dec 2012 13:34:18 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Tue, 04 Dec 2012 12:58:16 GMT
ETag: "4183f8-4e-6b55aa00"
Accept-Ranges: bytes
Content-Length: 78
Connection: close
Content-Type: text/html; charset=UTF-8
Status
0
[root@ve10:Active] config b pool foo |grep -i pool\ member
+-> POOL MEMBER foo/172.28.19.251:80 active,up
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects