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

HTTP Content Check

Votes:

0

I would like to know if there is some sensor HTTP that is down when the contents of the site is modified. I do not want notifications, i want the sensor is red.

Can you help me?

Thanks.

http prtg8 sensor

Created on Aug 8, 2011 2:28:42 PM

Last change on Aug 8, 2011 3:08:10 PM by  Torsten Lindner [Paessler Support]



Best Answer

Accepted Answer

Votes:

0

This is now possible with new Custom Sensor PTF.HTTPContent

This sensor gets the HTTP content of a given url and compares it with the result of the previous run. If the content has changed the value 1 is returned else the sensor returns the value 0.

You can use the sensors channel tab to enable limits and set the sensor to a warning or error state if the return value is above 0.

Enter the url and optional proxy settings in the Parameters section of the Sensor Settings:

-u=    The url to check.
-ps=   Optional proxyserver to use connecting to the internet.
-pd=   Optional proxydomain domain name to connect to your proxyserver.
-pu=   Optional proxyuser to connect to your proxyserver.
-pp=   Optional proxypassword or passhash * to connect to your proxyserver.    

The sensor can be downloaded from this page.

Created on Aug 18, 2011 2:11:03 PM



5 Replies

Votes:

0

Hello,

I'm afraid it's not possible to set any of the HTTP-Sensors into error-state if the website content changes. Sorry.

best regards.

Created on Aug 8, 2011 3:18:24 PM by  Torsten Lindner [Paessler Support]



Votes:

0

This could be done with a custom sensor that writes the HTTP content to disk and compares it in the next run.

Created on Aug 8, 2011 5:52:41 PM



Votes:

0

But the sensor will be red?

Created on Aug 11, 2011 2:19:59 PM



Votes:

0

Using a custom sensor script that writes the HTTP content to disk and compares it in the next run can give back an exit code which will determine whether the sensor will be yellow, red, or green.

Detailed information can be found in the API documentation.

Created on Aug 11, 2011 2:41:23 PM by  Daniel Zobel [Product Manager]

Last change on Aug 7, 2018 8:12:06 AM by  Brandy Greger [Paessler Support]



Accepted Answer

Votes:

0

This is now possible with new Custom Sensor PTF.HTTPContent

This sensor gets the HTTP content of a given url and compares it with the result of the previous run. If the content has changed the value 1 is returned else the sensor returns the value 0.

You can use the sensors channel tab to enable limits and set the sensor to a warning or error state if the return value is above 0.

Enter the url and optional proxy settings in the Parameters section of the Sensor Settings:

-u=    The url to check.
-ps=   Optional proxyserver to use connecting to the internet.
-pd=   Optional proxydomain domain name to connect to your proxyserver.
-pu=   Optional proxyuser to connect to your proxyserver.
-pp=   Optional proxypassword or passhash * to connect to your proxyserver.    

The sensor can be downloaded from this page.

Created on Aug 18, 2011 2:11:03 PM




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.