IBM Tivoli Monitoring, Version 6.3

tacmd managesit

Description

Use the tacmd managesit command to start or stop situations in the Tivoli Enterprise Monitoring Server. You can specify one or more situations using the -s|--situation option. You can also specify a managed system type by using the -t|--type option to start or stop all the situations of the specified type. The user can also optionally specify the Tivoli® Enterprise Monitoring Server names on which the situations have to be started or stopped by using the -n|--temsname option. You must log in by using the tacmd login command before running the tacmd managesit command.

CLI syntax

tacmd managesit
                     {-s|--situation}SITUATIONNAMES
                     {-o|--option}START | STOP
                     [{-n|--temsname}TEMSNAME]
                            

tacmd managesit
                     {-t|--type} TYPE
                     {-o|--option} START | STOP  
                     [{-n|--temsname}TEMSNAME]
  

where:
-s|--situation
Name or names of the situations to be started or stopped. If you include either the & character or the < character in the situation name, you must quote the name, for example, "abc&def" or "abc<def".
-t|--type
Specifies the two-digit character code for a system type. All the situations of this type will be started or stopped.
-o|--option
Specifies whether the situation is to be started or stopped on the Tivoli Enterprise Monitoring Server. The allowed values for this option are START and STOP.
-n|--temsname
Specifies the names of the Tivoli Enterprise Monitoring Servers on which the situations have to be started or stopped. If not specified, the situations are started or stopped on the HUB Monitoring Server by default.

CLI example

This example is used to start the situations specified by the -s option. The situations NT_System_File_Critical NT_Service_Error are started on the Tivoli Enterprise Monitoring Server.
   tacmd managesit -s NT_System_File_Critical  NT_Service_Error -o start
This example is used to stop all the situations of type NT on the specified Tivoli Enterprise Monitoring Server.
   tacmd managesit –t NT –o stop –n REMOTE_HDCHASDSTC0061

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback