4.3.2 Variables used for the definition of service linkage monitoring job information
For a service linkage monitoring job, you can define and use information that changes with each job execution as variables.
- Organization of this subsection
(1) Types of variables
When defining service linkage monitoring job information, you can define and use the following items as variables. For details on specific locations where variables are defined and on definition items for which variables can be used, see 7. Operation.
-
Variables that store the values specified in custom event job definitions
-
Variables that store environment variables of the service linkage monitoring job execution environment
These variables work by reading the environment variables configured for daemons corresponding to the types of linked monitoring jobs. The daemons are started at startup of JP1/AJS3 services, and therefore system environment variables and other variables when such services are started are available.
-
Variables reserved by the system and available by default
Variables that are automatically set when a service linkage monitoring job is executed are variables reserved by the system and available by default.
Variable name
Description
?CSASUUID?
UUID acquired when the service linkage monitoring job execution started
?CSASSTARTDAY?
System date when the service linkage monitoring job execution started
?CSASSTARTTIME?
System time when the service linkage monitoring job execution started
-
Variables that store the results obtained by extracting the standard output (JSON) of the executed command lines in the JMESPath query syntax
Based on the extracted information, only the result that fulfills the condition for monitoring completion will be saved in the corresponding variable.
-
Variables that store the values of authentication information
(2) Format of variable names
The format of variable names used for service linkage monitoring jobs is ?CSAany-character-string?.
For details about the format that can be specified for service linkage monitoring job information, see 7. Operation.
(3) How to use variables
When you reference variables in the definition items of the service linkage monitoring job information, specify all the variables in the formant of ?CSAany-character-string? as they are.
(4) Resolution of variables
The value of a variable is resolved when the service linkage monitoring job is executed. Note that if the variable is undefined, the variable portion is resolved as an empty character string.