09-18-2012 12:28 AM
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
Accept: text/xml, multipart/related
User-Agent: JAX-WS RI 2.2-hudson-752-
09-28-2012 02:48 PM
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)