6.1 Types and execution of service linkage monitoring jobs
You can execute service linkage monitoring jobs as monitoring jobs after creating their monitoring definitions for monitored cloud services.
Each monitoring job is executed using the information defined on the JP1/AJS3 for Cloud Service Applications server and the definition information of the custom event job definition executed on JP1/AJS3 - Manager. The service linkage monitoring information for each monitoring job is obtained from the JP1/AJS3 for Cloud Service Applications server where its definition resides and varies depending on the type of the job.
For a list of monitoring information acquired by service linkage monitoring jobs, see 1.1.2(2) Function to define service linkage monitoring job information.
As described above, a service linkage monitoring job is executed in the order shown below based on the definition on the JP1/AJS3 for Cloud Service Applications server.
- Connection definitions (Connection processing)
-
When connection processing is defined in the connection definitions, the processing for connecting to the cloud service runs in accordance with the information defined in Execution command settings, Execution result judgment (monitoring definition), and Trace information settings (monitoring definition).
When the connection processing result is normal, the processing is executed according to the object monitoring definitions.
- Monitoring definitions (Monitoring processing: Execution command settings)
-
In monitoring processing, the following processing is executed according to the execution command settings:
-
Execute the execution command (information acquisition command).
-
Extract the obtained results according to the JMESPath query syntax to store them in the storage destination of the monitored items.
-
- Connection definitions (Connection termination processing)
-
When connection termination processing is defined in the connection definitions, the processing for termination for the cloud service runs in accordance with the information defined in Execution command settings, Execution result judgment (monitoring definition), and Trace information settings (monitoring definition). Note that this processing is not executed if the connection processing has failed with an error.
- Monitoring definitions (Monitoring processing: Execution result judgment)
-
-
In monitoring processing, the processing of determining whether the monitoring condition is met is executed based on the execution result judgment.
-
The following processing is executed after the time period specified for the monitoring interval elapses:
- Compare the current value of the monitored item stored in Monitoring processing: Execution command settings with the previous value according to the monitoring condition configured in the custom event job definition.
- If the monitoring condition is found to be met after the comparison, put the value in the passing information and end the job normally.
- If the monitoring condition is found not to be met after the comparison, continue the monitoring.
Note that if the return code of the executed command is abnormal, different processing is executed: the job ends abnormally or monitoring is continued according to your setting.
If Monitoring continues is selected in the above monitoring processing, the period specified for the monitoring interval elapses, the authentication definition is read, the connection processing described in Connection definitions (Connection processing), Monitoring definitions (Monitoring processing: Execution command settings), and Monitoring definitions (Monitoring processing: Execution command settings) is executed again, and then the monitoring processing described in this section is executed.
-
- Monitoring definitions (Passing information settings)
-
If the passing information settings are defined in the monitoring definition, the values are set for the passing information name of the custom event job according to the definition when the monitoring job ends normally. However, they are not set if the job ends abnormally.
The above descriptions of the execution processing are independent of the type of service linkage monitoring jobs.
The figure below explains the general flow of execution of the monitoring processing.
|
|
For detailed specifications of, for example, the processing for making a judgment about whether the monitoring condition for each of the types shown above is established, see 6.2 Details of service linkage objects monitoring jobs.