HP Storage Essentials SRM 6.0 User Guide for Enterprise Edition and Standard Edition SRM Software (July 2008)

HP Storage Essentials SRM 6.0 User Guide 373
Send E-mail - Policy Manager sends an e-mail when the condition is fulfilled. Enter a
comma-separated list of e-mail addresses, and then click OK.
Generate Event - Policy Manager generates an event of the specified event type, and the event
appears in Event Manager. After you select a severity level, click OK. For a list of the severity
levels you can select from, see ”Severity Levels” on page 373.
Execute a Custom Command - Policy Manager executes a custom command on the management
server when the condition is fulfilled. Enter a command that will execute the script in the box,
and click OK.
The software assumes you are in the %JBOSS4_DIST%\server\appiq\remotescripts
directory on the management server when the script is executed. You can use environment
variables in your script, such as POLICY_NAME and POLICY_DESCRIPTION, where
POLICY_NAME provides the policy name and POLICY_DESCRIPTION provides a description
of the policy. See ”Software Environment Variables for Scripting” on page 296 for more
information.
Prefix the command with “start” if the custom command triggers a user interface component, for
example, Microsoft Internet Explorer or a command prompt window. For example, if you want
the custom command to open a command prompt window and list the contents in the directory,
you would prefix the command as follows:
start dir
Severity Levels
When you create or modify a policy, you can select the severity level for which you want Policy
Manager to generate an event. The following severity levels are available:
IMPORTANT: Since the severity level for an element is set by the manufacturer, the
meanings of the severity levels vary. It is best to view the description of the event.
Unknown - The severity level is not known.
Informational - An example of an informational event is a progress report event for firmware
download operation currently in progress.
Warning - An example of a warning is one or more new physical fabric objects (device port,
switch, or fabric) have appeared.
Minor - An example of a minor event is a physical fabric object (switch port or fabric) has
changed state.
Major - An example of a major event is one or more physical fabric objects (device port,
switch, or fabric) have disappeared.
Critical - An example of a critical event is Brocade switches that have a failed firmware
download and the failure reason code for each respective switch.
Creating a Utilization or Backup Policy
You can create a utilization or backup policy that generates an event, sends an e-mail, or runs a
custom command when an element is being overused. For example, you can configure Policy