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);"
You are completely right, I was so focused on the user-count line that hadn´t seen it was matching with previous line.
[root@lb-alc-caru-vpn-1:/S1-green-P::Active:Changes Pending] config # curl http://172.28.17.170/healthcheck.html | grep "USER-COUNT"
<br>MAXIMUM-LICENSED-USER-COUNT=0;
<br>USER-COUNT=10000;
Thank you so much!!
You are welcome
But now the million-dollar question:
You’ve got F5s, so why are you still playing around with Ivanti? Lost a bet?
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