Quick Help
Rules for recognizing received traps are defined on this page. Rule
number simply tells you where you're at on the list of Trap receiver
rules. Click "next" and "prev" to scroll through the list. To advance
directly to a specific rule, enter the desired number in the
"Showing" box, then click Update. Device
number specifies which device on the SNMP Client Devices list this
trap will be received from. If traps are received from devices not
listed on the Devices page, they will be discarded. Setting device
number to zero will result in the rule being removed from the list the
next time the configuration file is saved. If
the trap received is a v1 (version 1) trap, you can specify the trap
number expected as "a:b" where "a" is the generic trap number (for
example, 6 for private enterprise) and "b" is the specific trap number
as found in the device's MIB file. Leave this set to 0:0 if no v1 trap
number is expected or should be disregarded. (Note: SNMP v2c
traps will not have this number, and if trap type is detected as v2c,
then this entry will be disregarded.) The
variable name that is expected to be found in the trap should be given
as an OID for v2 traps, and optionally for v1 traps. If this OID is
not found in the trap message, no further action is taken for this trap
rule. If no OID is given, especially for v1 traps, then the trap number
alone is enough to qualify this trap, and you should use the Fixed
Value as the value to be placed into the result object. Special
case use of Trap Name OID: If the trap is v1 and trap numbers are
given, then this OID, if provided, will be used to check the enterprise
OID of the trap message received. If the OID is provided in the rule,
then it must match the v1 trap enterprise OID before the rule will be
considered successful. Data
hint helps the data parser figure out what the varible is. If ASN
encoding is recognized as other than an octet string, the hint will be
disregarded. If an octet string is found, then the parser needs to know
if it should be treated as RFC 6340 floating point. If no hint is
given (standard ASN), then the octet string will be treated as an ASCII
character string, in which case ASCII to numeric conversion will be
attempted automatically if the result object is numeric. Note that
standard, well-known ASN types are recognized as well as the NetSnmp
ASN type for opaque float. If
a matching variable name is found, and the data parser succeeds in
parsing the data value, then it will be placed into the object
identified as "Result Object". However, if Fixed Value is checked, then
whatever value is entered next to the check box will be placed into the
result object just because the variable name was found. In the case of
v1 traps, if no OID is given, then the trap number alone is enough to
casue the fixed value to be placed into the result object. Timeout
is optional, and will be in effect if a non-zero time in seconds is
provided. If given, then the timeout value will be placed into the
result object after this amount of time has elapsed since receiving the
trap. If another of the same trap is received, the timer will be reset.
Only after this time has expired without receiving the trap, but after
receiving it at least once, the timeout value is placed into the result
object. Click Update
when all entries have been made. After all configuration has been
entered, be sure to go to the Config File page and click Save so that
changes are retained through power cycles. To
insert or delete trap rules in the table, enter the trap number and
click the appropriate button. To add a new rule to the end of the list
when already at the end, simply click the Next button at the top. |