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

API for Notifications Settings

Votes:

0

Is there an API for changing Notification Template settings. Specifically adjusting the email address set in a Notification Template?

api email notifications

Created on Nov 6, 2018 2:16:39 PM



5 Replies

Votes:

0

Hi there,

The official "change object"-API is not supporting this. However you could use the API that PRTG uses itself to change this field:

/editsettings?id=NOTIFICATION-ID&[email protected]

The first parameter is the ID of the Notification Template, the second is the email address that is entered in the "Send to Email Address"-field.
If you want to use this call in a script or anywhere else, please add the username and passhash:

&username=USER&passhash=1234567


Best regards.

Created on Nov 7, 2018 7:08:29 AM by  Dariusz Gorka [Paessler Support]



Votes:

0

That worked perfect! Is there an API call to do a test notification on a Notification Template?

Created on Nov 7, 2018 4:46:34 PM



Votes:

0

Hi Will,

Yep. :)
Please see below:

/api/notificationtest.htm?id=TEMPLATEID

Also here, if you want to use this call in a script or anywhere else, please add the username and passhash:

&username=USER&passhash=1234567


Best Regards.

Created on Nov 7, 2018 5:23:33 PM by  Dariusz Gorka [Paessler Support]



Votes:

0

I want to be able to use the same /editsettings but be able to change the "Custom Content" filed under the Send Email section of the notification. Can this be done?

Created on Jul 13, 2020 2:32:46 PM



Votes:

0

Hello Will Fox,

the /editsettings portion of the API is not documented. You can try to perform the action manually and check the web server access log ("C:\ProgramData\Paessler\PRTG Network Monitor\Logs\webserver") to analyze the syntax. Please note there is no technical support for this.

Created on Jul 13, 2020 8:31:17 PM by  Arne Seifert [Paessler Support]




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.