What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

how can monitor a http web content 0/1



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?

http http-content-sensor value

Created on Jan 17, 2018 9:22:13 AM

1 Reply



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

  Description: Script gives back current status of disk free (%) and CPU usage (%).

Or, if you want to use the HTTP Data Advanced sensor, the XML-encoded data should look like this:

<?xml version="1.0" encoding="utf-8" ?>
		<channel>Channel 1 (float)</channel>

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]

Created on Jan 17, 2018 12:58:01 PM by  Luciano Lingnau [Paessler]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.