On Aug 17, 2006, at 10:21 AM, Jakob Peterhänsel wrote:
<snmp-device-variables>
npasState, 1.3.6.1.4.1.17219.1.3.0, DEFAULT,"The current state of
the NPAS service"
...
-- MIB TRAPS --
npasTrapState, 1.3.6.1.4.1.17219.800, TRAPVARIABLE, "State Trap"
...
</snmp-device-variables>
Trap variables are designed to match variable values in the varbind
list of the trap. In your sample trap log entry, the varbind list is
empty; there are <no variables>. Hence, the trap variable cannot
change its value.
08/17 15:30:44 TRAP NetPoint ServerRoom:NPAS Strandvejen
1.3.6.1.4.1.17219.800 (1) { <no variables> }
The line above matches the log format for a SNMPv1 trap:
<timestamp> TRAP <mapname>:<device name> <enterprise oid>
(<specific trap>) [{ <val1>, <val2>, ... }]
You probably want npasTrapState to match the value of <specific trap>
when <enterprise oid> == 1.3.6.1.4.1.17219.800. In 4.5, we have
introduced syntax ($SpecificTrap) to support this.
npasTrapState, 1.3.6.1.4.1.17219.800::$SpecificTrap,
TRAPVARIABLE, "State Trap"
Regards,
Bill Fisher
Dartware, LLC
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]