3.7.0 HP StorageWorks HP Scalable NAS File Serving Software administration guide - HP Scalable NAS 3.7 for Linux (AG513-96002, October 2009)
• Event details, formatted in XML, are passed to the standard input (stdin) of the
script or program.
Script requirements
For the script to work properly, the following requirements must be met:
• The script or program must be accessible from each node in the cluster. It is re-
commended that an identical copy of the script or program be placed on local
storage on each node to ensure that it will always be available.
• The script must be able to be executed on each node. For example, if perl is used,
the appropriate interpreter must be installed on each node and the appropriate
extension must be associated with the interpreter on each node.
• The script or program must either use full path names to any external commands
or set a PATH variable appropriate to each language. (A system PATH variable
is not passed to the script.)
Script variables
Variables are accessed in a manner consistent with the language. For example, the
VAR variable is accessed in C as getenv("VAR") and in perl as $ENV{VAR}.
The following variables can be set for an event. (All of the variables are not required
for each event).
MxS-event-messageMxS-event-catalog-version
MxS-event-process-idMxS-event-category
MxS-event-serialMxS-event-cluster-description
MxS-event-severityMxS-event-cluster-id
MxS-event-severity-nameMxS-event-epoch
MxS-event-sourceMxS-event-event-id
MxS-event-userMxS-event-event-time
MxS-event-location
HP Scalable NAS File Serving Software administration guide 247