Hello,
Does anyone know how to add get NCM to send an email to myself when a script is executed from NCM?
Thanks,
Chris
@Tistopher There should be a few default alerts already out of the box for this.
I have the following SWQL query sitting on a view for various NCM stuff.
SELECT TOP 10TransferResults.NodeProperties.Nodes.Caption AS [Script Executed on Node], UserName AS [Who Executed Script], MAX(DateTime) AS [When The Script Was Executed]FROM NCM.TransferResultsWHERE Action = 3GROUP BY TransferResults.NodeProperties.Nodes.Caption, UserName, DateTime, ErrorMessage, DeviceOutputORDER BY DATETIME DESC
It doesn't do much, other than show the most recent XX nodes that have had a script run, who ran it, and when the script was executed, having been done within the walls of NCM.
Do either of those help you get closer to your goal?
-Will
I think I sort of get you. I guess your below script is one you have created? The pre-built one's in SolarWinds don't really help if I'm honest, they don't seem to trigger.
Cheers,