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

3rd Party SMS Notification

Votes:

0

Hi there
As you mentioned in PRTG > Setup > Account Settings > Notification Templates > Execute HTTP Action > Payload, "No XML or JSON is allowed. Only the content type application/x-www-form-urlencoded is supported."
So would you please tell me how can i write this code there:

{
  "organization": "xxx",
  "username": "xxx",
  "password": "xxx",
  "method": "send",
  "messages": [
    {
      "sender": "xxx",
      "recipient": "xxx",
      "body": "[%sitename] %sensorid %device %name %status %down (%message)",
      "customerId": 1
    }
  ]
}




And 1 more question:

in PRTG > Setup > System Administration > Notification Delivery > SMS Delivery:
Configuration Mode: Custom URL

How can i implement this URL with my data?

The URL is:

https://MySMSProvider.com/services/URLService/URL/

and the data is:

organization=xxx
username=xxx
password=xxx
command=send
src=123
body=[%sitename] %sensorid %device %name %status %down (%message)

Also you mentioned: "Use the GET method to request the URL. POST requests are not supported."

But i think my request is a POST request.



Thanks a lot

application-x-www-form-urlencoded http-action notification-delivery notification-template sms sms-delivery

Created on Mar 13, 2023 4:34:44 PM



1 Reply

Votes:

0

Hi Hossein,
Please contact the provider if they provide a manual for the configuration within PRTG. There are multiple providers which have different way to implement the custom URL.

Created on Mar 15, 2023 10:52:45 AM by  Marijan Horsky [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.