Hello all, I have a python script written that does some various functions to gather info about a down network device. It then sends me an email with the results. I'm trying to setup a Solarwinds alert action that passes as an argument to the script the node that went down. However i'm struggling with getting the script to execute at all using the action manager in Solarwinds. From a command line on the orion server, i can get the script to successfully execute by simply using the command line "C:\Scripts\troubleshooter.py switch_hostname_here". The switch_hostname_here is of course an argument passed to the python script.
When trying to setup the alert action i've tried just about every form of that command as i can come up with but it fails for various reasons and nothing executes. How should the command be structured in the alert manager to execute successfully?