

Administering Critical Events › Understanding Configuration Manager › Automatic Responses to Event Messages › Environment Variables for Messages and Actions
Environment Variables for Messages and Actions
When Event Management invokes a command or script as a result of a COMMAND or UNIXCMD action, the new process is created with a list of new environment variables that contains information about the event that you may find useful. Programs, Windows .bat files, or UNIX/Linux shell scripts can reference these variables, but they cannot be altered.
- EVENT_CATEGORY - Category field from the event
- EVENT_DATEGEN - Date (yyyy/mm/dd) event was generated
- EVENT_DEVICE - Device associated with the event
- EVENT_JOBNAME - Event jobname (if event came from a Job Management Option job)
- EVENT_JOBNO - Event job number (if event came from a Job Management Option job)
- EVENT_JOBQUAL - Event job qualifier (if event came from a Job Management Option job)
- EVENT_JOBSET - Event jobset (if event came from a Job Management Option job)
- EVENT_LOGRECID - ID of the last record written to log when the command is invoked (possibly the current event if it is not suppressed)
- EVENT_MSGNUM - Message number field from the event
- EVENT_NODEID - Node origin associated with the event
- EVENT_OPUSER - User name under which Enterprise Management is processing this message action
- EVENT_PID - ID (decimal) of the process that generated the event
- EVENT_PROGRAM - Program that generated the event (for example, cawto.exe)
- EVENT_REPLID - Reply ID returned if the event was WTOR
- EVENT_SEQNO - Sequence number of the action that invoked this command
- EVENT_SEVERITY - Event severity (usually I, W, E, S, or F)
- EVENT_SOURCE - Event source
- EVENT_STATION - Event station (usually associated with a Job Management Option job)
- EVENT_TAG - Platform tag associated with the event (WNT, HPUNIX, and so forth.)
- EVENT_TEXT - Full text of the event
- EVENT_TIMEGEN - Time (hh:mm:ss) event was generated
- EVENT_TIME8 - Time (hh:mm:ss) command was invoked
- EVENT_TOKEN - Token number of message record that matched this action
- EVENT_TYPE - Type of event: MSG/CMD/REPLY/WTOR
- EVENT_UDATA - User data (value of the CA_UDATA environment variable when the event was generated)
- EVENT_USERID - User origin associated with the event
- EVENT_YYYYMMDD - Date the action was invoked
Copyright © 2010 CA.
All rights reserved.
 
|
|