4.0.0 HP Polyserve Matrix Server Administration Guide (T5392-96052, March 2010)

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 matrix
and want to use the notifier event settings that you have configured on the existing
matrix.
Click Export Definitions 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 matrix, 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:
Event details are placed into a set of environment variables for access by the
custom script or program.
Configure event notifiers and view events176