Deleting event suppressions with the CLI by specifying a file
When deleting a list of event suppressions for a specific object, you can specify the object properties by specifying a file that contains those properties. When you specify the -f option and a CSV file, the delete verb deletes a list of event suppressions for a specific object.
The CSV format file must contain either the first 2 or all 5 of the following parameters in this order:
- instPath – The object's instance path
- typePath – The object's type path
- beginTime – The time to begin the suppression, in the format yyyy-MM-dd HH:mm:ss
- endTime – The time to end the suppression, in the format yyyy-MM-dd HH:mm:ss
- repeat – The type of repeat, NONE, EVERYDAY, EVERYWEEK, EVERYMONTH, EVERYYEAR
In CSV format, any comma in a parameter can be escaped by enclosing the parameter in quotes. Quotes can be escaped by using two quotes.
Manage Event Suppression command line syntax:
manageEventSuppression [options] –filename delete
The following table lists the required and optional parameters for the manage event suppression command tool.
Indicates that this command is deleting Event Suppression Periods.
Name of a file containing the event suppression information. Required to read events from a file. If the filename is -, the information is read from stdin.
Provides a brief help message.
Indicates that the parameter username used for connecting to the services.
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.
Specify password via stdin. This is mutually exclusive with -p.
Any suppression for supervisory objects is included.
Any suppression for descendent objects is included.
Run the command in debug mode.
Run the command in verbose mode.