Forum Discussion

Luca_55898's avatar
Luca_55898
Icon for Nimbostratus rankNimbostratus
Sep 08, 2011

Custom monitor XML page

Hi,

 

 

I need to create a cutom monitor on an XML page.

 

I have two VIPs running on TCP 7800 and 7843.

 

Each VIP has a pool which the F5 forwards to on the relevent port (7800 or 7843)

 

 

There is an XML page which returns the status of 'OK' if everything is working. The URL is something like

 

 

http://server1:7800/healthcheck

 

 

What type of monitor should i configure so the F5 can monitor the XML page and undertsant the return string. I have have tried a custom HTTP monitor but no luck there.

 

 

thanks,

 

  • Hi Luca,

     

     

    You can create a single HTTP monitor with a send string of:

     

     

    GET /healthcheck HTTP/1.0\r\n\r\n

     

     

    The receive string could be something like this (depending on the exact format of the response xml:

     

     

    < status >OK< /status >

     

     

    Here are a couple of links with suggestions for troubleshooting monitors:

     

     

    http://support.f5.com/kb/en-us/solutions/public/12000/500/sol12531.html

     

    http://devcentral.f5.com/wiki/AdvDesignConfig.TroubleshootingLtmMonitors.ashx

     

     

    Aaron