New Question
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Download >>


What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more


Top Tags

View all Tags

How can I monitor a string in the HTML of a webpage?



Your Vote:



I want to monitor a value in the HTML of a web page.

Depending on the returned values the sensor should show different states and different sensor messages.

The values on the web page I want to monitor are in a similar format that you would use for the HTTP Content sensor:


The HTTP Content sensor can only monitor integers, not strings.

How can I achieve my goal?

custom-exe custom-script-exe exe-script-sensor html http http-content-sensor powershell prtg script string

Created on Feb 25, 2013 1:49:59 PM by  Gerald Schoch [Paessler Support]

Last change on Mar 19, 2015 3:39:12 PM by  Martina Wittmann [Paessler Support]

1 Reply

Accepted Answer



Your Vote:



This article applies to PRTG Network Monitor 12 or later

Monitoring Strings in the HTML of Web Pages

In order to process the HTML of web pages to receive sensor states corresponding to the returned values in the format [value][string], you can use a custom sensor with a script file. Create a powershell script for this issue and add it to an EXE/Script Advanced Sensor in PRTG.

For more details and a basic script, please refer to the following article: Monitor 1 value, on error send 2nd value.

Created on Feb 25, 2013 1:53:31 PM by  Gerald Schoch [Paessler Support]

Last change on Feb 26, 2013 9:47:05 AM by  Daniel Zobel [Paessler Support]

Please log in or register to enter your reply.

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.