What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

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

Mute notification for device via API

Votes:

0

Your Vote:

Up

Down

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.

api notifications pause

Created on Mar 3, 2018 1:25:43 PM by  Tomasz (173) 1 1



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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 1
You 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

Created on Mar 5, 2018 2:08:59 PM by  Birk Guttmann [Paessler Support]



Please log in or register to enter your reply.


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.