Hi
I need some assistance with a Health monitor for a webserver farm, I need to send the message below to the webserver, if I receive an error 92 "Routing error" message.....it should failover. Can you point me in the right direction please?
POST /xxx/service HTTP/1.1
Content-type: text/xml;charset=utf-8
Soapaction: ""
Accept: text/xml, multipart/related
User-Agent: JAX-WS RI 2.2-hudson-752-
Host: xxx.xxx.com:450
Connection: keep-alive
Content-Length: 545
xxx38170010xxx2012-07-2716:25:371234567800000000000000010000
Thx
Hi Bradley,
Sorry for the late reply. To accomplish this you will need to use an External Program Monitor, similar to the one I responded to you with in this post. In the External Program Monitor you would then use the LWP library to issue the POST and then scan the response for the 92 "Routing error" message. Hope this helps.
http://search.cpan.org/~gaas/libwww-perl-6.04/lib/LWP/UserAgent.pm (Search for ua->post)
Faisal