Forum Discussion
Dicky_Moe_13167
Apr 04, 2016Nimbostratus
HTTP HealthCheck monitor with POST Statement
Hello Guys,
We have a couple of Citrix XML Broker service we want to loadbalance, and we're having problems implementing an advanced http healthcheck monitor.
Basically, its a pool-member ...
Josiah_39459
Apr 04, 2016Historic F5 Account
You can do a tcpdump while the monitor is running and inspect the traffic to verify what you think is being sent is being sent, and what you expect to be returned is being returned.
Alternatively, if you have a curl command that works, you could just use an external monitor and monitor via curl:
https://devcentral.f5.com/wiki/AdvDesignConfig.ExternalMonitor.ashx
- Dicky_Moe_13167Apr 05, 2016NimbostratusHello Josiah, We installed wireshark on the node, and captured the requests sent from the F5 monitor and from the server from which we run curl. Here both requests and responses: Curl Request (as seen from the wireshark capture in the node): POST /scripts/wpnbr.dll HTTP/1.1 User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.18 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Host: 10.10.10.10:8080 Accept: */* Content-type: text/xml Content-Length: 169 HTTP/1.1 100 Continue Server: Citrix Web PN Server Date: Tue, 05 Apr 2016 16:45:20 GMT Curl Response: HTTP/1.1 200 OK Server: Citrix Web PN Server Date: Tue, 05 Apr 2016 16:45:20 GMT Content-type: text/xml Content-length: 673 F5 request (as seen from wireshark capture in the node) POST /scripts/wpnbr.dll HTTP/1.1 Host: 10.14.44.118:8080 Content-Type: text/xml Response to F5 (as seen from wireshark capture in the node) HTTP/1.1 400 Bad request Server: Citrix Web PN Server Date: Tue, 05 Apr 2016 16:40:16 GMT Connection: Close As you can see, CURL added some headers that I didn't include (user-agent, content-length, accept). I tried adding content-lenght, and it didn't work. With or without backslahes count. Fabian
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