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

Where do we look for the return code when a Notification runs an EXE

Votes:

0

My EXE supposed to write to a file but the file is blank. Log does say Notification Sent.

8/8/16 1:56:12 PMSystem HealthNotification InfoThreshold Trigger sending EXE (Sensor/Source/ID: 1001/1001/2)
8/8/16 1:56:12 PMSystem HealthNotification InfoThreshold Trigger activated (Sensor/Source/ID: 1001/1001/2)

The Exe works when run manually, it appends new lines to the file which already exist. The script is being run by the local administrator account, signing is set to unrestricted.

Thanks.

custom-script-exe notifications prtg

Created on Aug 8, 2016 6:16:33 PM

Last change on Aug 9, 2016 11:18:29 AM by  Luciano Lingnau [Paessler]



1 Reply

Votes:

0

Hello, thank you for your post. Please check the following article:

If you continue to experience issues, use Process Monitor to debug the notification's execution, PRTG doesn't store any logs regarding the returncode/result of exe notifications, it simply starts the process/script/exe.


Best Regards,
Luciano Lingnau [Paessler Support]

Created on Aug 9, 2016 11:21:32 AM by  Luciano Lingnau [Paessler]




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.