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] (15,450) 3 1



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  Gerard Feijth (4,203) 3 2



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] (15,450) 3 1



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  Gerard Feijth (4,203) 3 2



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.

For a direct link, go to https://prtg.paessler.com/api.htm?username=demo&password=demodemo&gototab=7 and see the —Standard EXE/Script Sensor section.

Created on Aug 11, 2011 2:41:23 PM by  Daniel Zobel [Paessler Support] (21,383) 3 3



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  Gerard Feijth (4,203) 3 2



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.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

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

Visit
www.paessler.com

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