When using SMS delivery with a custom URL, I run into authentication error although the URL works in a browser. Is there a way to fix this?
How can I change authentication for custom SMS delivery?
Votes:
0
3 Replies
Votes:
1
This article applies as of PRTG 20
Basic Authentication for SMS Delivery
If you are encountering authentication issues when using custom URLs for SMS notification delivery, it may be helpful to change the authentication type. This is because some providers require basic authentication.
Basic authentication via PRTG
As of PRTG 20.1.60, PRTG includes the HTTP Authentication option for custom SMS providers.
To activate the option, follow these steps:
- Go to Setup | System Administration | Notification Delivery, section SMS Delivery.
- Set the Configuration Mode to Enter a custom URL for a provider not listed.
- Enter the custom URL that you want to use.
- Set HTTP Authentication to Use HTTP basic authentication.
- Click Save to save your settings.
Basic authentication via registry hack
The registry key that we have provided in PRTG 18.2.41 still works. If you apply this registry hack, you will be able to use basic authentication for SMS delivery.
Caution: Please back up your system before manipulating the Windows registry!
- Open the registry editor and navigate to the following key:
- On a 64-bit Windows system, navigate to
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Paessler\PRTG Network Monitor\Server\Core
- On a 32-bit Windows version, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Paessler\PRTG Network Monitor\Server\Core
- On a 64-bit Windows system, navigate to
- Create a new DWORD: in the current path, right-click, choose New | DWORD Value, and name the new value CustomSMSBasicAuth.
- Set the value of CustomSMSBasicAuth to 1: right-click on CustomSMSBasicAuth and select Modify.... In the value data field, enter 1. Confirm with Ok.
- Restart your PRTG core server.
Setting the value of the DWORD to 0 (or deleting it) will disable basic authentication for SMS delivery again.
Created on May 22, 2018 10:04:42 AM by
Brandy Greger [Paessler Support]
Last change on Jul 7, 2020 12:37:27 PM by
Brandy Greger [Paessler Support]
Votes:
0
Hi,
After I apply the DWORD (and restart core server) I still do not see the possibility to enter username &password voor basic auth when selecting custom sms url. the username and password fields are still only show when selecting a predefined provider.
Where does the username and password have to be filled in while having custom url selected?
thanks.
Votes:
0
Hi there,
These fields are not available for the Custom URL. You can submit BASIC User Credentials in the URL itself though:
http://username:[email protected] |
Best regards.
Add comment