6.3.3 Monitoring server definition file
If you want to monitor processes or services, use the monitoring server definition file to define the details of monitoring, including monitoring servers and monitoring intervals.
- Organization of this subsection
(1) Format
In a monitoring server definition file, you can define multiple monitoring servers. The following is a format for the monitoring server definition file.
(2) Items to be specified in the monitoring server definition file
The next table lists the items that must be or can be defined in a monitoring server definition file. You must write a set of these definition items for each monitoring server.
Key name |
Value |
---|---|
server ((character string of up to 255 bytes)) |
Specify the name or IP address of the host on which the process to be monitored operates. |
monitor <<1>> ((1 to 60 minutes)) |
Specify the interval at which the process is to be monitored. |
hcheck <<0>> ((0 to 525,600 minutes)) |
Specify the interval at which health check is to be regularly executed. If you specify 0, health check is not executed regularly. |
When coding a monitoring server definition, note the following:
-
When you omit an optional definition item, you can only omit the value; you must write the key name and an equal sign (=).
-
If a single definition file contains more than one definition with the same value of server, only the first process definition will be regarded as valid and the other process definitions will be ignored.
(3) Example
The following gives an example of a monitoring server definition file.
(4) Note
If monitoring server setting information is output by the ssopsset command with the -sp option specified when the monitoring server is stopped, a hyphen (-) is set for the monitor key in the output information.
If a monitoring server definition file specifying a hyphen (-) in the monitor key is read by the ssopsset command with the -ss or -ssn option specified, monitoring starts with existing settings when the monitoring server is running. If, in such a case, the monitoring server is not running, the monitoring interval is not set by the command.