HP StorageWorks Clustered File System 3.6.0 Windows Storage Server Edition Administration Guide (403103-005, January 2008)

Table Of Contents
Chapter 13: Configure Event Notifiers and View Events 164
To restore event settings from the command line, use this command:
mx eventnotifier restoreevents [--snmp] [--email] [--script]
Import or Export the Notifier Event Settings
The import and export features and can used if you will be configuring a
new cluster and want to use the notifier event settings that you have
configured on the existing cluster.
Click the Export Definitions button to save the current settings to the file
of your choice. (The default is your home directory.) The exported settings
include all of the event notifiers and their event definition assignments.
The file is written in XML format.
When configuring the new cluster, click Import Definitions to import the
file containing the notifier event settings. The imported settings will
replace the current event notification settings.
To import or export notifier event settings from the command line, use
these commands:
mx eventnotifier import <file.xml>
mx eventnotifier export <file.xml>
Using Custom Notifier Scripts
Custom notifier scripts can be used to access event information in a
flexible way. If you need to act on events in a manner not covered by the
built-in SNMP or Email notifiers, you can write an arbitrary script or
program to parse or act on specific events.
Event Information
When a custom script is invoked for an event, information about the
event is passed in the following ways: