Passing Event, Incident, Problem Information to an OS Command or Script
The notification system passes information to an OS script or executable using system environment variables.
Conventions used to access environmental variables vary depending on the operating system:
-
UNIX: $ENV_VARIABLE
-
Windows:%ENV_VARIABLE%
The notification system sets the following environment variables before calling the script. The script can then use any or all of these variables within the logic of the script.