Adding event suppressions with the CLI


This topic describes how to add single Event Suppression Periods by entering commands from the CLI.

The Manage Event Suppression command line syntax is:

manageEventSuppression [options] add instPath typePath beginTime endTim e repeat

The following table lists the required and optional parameters for the manage event suppression command tool.

Positional parameters

Description

Add

Indicates that this command is adding Event Suppression Periods.

instPath

Object Instance Path for the object subject to the suppression.

typePath

Object Type Path for the object subject to the suppression.

beginTime

Begin time for the suppression period.

Time is of the format :yyyy-MM-ddHH:mm:ss     

Where yy is the year, MM in the month number, dd is the day of the month, HH is the hour, mm is the minute.

endTime

End time for the suppression period; see beginTime for the format.

Repeat

Repeat type. Can be any case.

NONENo repeat

EVERYDAYRepeat the suppression every day

EVERYWEEKRepeat the suppression on the same day each week

EVERYMONTHRepeat the suppression on the same day each month

EVERYYEARRepeat the suppression on the same day each year

Optional parameters

Description

-hor

-? or

--help

Provides a brief help message.

-u username or

--user username

Indicates the parameter username used for connecting to the services.

-p password or

--password password

Password used for connecting to the services. If -p or -s is not specified, the user is prompted for the password. -p is mutually exclusive with -s.

-s or

--stdin

Specify password via stdin. This is mutually exclusive with -p.

-d

Run the command in debug mode.

-v

Run the command in verbose mode.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*