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.


Article Comments

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.


Aug, 2011 - Permalink

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


Aug, 2011 - Permalink

But the sensor will be red?


Aug, 2011 - Permalink

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.


Aug, 2011 - Permalink

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.


Aug, 2011 - Permalink