IBM Tivoli Monitoring, Version 6.3

tacmd deleteOverride

Description

Use the tacmd deleteOverride command to delete the situation overrides defined for a specified situation on a managed system or list of managed systems.
Note: If you want to use the current tacmd tepsLogin values for username, password, and server hostname, do not enter any of these options for the deleteOverride command. If you specify values for some, but not all of these options, you are prompted to specify the username and password if they are missing.

CLI syntax

tacmd deleteOverride
                      {-s|--situation} SITNAME
                      {-m|--system} SYSTEM|SYSTEM_LIST
                      [{-u|--userid} TEPS_USERID]
                      [{-w|--password} TEPS_PASSWORD]
                      [{-h|--tepshostname} TEPS_HOSTNAME]
                      [{-f|--force}]

tacmd deleteOverride
                      {-s|--situation} SITNAME
                      {-m|--system} SYSTEM|SYSTEM_LIST
                      [{-u|--userid} TEPS_USERID]
                      [{-w|--password} TEPS_PASSWORD]
                      {-p|--predicate} PREDICATE ...
                      [{-k|--key} KEY_CONDITION ...]
                      [{-c|--calendarentry} CALENDAR_ENTRY]
                      [{-t|--inlinecal} INLINE_CAL_ENTRY]
                      [{-h|--tepshostname} TEPS_HOSTNAME]
                      [{-f|--force}]

where:
-s|--situation
Specifies the situation to delete override definitions for. If you include either the & character or the < character in the situation name, you must use quotation marks around the name, for example, "abc&def" or "abc<def".
-m|--system
Specifies the name of the managed system or managed system group to delete override definitions for. Valid values include letters (upper or lower case), numbers, periods (.), at symbols (@), dollar signs ($), asterisks (*), number signs (#), underscores (_), colons (:) or blanks ( ).
-u|--userid
Specifies the existing User ID to log on to the Tivoli® Enterprise Portal Server.
-w|--password
Specifies the password for user authentication.
-c|--calendarentry
Specifies the name of the calendar entry of the override to delete.
-t|--inlinecal
Specifies the Hourly Schedule entry to remove. For the INLINE_CAL_ENTRY variable, use the [HHmm,HHmm] format, where HH is for hours in 00-23 notation and mm stands for minutes.
-p|--predicate
Specifies the situation formula predicate or predicates for the override to delete. All predicates for the override to delete must be entered. Predicates must be enclosed in double quotation marks and entered in the format "ATTRIBUTE OPERATOR VALUE" with spaces between ATTRIBUTE, OPERATOR, and VALUE. The predicate OPERATOR must be one of the following: "EQ", "NE", "GT", "LT", "GE", or "LE".

The attribute can be entered by using either the formula name or the display name for the attribute. Run the tacmd listOverrides command to view the defined overrides for the situation and managed system.

-k|--key
Specifies the key condition or key conditions for the override to delete. All conditions for the override to delete must be entered. Each key condition must be enclosed in double quotation marks and entered in the format "ATTRIBUTE VALUE" with spaces between ATTRIBUTE and VALUE. The key condition OPERATOR is restricted to the value "EQ".

The attribute can be entered by using either the formula name or the display name for the attribute. Run the tacmd listOverrides command to view the defined overrides for the situation and managed system.

-h|--tepshostname
Specifies the Tivoli Enterprise Portal Server hostname.
-f|--force
Deletes the specified member without asking for confirmation.

CLI example

This example deletes an override with an associated key condition and calendar entry:
tacmd deleteoverride -u sysadmin -w ******** -m Primary:LEVER:NT 
-s NT_NotesServerProcess -c Weekend -p "% Processor Time GE 10" 
-k "Binary Path EQ C:\Notes\NotesServer\nserver.exe"
This example deletes an override with no associated calendar entries or key conditions, by using the force option to suppress the confirmation prompt:
tacmd deleteoverride -u sysadmin -w ******** -m Primary:LEVER:NT 
-s NT_NotesServerProcess -p "% Processor Time GE 20"
This example deletes all overrides for a managed system group:
tacmd deleteoverride -u sysadmin -w ******** -m *NT_SYSTEM -s NT_Disk_Space_Low
This example deletes an inline calendar entry for a managed system group:
tacmd deleteoverride -u sysadmin -w ******** -m *NT_SYSTEM -t 2201

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback