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

"AND" sensor



Hello, I need to find a way how to solve this issue: I have two routers connected to WAN and both are connected to core switch (stack of two switches). How to set dependancy? I would like to stop all sensors of the switch when interfaces on both routers are down. Is there any way how to do it? I gues, there is no option, how to set dependency to more than one sensor, but is there a chance how to create special sensor (without device), which shows AND state of more sensors?

Thank you, Jan

prtg router sensor web-interface

Created on Sep 30, 2013 8:47:42 AM

1 Reply



Hi Jan,

for this case you need to create a Factory Sensor with a Custom Error Handling like "status(2031) AND status(2044)". This will change the factory sensor to a Down status if both sensors, with IDs 2031 and 2044, are Down. Otherwise the factory sensor will show an Up status.

Please see this link, section "Define Sensor Status—status() Function"

Also you need to select this sensor as "Dependency" for the sensors on the Switch.

Created on Sep 30, 2013 10:53:44 AM by  Michael Schmidt [Paessler Support] (150) 1 1

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.