Configuring a Boolean trigger test
When you enable a Boolean trigger test, a Boolean entry is created automatically. All fields in the entry have default values.
To configure a Boolean trigger test:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter trigger view. | snmp mib event trigger owner trigger-owner name trigger-name | N/A |
3. Enter trigger-Boolean view. | test boolean | N/A |
4. Specify a Boolean comparison type. | comparison { equal | greater | greaterorequal | less | lessorequal | unequal } | The default Boolean comparison type is unequal. |
5. Set the reference value for the Boolean trigger test. | value integer-value | The default reference value for a Boolean trigger test is 0. |
6. Configure the event for the Boolean trigger test. | event owner event-owner name event-name | By default, no event is configured for a Boolean trigger test. |
7. (Optional.) Specify the object list to be added to the notification triggered by the event. | object list owner group-owner name group-name | By default, no object list is specified for a Boolean trigger test. |
8. (Optional.) Enable the event to be triggered when the trigger condition is met at the first sampling. | startup enable | By default, the event is triggered when the trigger condition is met at the first sampling. |