event filter show
Display the list of existing event filters.
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The event filter show command displays all the event filters which are configured. An event filter is used to select the events of interest and is made up of one or more rules, each of which contains the following three fields:
- name - event (message) name.
- severity - event severity.
- snmp-trap-type - event SNMP trap type.
- Type - include or exclude. When an event matches an include rule, it will be included into the filter, whereas it will be excluded from the filter if it matches an exclude rule.
There are three system-defined event filters provided for your use:
- default-trap-events - This filter matches all ALERT and EMERGENCY events. It also matches all Standard, Built-in SNMP trap type events.
- important-events - This filter matches all ALERT and EMERGENCY events.
- no-info-debug-events - This filter matches all non-INFO and non-DEBUG messages (EMERGENCY, ALERT, ERROR and NOTICE).
The system-defined event filters cannot be modified or deleted.
Parameters
- { [-fields <fieldname>, ...]
- If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
- | [-instance ]}
- If you specify the -instance parameter, the command displays detailed information about all fields.
- [-filter-name <text>] - Filter Name
- Selects the event filters that match this parameter value.
- [-position <integer>] - Rule Position
- Selects the event filters that match this parameter value.
- [-type {include|exclude}] - Rule Type
- Selects the event filters that match this parameter value. The rule types are as follows:
- include - Events matching this rule are included in the specified filter.
- exclude - Events matching this rule are excluded in the specified filter.
- [-message-name <text>] - Message Name
- Selects the event filters that match this parameter value.
- [-severity <text>, ...] - Severity
- Selects the events that match this parameter value. Severity levels:
- EMERGENCY - Disruption.
- ALERT - Single point of failure.
- ERROR - Degradation.
- NOTICE - Information.
- INFORMATIONAL - Information.
- DEBUG - Debug information.
- * - Includes all severities.
- [-snmp-trap-type <text>, ...] - SNMP Trap Type
- Selects the event filters that match this parameter value. The SNMP trap types are as follows:
- Standard - Traps defined in RFCs.
- Built-in - Enterprise traps specific to events.
- Severity-based - Traps specific to events that do not belong to the above two types.
- * - Includes all SNMP trap types.
Examples
The following example displays the event filters:
cluster1::> event filter show
Filter Name Rule Rule Message Name SNMP Trap Type Severity
Position Type
----------- -------- --------- ---------------------- --------------- --------
default-trap-events
1 include * * EMERGENCY, ALERT
2 include * Standard, Built-in
*
3 exclude * * *
important-events
1 include * * EMERGENCY, ALERT
2 exclude * * *
no-info-debug-events
1 include * * EMERGENCY, ALERT, ERROR, NOTICE
2 exclude * * *
7 entries were displayed.
cluster1::> event filter show -snmp-trap-type Standard
Filter Name Rule Rule Message Name SNMP Trap Type Severity
Position Type
----------- -------- --------- ---------------------- --------------- --------
default-trap-events
2 include * Standard, Built-in
*
cluster1::> event filter show -snmp-trap-type "*"
Filter Name Rule Rule Message Name SNMP Trap Type Severity
Position Type
----------- -------- --------- ---------------------- --------------- --------
default-trap-events
1 include * * EMERGENCY, ALERT
3 exclude * * *
important-events
1 include * * EMERGENCY, ALERT
2 exclude * * *
no-info-debug-events
1 include * * EMERGENCY, ALERT, ERROR, NOTICE
2 exclude * * *
6 entries were displayed.
Give documentation feedback