Forum Discussion

Matt_58997's avatar
Matt_58997
Icon for Nimbostratus rankNimbostratus
Dec 30, 2009

HTTP Custom Monitor for 2 Nodes

Hi,

 

 

We are trying to monitor 2x nodes in a pool with a custom http monitor which is simply:

 

 

GET /awake.html HTTP/1.0 \n\n

 

 

Searching for a response of just 'awake'

 

 

However, if this file doesn't exist on one node, that node still shows as active. Is this behavior correct? I would have thought that if the file didn't exist at all, then it would mark the node as down. I can't find anything in the documentation that would suggest whether this should or shouldn't happen.

 

 

If the file exists without 'awake' in it, then it marks the node as down, as well as if the port is not active (80 is down) so that works the correct way.

 

 

We are using Big-IP 9.3.1, Build 40.2

 

 

Thanks

1 Reply

  • Hi Matt,

     

     

    The monitor should mark the pool member down if the response does not contain the receive string. Is the awake string found in the response content even if the file doesn't exist?

     

     

    To get more insight into what's happening, you can enable debug on the monitoring daemon, bigd. You can enable bigd debug (b db bigd.debug enable / disable) and check the log file (/var/log/bigdlog). Make sure to disable the logging once you're done testing as it's quite verbose and will eat up a lot of disk space.

     

     

    Aaron