Table of ContentsLibraryView in Frames

Example of trap definitions

Here is a group of traps that you can define either at the command line or with FilerView.

The following command-line example sets a group of traps. The trap descriptions are numbered in brackets.

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

A cifstotalops trap [1] 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.