I would like to log the delivery of my notifications for troubleshooting purposes. Is there a function to achieve that?
3 Replies
This article applies as of PRTG 22
Notification delivery logging
Extended notification delivery logging can be helpful to troubleshoot issues with the delivery process. For this reason, we provide a registry key option. If you apply this registry hack, notification delivery logs are stored in your PRTG data directory.
Important notice: Notification delivery logging is only meant for troubleshooting purposes in case of delivery issues. Activate it only for this purpose. Deactivate it afterward and manually delete the log files. Otherwise, you might get an error message during the normal use of notifications: Error sending xyz: Cannot open file xyz\Notification Log(xyz). |
Steps to go
Make sure to back up your system before you make changes to the Windows registry.
- Open the registry editor and navigate to the following keys:
- 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 and select New|DWORD Value, and name the new value LogNotificationDelivery.
- Set the value of LogNotificationDelivery to 1: Right-click LogNotificationDelivery and select Modify…. In the value field, enter 1. Confirm with Ok.
- Restart the PRTG core server.
- Let PRTG run for some time, so that the SMTP relay can take place more than once.
- The log files are generated with their timestamp as names in the following subfolders of the PRTG data directory:
- Notification Delivery Debug Log (MX Server)
- Notification Delivery Debug Log (SMTP Relay 1)
- Notification Delivery Debug Log (SMTP Relay 2)
- Notification Delivery Debug Log (HTTP)
- Notification Delivery Debug Log (SMS)
- Notification Delivery Debug Log (Amazon SNS) (as of PRTG 15.4.21)
If you encounter issues with notification delivery, zip the log files and send them to us.
Setting the value of the DWORD to 0 (or deleting it) disables notification delivery logging again. Delete the log files manually afterward.
More
Created on Jul 11, 2013 11:53:17 AM by
Gerald Schoch [Paessler Support]
Last change on Jan 3, 2023 9:28:41 AM by
Brandy Greger [Paessler Support]
Is the DWORD created in 32bit or 64 bit?
Hello Jorge,
please use 32 bit.
64 bit would be QWORD.
Please log in or register to enter your reply.
Add comment