LMADMINAINFO Environment Variable
LMADMINAINFO
is an environment variable set when an alert triggers. You can use it in the program that is run when the alert triggers. It is defined in accordance with the Common Gateway Interface (CGI) format. It is the same format as the query_string
environment variable defined by an HTTP server.
LMADMINAINFO
is set to a character string consisting of a series of name=value
pairs with no spaces or line breaks. All blanks in the string are encoded using the “+
” character. All “+
” characters are encoded using the “%2B
” string.
The following example is formatted with line breaks to make reading easier, but remember not to use any spaces or line breaks in your LMADMINAINFO
.
- eventime=Day+Mon+dd,+yyyy+hh:mm:ss&
alarm_name=name&
alarm_type=server_down&
folder=folder&
lmservers=machine_name&
notice=auto_restart_info&
message=user-defined_message&
See Also