2.5.1 Setting the monitoring conditions
Set the following as the conditions for monitoring processes and services:
-
Monitoring server, monitoring interval, and health check interval
-
Applications, processes, child processes, and services to be monitored
-
Thresholds
-
Mapping of service operating states
The monitoring conditions are set with the Process Configuration window or the monitoring condition setting command (ssopsset). When the monitoring conditions are set, they are registered in the monitoring condition definition file (an internal SSO file) and monitoring app setting file (an internal SSO file). Thresholds can be set for each application, process, and child process. Mapping of service operating states can be set on an individual-service basis.
The following figure shows how the monitoring conditions are set.
- Organization of this subsection
(1) Notes on setting monitoring conditions (process monitoring)
(a) Notes regarding long monitoring-process names
A monitoring process name can have 60 or fewer bytes. To monitor a process whose name is longer than 60 bytes, use wildcard characters to shorten the process name to 60 bytes or less. You can use asterisks (*) or question marks (?) as wildcard characters. An asterisk can indicate 0 or more characters, and a question mark can indicate 1 character. However, if the version of APM is earlier than 07-10, you can use an asterisk only at the beginning and end of the process name.
- Example:
-
- Actual command line:
/opt/CM2/SSO/bin/ssocolmng -f
- Alternative representation:
/opt/*/ssocolmng*
(b) Notes on specifying a monitoring process name that includes a period (.)
When you set process monitoring conditions for monitoring servers where all of the conditions listed below exist, be careful when specifying a process name that includes a period (.). In such a case, make sure that you specify the character string up to but not including the period (.). However, if the process name begins with a period (.), specify the process name from the beginning, up to but not including the next period (.).
-
The monitoring server runs Windows
-
The APM version is earlier than 07-50-01
-
The tlist command is used to obtain process information
When you specify process monitoring condition settings for monitoring servers that run UNIX and do not satisfy all of the above conditions, you can specify process names that include a period (.) as-is.
(c) Notes on specifying monitoring process names and types for monitoring servers that run Windows
When you specify monitoring process names, make sure that you do not include an extension (such as .exe). As monitoring cannot be executed from the command line, select an executable file name as the monitoring process type.
(d) Notes on specifying monitoring process types for monitoring servers that run UNIX
The following describes how to select the monitoring process type.
- Executable file name:
-
If the APM version is earlier than 07-50, when you specify a monitoring process name that is displayed by the ps command with the -e option, specify an executable file name as the monitoring process type. If the APM version is 07-50 or later, when you specify a monitoring process name that is displayed by the apmproclist command with the -e option, specify an executable file name.
- Command line name:
-
If the APM version is earlier than 07-50, when you set a process name that is displayed by the ps command with the -ef option, you must specify a command line name as the monitoring process type. If the APM version is 07-50 or later, when you set a process name that is displayed by the apmproclist option with the -c option, you must specify a command line name as the monitoring process type. If the process name that you specify is displayed by the ps or apmproclist command with the -e option, specify an executable file name, instead of a command line name. Note that if the monitoring server runs AIX or Linux, Monitoring cannot be executed from the command line while the process is displayed in square brackets in the execution results of ps or apmproclist command.
(2) Notes on setting monitoring conditions (service monitoring)
You can monitor services if the OS of the target monitoring servers is Windows and the APM version is 07-10 or later. The following describes how to specify the names of the Windows services to be monitored.
- Service name:
-
- If the version of APM is 07-50 or later:
-
Set one of the service names displayed by using the apmservlist command.
- If the version of APM is 07-10:
-
From the Start menu, select Control Panel, Administrative Tools, Services, and select the service to be monitored. When the properties are displayed, set the name to be displayed as the service name.