H.1 Variables that can be used
This section describes the variables that are available for the commands to be used for automated actions. For automated actions, see 2.5.2(4) Automated actions and remote commands.
The following table lists the variables.
Variable name |
Value |
Availability for resource collection |
Availability for process monitoring |
Availability for service monitoring |
---|---|---|---|---|
$DATE$ |
Event date (format: yyyy/mm/dd) |
Y |
Y |
Y |
$TIME$ |
Event time (format:hh:mm:ss) |
Y |
Y |
Y |
$SERVERNAME$ |
Name of the server to be monitored |
Y |
Y |
Y |
$IPADDRESS$ |
IP address of the server to be monitored |
Y |
Y |
Y |
$RSCID$ |
Target resource ID |
Y |
N |
N |
$CATEGORY$ |
Target resource category name |
Y |
N |
N |
$RSCNAME$ |
Target resource name |
Y |
N |
N |
$SUBRSCNAME$ |
Target resource subresource name |
Y |
N |
N |
$INSTANCE$ |
Target instance name |
Y |
N |
N |
$DATAVALUE$ |
Target data value |
Y |
N |
N |
$THRESHOLD_WAR$ |
Warning threshold for target resource |
Y |
N |
N |
$THRESHOLD_CRI$ |
Critical threshold for target resource |
Y |
N |
N |
$APPLICATION$ |
Target application name |
N |
Y |
Y |
$PROCESSNAME$ |
Target process name
|
N |
Y# |
N |
$PROCESSCOUNT$ |
Number of active target processes |
N |
Y# |
N |
$THRESHOLD_UP$ |
Upper threshold for target process |
N |
Y# |
N |
$THRESHOLD_LOW$ |
Lower threshold for target process |
N |
Y# |
N |
$STATUS$ |
Status the resource, application, or process after the change
|
Y |
Y |
Y |
$SERVICENAME$ |
|
N |
N |
Y |
$SERVICESTATUS$ |
|
N |
N |
Y |