Forum Discussion
Monitor String setup
Hey guys. I am looking to get a monitor setup where The health monitor should mark the pool down based on the value if value="0" or if it there is no value in the string. Current setting is working only when the value="0" (scenario1) and set reverse enable but it does not work when there is no value (scenario2).
recv "value=\"0\""
reverse enabled
tried regex patterns to include [^(?!value=).*$|value=\”0\”] even with the \b option and string match but not succeeding
-
queryResponse time="0" workflowTime="2" value="0" queryTimestamp="154703733" clientId="213" redelivered="false"
-
queryResponse time="0" workflowTime="2" queryTimestamp="154703733" clientId="231" redelivered="false"
Should only be up if the value is above 1
value="15400" queryTimestamp="1547703733" clientId="21321" redelivered="false">
Any help or guidance is much appreciated.
- Faruk_AYDIN
Nimbostratus
Us this regex:
^((?!value=).)*$|value=\"0\"
- Stanislas_Piro2
Cumulonimbus
You can use this expression to detect if the page contains value="x" where x is a number different than 0 and at least one value.
value=\"[1-9][0-9]*\"
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com