3.6.0 Matrix Server 3.6.0 Administration Guide (5697-7081, December 2007)
Chapter 13: Configure Event Notifiers and View Events 164
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
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 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 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.
• Event details, formatted in XML, are passed to the standard input
(stdin) of the script or program.