ssopsstart
Format
- To start monitoring all targets:
ssopsstart [-S connection-destination-server-name] -all
- To specify an application or server and start monitoring:
-
(a) When you specify an application (either -a or -af is needed)
ssopsstart [-S connection-destination-server-name] {-a application-name,... | -af group-definition-file,group-name} [-s monitoring-server-name,... | -sf group-definition-file,group-name]
(b) When you specify a server (either -s or -sf is needed)
ssopsstart [-S connection-destination-server-name] [-a application-name,... | -af group-definition-file,group-name] {-s monitoring-server-name,... | -sf group-definition-file,group-name}
- To specify the name of a monitoring status definition file and start monitoring:
ssopsstart [-S connection-destination-server-name] -i monitoring-status-definition-file-name
- To output the command usage:
ssopsstart -h
Function
The ssopsstart command starts process or service monitoring.
Options
-S connection-destination-server-name
Specify the monitoring manager processes for which you want to start monitoring. Specify the connection destination server name as a host name or IP address in 255 bytes or less. When this option is not specified, process monitoring at the local host will start.
-all
Starts monitoring all the monitoring applications defined in the monitoring app configuration file in the monitoring servers defined in the monitoring condition configuration file.
-a application-name,...
Starts monitoring the specified application. If no monitoring server is defined in the monitoring condition configuration file, nothing is performed. To specify multiple application names, delimit them with a comma (,).
This option cannot be specified together with the -af option.
-af group-definition-file-name,group-name
Starts monitoring the applications defined in the specified group definition file. If no monitoring server is defined in the monitoring condition configuration file, nothing is performed.
Specify the group definition file in 512 bytes or less, including the path name.
This option cannot be specified together with the -a option.
-s monitoring-server-name,...
Starts monitoring the specified monitoring server. If the monitoring server defined in the monitoring condition configuration file does not exist, nothing is performed.
Specify the host name or IP address in 255 bytes or less. To specify multiple server names, delimit the names with a comma (,).
This option cannot be specified together with the -sf option.
-sf group-definition-file-name,group-name
Starts monitoring the monitoring servers defined in the specified group definition file. If the monitoring server defined in the monitoring condition configuration file does not exist, nothing is performed.
Specify the group definition file in 512 bytes or less, including the path name.
This option cannot be specified together with the -s option.
-i monitoring-status-definition-file-name
Starts the monitoring operation defined in the specified monitoring status definition file.
-h
Outputs the command usage. This option cannot be specified together with other options.
Examples
-
The following example starts monitoring applications uap01 and uap02 in monitoring server apm01:
ssopsstart -a uap01,uap02 -s apm01
-
The following example starts monitoring the applications in a group apps that are defined in a group definition file /tmp/file.grp:
ssopsstart -af /tmp/file.grp,apps
-
The following example starts the monitoring operation defined in a monitoring status definition file /tmp/file.ps:
ssopsstart -i /tmp/file.ps
Return values
0 |
Normal termination |
-1 |
Execution error such as incorrect arguments |
Note
If you execute this command, do not cancel it before processing finishes.