Hello Paolo,
Thank you for your message.
Regarding what you would like to achieve, you need to use a custom script with the EXE/Script sensor which will get the number of down sensors from that group. Then, you can configure the threshold trigger to this sensor.
To get that information, you can use the following API call to get a list of the sensors which belong to that group and then count the ones in down state:
https://PRTGServer/api/table.json?content=sensors&output=json&columns=objid,sensor,status&id=GROUPID&username=PRTGUser&passhash=Passhash
Note that the script must return the data in a specific format depending on the custom sensor used, which is described here: https://www.paessler.com/manuals/prtg/custom_sensors
If you have questions, do not hesitate.
Regards.
Add comment