Forum Discussion
http monitor receive string not working
I'm trying to get a http monitor to work with recieve string for the following output :
The following request gives https://piwebapi-a.vitens.lan/piwebapi/system/status below response
{
"UpTimeInMinutes": 8668.9520975483338,
"State": "Running",
"CacheInstances": 0,
"ServerTime": "2022-08-03T08:32:09.9526026Z"
}
\"Running\" it will not work. Without receive string the pool members are marked down.
Is this limit in F5 wich i'm running into in regards to length of response it's looking into or do i need a different regex
Below the output from devtools in chorme :
<!DOCTYPE html>
<html>
<head>
<title>PI Web API</title>
<link href="https://piwebapi-a.vitens.lan/piwebapi/admin/servicesstatic/style.css" rel="stylesheet" />
<script type="application/javascript" src="https://piwebapi-a.vitens.lan/piwebapi/admin/servicesscripts/links.js"></script>
</head>
<body>
<div id="banner">
Help pages:
<a href="/piwebapi/help" target="_blank">PI Web API Help</a> >
<a href="/piwebapi/help/controllers/system" target="_blank">System</a> >
<a href="/piwebapi/help/controllers/system/actions/status" target="_blank">Status</a>
</div>
<hr id="rule" />
<pre id="response">{
"UpTimeInMinutes": 2958.8296300283332,
"State": "Running",
"CacheInstances": 0,
"ServerTime": "2022-08-05T10:17:43.3059544Z"
}</pre>
</body>
</html>
\"Running\" does not match "Running"
The monitor does not decode html entities, but processes the raw body.
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