URL test check contents for text with double quotes

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
gorisdean
Posts: 23
Joined: Wed Jun 20, 2012 7:56 am

URL test check contents for text with double quotes

Post by gorisdean »

I'm doing a URL test and checking its contents.
I should use an expression as multiple statusses should be accepted as "Host is alive".
The text to search for is:

"topBandText":"All Services Operational"

It looks like Hostmonitor is not able to handle the double quotes in this string.
Surrounding them by single quotes does not solve the issue.

I cannot simply search for 'All Services Operational' as the webpage lists all possible statusses, so I need that "topBandText" in front of it to be sure it is its current state.

The ultimate expression should be something like this:

('"topBandText":"All Services Operational"') or ('"topBandText":"Minor service Outage"') or ('"topBandText":"System Performance Degraded"') or ('"topBandText":"System Under Maintenance"')

Other statusses can be classified as Bad.

Page I'm talking about: https://protimestatus.freshstatus.io/
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

It looks like Hostmonitor is not able to handle the double quotes in this string.
Surrounding them by single quotes does not solve the issue.
Should work fine and as I see it works.
HostMonitor version?
('"topBandText":"All Services Operational"') or ('"topBandText":"Minor service Outage"') or ('"topBandText":"System Performance Degraded"') or ('"topBandText":"System Under Maintenance"')
Its too long expression for URL test.
We will check and probably increase this limit.

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We have update.
if you are using latest HostMonitor v.12.90, please contact support, we will provide link to new version

Regards
Alex
Post Reply