hi I have a web site that checks a service and display a value 0 or other number. if 0 that means the service is down. if other number such as -1 that means the service is up.
how can I monitor that and set a sensor to notify me for changes?
Modified on 2025-06-10 20:49:09 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
hi I have a web site that checks a service and display a value 0 or other number. if 0 that means the service is down. if other number such as -1 that means the service is up.
how can I monitor that and set a sensor to notify me for changes?
I encourage you to change the web-page to display the value in a format that PRTG can natively understand, for example:
Data that is compatible with the HTTP Content Sensor should look
Or, if you want to use the HTTP Data Advanced sensor, the XML-encoded data should look like this:
Or, if you rather use JSON:
{ "prtg": { "result": { "channel": "Channel 1 (float)", "value": "12.34", "float": "1" } } }For more details:
I encourage you to use a lookup after you've created the sensor to display a state in PRTG (instead of 1 and 0):
Best Regards,
Luciano Lingnau [Paessler Support]
Jan, 2018 - Permalink