New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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

Free PRTG
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


HTTP Content Check

Votes:

0

Your Vote:

Up

Down

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 by  Daniel Lemos (50) 1 1

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



Best Answer

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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 by  PRTG Tools Family [prtgtoolsfamily.com] (13,173) 3 4



5 Replies

Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  PRTG Tools Family [prtgtoolsfamily.com] (13,173) 3 4



Votes:

0

Your Vote:

Up

Down

But the sensor will be red?

Created on Aug 11, 2011 2:19:59 PM by  Daniel Lemos (50) 1 1



Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  PRTG Tools Family [prtgtoolsfamily.com] (13,173) 3 4



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.