Submit a ticketCall us

Cloud Workloads: Meet Your New Hybrid IT Reality
Have you found yourself in that evolving, hybrid IT grey area and wondering if cloud workloads are now part of your purview? And if so, will monitoring cloud workloads require a new set of dedicated cloud monitoring tools? Your answers: yes, they should be, and no, they don’t.

Find out how SolarWinds® Server & Application Monitor (SAM) can help you monitor your cloud workloads side by side with your on-premises workloads. Register Now.

Home > Success Center > Storage Manager (STM) > SRM Profiler Administrator Guide > Using rules > External scripts > Use scripts

Use scripts

Updated: June 16, 2017

Scripts are associated with Rules, and Rules are associated with Policies. To associate a script with a rule, do the following:

  1. Create a .bat or .sh script file.
  2. Select the rule you want associated with your script. Add or edit the rule to define when the script is run, what script to run, and script parameters. Select Run a Client Script or Run a Server Script. For more information, see below.
  3. Add the rule to a policy, and Push the Policy to Devices.

Example: When editing a Rule, choose the Run Server Script, choose your script from the drop down menu, and enter parameters if applicable. If you have more than one parameter, enter a space after each parameter.


Run Client Script

Select Run Client Script to execute a script on the SRM Profiler agent. Add the path to the script when choosing this option. The script must reside on the same network as the SRM Profiler agent where the script will be executed.

Run Server Script

Select Run Server Script if your script is uploaded to the SRM Profiler server. Server scripts are invoked on the agents that call the script. Parameters are added in the Set the Static Parameter for the script field. If you have more than one parameter, enter a space after each parameter.

Last modified