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 165
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.
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 recommended 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 or Powershell 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 VA R variable is accessed in Batch as %VAR%; Powershell
uses $env:VAR; C uses getenv("VAR"); perl uses $ENV{VAR}; and so on.