Forum Discussion
HTTP Monitor to Check USER-COUNT from Ivanti Node – Regex Issues
- Aug 07, 2025
I think it's because it matches also <br>MAXIMUM-LICENSED-USER-COUNT=0;
could you try
recv "<br>USER-COUNT=([0-9]{1,3}|[1-2][0-9]{3}|3000);"
It looks like it is related to all html page. Checking this answer, monitor is always up with this pattern USER-COUNT\=([0-9]{1,3}|[1-5][0-9]{3}|6000);:
<head>
<title>Cluster HealthCheck</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<h1>Health check details:</h1>
CPU-UTILIZATION=1;
<br>SWAP-UTILIZATION=0;
<br>DISK-UTILIZATION=24;
<br>SSL-CONNECTION-COUNT=1;
<br>PLATFORM-LIMIT=25000;
<br>MAXIMUM-LICENSED-USER-COUNT=0;
<br>USER-COUNT=7265;
<br>MAX-LICENSED-USERS-REACHED=NO;
<br>CLUSTER-NAME=CARU-LAB;
<br>VPN-TUNNEL-COUNT=0;
<br>
</body>
On the other hand, I created a simple file in a web server, which only includes:
USER-COUNT=10000;
And it works.
I guess this is related to how to parse html file.
I think it's because it matches also <br>MAXIMUM-LICENSED-USER-COUNT=0;
could you try
recv "<br>USER-COUNT=([0-9]{1,3}|[1-2][0-9]{3}|3000);"
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