To define or modify a trap, complete the following step.
| 1 |
snmp traps trapname.parm value trapname is the name of the user-defined trap you want to create or change. parm is one of the following parameters. For more information about these parameters, see SNMP parameters. |
|
The following example sets a cifstotalops trap [1] that is evaluated every 10 seconds [2]. The value received from the previous evaluation and the current value are used to calculate the number of CIFS operations per hour [3]. If the number exceeds one million [4], the trap fires and continues to fire every hour [5] until the total number of CIFS operations drops below one million.
snmp traps cifstotalops.var snmp.1.3.6.1.4.1.789.1.7.3.1.1.1.0 [1]
snmp traps cifstotalops.trigger level-trigger
snmp traps cifstotalops.edge-1 1000000 [4]
snmp traps cifstotalops.interval 10 [2]
snmp traps cifstotalops.backoff-calculator step-backoff [5]
snmp traps cifstotalops.backoff-step 3590 [5]
snmp traps cifstotalops.rate-interval 3600 [3]
snmp traps cifstotalops.priority alert
snmp traps cifstotalops.message snmp.1.3.6.1.4.1.789.1.7.3.1.1.1.0
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00321
File: snmp6.htm
Last updated: 01/20/03 14:16:54