We are monitoring several temperature sensors (fridges, -70 degree fridges etc.) with PRTG.

During the day everything is ok. During the night we must trigger an "Alertbutton" to inform a Securitycompany. When I use the Alertfunktion of PRTG "exceute a program" I can trigger that button on Alert and release it on "Back to Normal"

But, if two or more sensors go to "Alert" and one of them goes back to "Normal" I will reset the Alertline - even if other Sensors are on "Alert".

Now my question is ist possible to set up a sensor that goes on "Alert" while any other Sensor is on "Alert" ? or can I look from an external program to PRTG and check if any Sensor is on "Alert" ?

many thanks


Article Comments

Hi there,

The easiest way would be to create a Business Process Sensor which will reflect the overall status of all selected sensors. So if any of the configured sensors within the Business Process Sensor is on alert, it will stay on alert and if everything is okay, then the Business Process Sensor will be okay again too. After you have configured the sensor, you just have to add the exe notification to the business process sensor and you can remove it from the source sensors.

Best regards.


Mar, 2017 - Permalink

Thanks so far - it works - but...

if there is a sensor "Paused" it triggers the BPM-Sensor on Alert - how can I avoid that ?

Best regards Thomas


Mar, 2017 - Permalink

Hi there,

As the manual of the Business Process Sensors states:

The following sensor states allow for the up condition of a channel: Up, Warning, Unusual, Partial Down. All other sensor states will support the down condition of a channel.

So unfortunately, it is not possible to ignore the paused state as it is considered as down.

Best regards.


Mar, 2017 - Permalink

ok,

than again the alternative:

is it possible to look from an external program to PRTG and check if any Sensor is on "Alert" ?

Thomas


Mar, 2017 - Permalink

Hi there,

To get the current status of PRTG and the amount of each sensor state use the following API call:

/api/status.json?asjson=true&id=0&username=USER&passhash=PASSHASH

You can find the passhash under "Setup > System Administration > User Accounts > API-USER > Show Passhash".

To get the status of a specific device or group, just change the "id=0" parameter to "id=GROUP/DEVICE ID" and look at the object array of the JSON.

Best regards.


Mar, 2017 - Permalink