Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

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.

File:Success_Center/Reusable_content_-_InfoDev/SRM_Profiler/Using_scripts/0300007C_386x411.png

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
11:17, 26 Jun 2017

Tags

Classifications

Public