Forum Discussion

besogon_9363's avatar
besogon_9363
Icon for Nimbostratus rankNimbostratus
Dec 29, 2010

Custom monitor - variable receive string

I am trying to configure a custom http monitor. The problem is that the monitor page returns a variable (in this case time). Does anyone know if there is a way to do catch a non-static value in the receive string and do a regex expression check (like ((0?[1-9]|1[012])(:[0-5]\d){0,2}(\ [AP]M))$|^([01]\d|2[0-3])(:[0-5]\d){0,2}).

 

 

 

Thanks

 

1 Reply

  • Hi,

     

     

    LTM supports basic regular expressions in the receive string for monitors. See SOL5917 for details.

     

     

    SOL5917: Using regular expressions in a health monitor receive string

     

    http://support.f5.com/kb/en-us/solutions/public/5000/900/sol5917.html

     

     

    Does that regex work for you? If not, see this wiki page for troubleshooting steps:

     

     

    http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/TroubleshootingLtmMonitors.html

     

     

    Aaron