For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Alain_2938's avatar
Alain_2938
Icon for Nimbostratus rankNimbostratus
Jul 22, 2014

Custom http Regex monitor Syntax

I need to create an http regex monitor for the following criteria:

 

SEND: "GET /example/monitor/monitor.do?parameter=DB_USER HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n" RECEIVE: regex “^0$

 

How can I put this together using the BigPipe command?

 

1 Reply

  • Your receive string regex basically says "match if the string only contains a 0", which is correctly formatted according to this:

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

    Not certain anymore how to do this with bigpipe, but here's what that might look like with tmsh:

    tmsh create ltm monitor http dc-test-monitor defaults-from http send "GET /example/monitor/monitor.do\?parameter=DB_USER HTTP/1.1\r\nHost: localhost\r\nConnection: close\r\n\r\n" recv "^0$"