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

Event Management352
5. To filter events by severity, use the <event-filter-severity> tag. For example, to prevent
informational events from being forwarded to HP SIM, enter the following between the
<HP-config> tags:
<event-filter-severity>INFORMATIONAL</event-filter-severity>
You can also filter out the following event severities:
UNKNOWN
•CRITICAL
•MAJOR
•MINOR
INFORMATIONAL
•WARNING
6. To filter events by element type, use the <event-filter-element-type> tag. For example,
to prevent events from hosts from being forwarded to HP SIM, enter the following between the
<HP-config> tags:
<event-filter-element-type>
HOST</event-filter-element-type>
You can filter out the following element types:
•HOST
•SWITCH
STORAGE_SYSTEM
TAPE_LIBRARY
7. To filter events by name, use the <event-filter-element-name> tag. For example, to
prevent events from an element named ElementA from being forwarded to HP SIM, enter the
following between the <HP-config> tags:
<event-filter-element-name>ElementA</event-filter-element-name>
8. Restart Storage Essentials.
NOTE: You do not need to restart HP SIM.
The following is an example of an hp-event-config.xml file. This file instructs Storage Essentials not to
forward any events that are Informational or from a host to HP SIM.
<?xml version="1.0" encoding="UTF-8"?>
<HP-config>HP configuration
<host-name>HostNameA</host-name>
<trusted-host>HostNameA/trusted-host>
<trusted-host>192.168.1.1</trusted-host>
<admin-user>HostNameA\administrator</admin-user>
<SIM-on-windows>true</SIM-on-windows>
<admin-reset-password>password</admin-reset-password>
<event-filter-severity>INFORMATIONAL</event-filter-severity>
<event-filter-element-type>HOST</event-filter-element-type>
</HP-config>