HP Operations Manager for Windows  

Add automatic commands to policy rules


For every rule, you can configure an automatic command to be run when the rule is matched. For example, you could configure a log file Entry policy to automatically delete the contents of C:\Temp when the System event log reports "The C: disk is at or near capacity."

For every automatic command, you can set the following properties:

HP Operations allows you to define how the management server is informed about the progress of local automatic commands.

To set up an automatic command

  1. Right-click the policy and select All Tasks Edit...
  2. Select Rules.
  3. Select the rule to which you want to add a command.
  4. Select Modify.
  5. Select Actions.
  6. Select Automatic Command.
Note NOTE:
If you want to prevent automatic commands from being run on a node other than the node where the message originates, add the following registry key to the registry:

HKLM\SOFTWARE\Hewlett-Packard\OVEnterprise\Management server\MsgActSrv:

Name: DISABLE_ALL_REMOTE_ACTIONS
Type: REG_SZ
Value: TRUE

If you set this registry key, note that you may need to reconfigure existing policies (for example, policies supplied by Smart Plug-ins) to function properly with this restriction.

Related Topics: