esacli resourceFilters
Use the esacli resourceFilters to set and display the range of resources that are ignored by Electronic Service Agent.
Synopsis
esacli resourceFilters { [ -d ]}
esacli resourceFilters [ -a] {-b begin range} {-e end range}
esacli resourceFilters [ -r ] {-b begin range}{-e end range}
Description
The esacli resourceFilters sets and displays the range of resources that are ignored by Electronic Service Agent problem reporting. This command indicates that it completed successfully with a message: This command completed successfully. When the display option is specified, the resource filters are displayed. This command also displays the current filters when run with only the display option or when no option is specified.
Options
- -d | --display
- Specifies list of resource filters to be displayed
- -a | --add Resource Filter
- Specifies the resource range to be added.
- -r | --remove a resource filter
- Specifies the resource range to be removed
- -b | --begin range of resource filter
- This option specifies the begin range and is a required option when -a or -r is used.
- -e | --end range of resource filter
- This option specifies the end range and is a required option when -a or -r is used.
Exit status
The following table contains the codes that are returned by this command.0
: The operation completed successfully.1
: IBM® Electronic Service Agent instance is not running.10
: Unsupported option was specified. Option: {option}.14
: A required option was not provided. Option: {option}.19
: An option value was not provided when required. Option: {option}.31
: An integer value was not provided when required. Option: {name} Value: {value}.42
: Invalid value {value} specified for the {option} option.
Examples
- Display the Resource Filters
esacli resourceFilters -d 111 222 333 444
- Add a Resource Filter
esacli resourceFilters -a -b 333 -e 444 The operation completed successfully.
- Remove a Resource Filter
esacli resourceFilters -r -b 333 -e 444 The operation completed successfully.