Configuring Performance Traps
Use the following configuration statements to configure performance traps:
- snmp notify alarm category category-name ...
- snmp notify alarm category category-name alarm alarm-name {
- interval interval;
- critical critical;
- major major;
- minor minor;
- }
To configure performance traps:
- From configuration mode, access the configuration statement
that configures the type of performance trap.
- [edit]
- user@host# edit snmp notify
- Specify the type of trap and the trap name.
- [edit snmp notify]
- user@host# set alarm category category-name alarm alarm-name
You can select from the list of trap types and their associated traps or create new traps.
- (Optional) Specify the interval at which the variable
associated with the trap is polled.
- [edit snmp notify alarm category category-name alarm alarm-name]
- user@host# set interval interval
- Specify the threshold above which a critical alarm is
generated.
- [edit snmp notify alarm category category-name alarm alarm-name]
- user@host# set critical critical
- Specify the threshold above which a major alarm is generated.
- [edit snmp notify alarm category category-name alarm alarm-name]
- user@host# set major major
- Specify the threshold above which a minor alarm is generated.
- [edit snmp notify alarm category category-name alarm alarm-name]
- user@host# set minor minor
