Hi Solarwinds community,
We are looking for a way for NPM/NCM to send a CLI script when an alert is triggered based on a specific variable (in this case snmp-server location). When a switch is up, with a particular custom property, and snmp-server location does not = X, the switch needs a pre-written config file located out on a tftp server. When location does = X, the alert is not triggered.
For example - When alert is triggered, send a CLI command script that will copy a TXT config file to startup from another TFTP server, then reload the switch.
i.e. - copy tftp://x.x.x.x/xxxx.txt startup, then reload.
We have tried this inside the alert manager below but can't seem to figure out the correct syntax. Is there a different / better way to accomplish the goal of updating the entire config on alert trigger? Each config text file would be named according to the host name of the switch, which we can query, so that the script will always look for the correct config file based on which switch alerted.
