Hi, we have a website hosted outside our network by a third party that should be available only from our public IP addresses, and connection should be rejected from the Internet in general. I have set up a Cloud HTTP sensor to monitor this. As expected the response code is showing client error 403 from all the channels. We would like two things which I guess are linked. 1. when the website becomes available to get a notification. 2. ideally when the website is not available the channels should be 'up' (green), when it is available it should be 'down'.

Is there a way we can achieve these?


Article Comments

The only way to do this would be to use the Sensor Factory sensor to take the status of the original sensor and invert the status. You will have to use the custom formula in the settings of the sensor to change when the sensor is up or down. If you use the formula

(status(sensor#)) <1

then the sensor factory will show up as ok when the original is down and be in error when it's up which you could then use to send your notifications etc.


May, 2015 - Permalink