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

Set sensor to error when website is available

Votes:

0

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?

cloud-http notify-when-up reverse-up-and-down-status

Created on May 19, 2015 4:54:53 PM



1 Reply

Votes:

0

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.

Created on May 25, 2015 10:13:08 AM by  Greg Campion [Paessler Support]




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.