Is it possible to pass the command line value for a process monitor in SAM alert?
Can anyone help me?
Hi san360
Do you mean create a batch script (containing the command)?
Edit the (or create a new) SAM template, from http://<Orion-server>/Orion/APM/Admin/ApplicationTemplates.aspx
Add a new component to the template and try using either the "Windows PowerShell Monitor" or the "Windows Script Monitor".
Have a look at Windows PowerShell monitor and Windows Script monitor KBs to get you started.
There are also some example scripts in your Program Files (x86)\SolarWinds\Orion\APM\SampleScriptMonitors folder.
Is that what you meant?
Or in the alert Action, you can add an action to be executed, when the alert is triggered.
This will allow you to execute a script or executable, when the alert is triggered. This can be a local file on the Orion server or a UNC path to a remote file.
We are monitoring various processes running on windows and linux servers. I would like to be able to pass the command line value for process in alert triggered by solarwinds.