Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20490

Re: PowerShell Output to Email Alerts

$
0
0

This can be done in the same/similar fashion as the SolarWinds.APM.RealTimeProcessPoller.exe using the Orion SDK/API. Execute the PowerShell script as part of the alert Trigger Action - Execute an external program (note that 32bit PowerShell will be used). You will then return the output/result of the script to the "Notes" field via the Orion SDK. Next you will have a secondary email alert action with a 1-2 minute delay so we can wait for the script to execute and complete with the expected results. This email alert would be configured to send an email alert notification that includes the "${Notes}" field of the alert as part of the message body text.


Viewing all articles
Browse latest Browse all 20490

Trending Articles