ssopsstop
Format
- To stop monitoring all the targets:
ssopsstop [-S connection-destination-server-name] -all
- To specify an application or server and stop monitoring:
-
(a) When you specify an application (either -a or -af is needed)
ssopsstop [-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)
ssopsstop [-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 stop monitoring:
ssopsstop [-S connection-destination-server-name] -i monitoring-status-definition-file-name
- To output the command usage:
ssopsstop -h
Function
The ssopsstop command stops process or service monitoring.
Options
-S connection-destination-server-name
Specify the monitoring manager processes or services for which you want to stop 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 stop.
-all
Stops monitoring all the targets.
-a application-name
Stops monitoring the specified application. If the monitoring condition configuration file does not contain the specified application, the command takes no action. 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
Stops monitoring the applications defined in the specified group definition file. If the application defined in the group definition file does not exist in the monitoring condition configuration file, nothing is performed.
Specify the group definition file in 512 bytes or less, including the path name. Specify the group name in 20 bytes or less.
This option cannot be specified together with the -a option.
-s monitoring-server-name
Stops 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
Stops monitoring the monitoring servers defined in the specified group definition file. If the monitoring server defined in the group definition file does not exist in the monitoring condition configuration file, nothing is performed.
Specify the group definition file in 512 bytes or less, including the path name. Specify the group name in 20 bytes or less.
This option cannot be specified together with the -s option.
-i monitoring-status-definition-file-name
Stops 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 stops monitoring applications uap01 and uap02 in monitoring server apm01:
ssopsstop -a uap01,uap02 -s apm01
-
The following example stops monitoring the applications in a group apps that are defined in a group definition file /tmp/file.grp:
ssopsstop -af /tmp/file.grp,apps
-
The following example stops the monitoring operation defined in a monitoring status definition file /tmp/file.ps:
ssopsstop -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.