This article applies to PRTG Network Monitor 12 or later
Using NET SEND with PRTG
In order to send messages using NET SEND please follow two simple steps.
Step 1
Add a new batch file to the Notifications\EXE sub folder of your PRTG program directory, with the following content:
cd "C:\WINDOWS\system32"
start net.exe send "%1" "%2"
The first parameter is the DNS name or IP address of your target machine. The second one is the message which should be sent to the target.
Step 2
Add a new "Execute Program" notification with your batch file as "Program file" and add the following parameter:
"YOURTARGETMACHINE" "[%sitename] %device %name %status %down (%message)"
Replace YOURTARGETMACHINE by the DNS name or IP address of the target machine.
Please pay attention to the quotes mentioned above. These are mandatory for correct functionality.
Note
The operating systems Windows XP and Windows Server 2003 are not officially supported anymore. If you run PRTG on one of these operating systems, you have to accept limited monitoring functionality. We do not provide support for any issues that might be caused (directly or indirectly) by using these Windows versions.
Add comment