The scenario is for maintenance activities on servers, eg. patching or backup. During such activities I need server to be still monitored but no regular notifications should occur. Preferable way is to add to the patching script a PRTG API call to change notifications option for particular device to "Only use the triggers defined above" option and revert it back to "Inherit all triggers from parent objects and use the triggers defined above" at the end of patching script. I already considered to pause monitoring for the whole device or to pause notification definition but neither of these fulfils the requirements. Please advise.
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hello there,
Thanks for your inquiry, we appreciate your contact regarding the matter!
The API call to deactivate or activate this inheritance should look like this:
http://your_PRTG_Server/api/setobjectproperty.htm?id=Corresponding Object ID&name=inherittriggers&value=0 or 1You can find the Object ID in the section on the top right of the Overview tab.
Please do not hesitate to ask further questions.
Kind regards,
Birk Guttmann, Tech Support Team
Mar, 2018 - Permalink