Hi everybody,
I'm trying to get traps from my snmp agent. Here is the extract of the MIB
concerning the table containing these traps :
rbTrapEventLogTable OBJECT-TYPE
> SYNTAX SEQUENCE OF RbTrapEventLogEntry
> MAX-ACCESS not-accessible
> STATUS current
> DESCRIPTION
> "This table containes trap information for the last 1000
> traps."
> ::= { rbAuthorizationAndTraps 21 }
>
> rbTrapEventLogEntry OBJECT-TYPE
> SYNTAX RbTrapEventLogEntry
> MAX-ACCESS not-accessible
> STATUS current
> DESCRIPTION
> "Table entry"
> INDEX { trapEventLogSeqNum }
> ::= { rbTrapEventLogTable 1 }
>
> RbTrapEventLogEntry ::= SEQUENCE {
> trapEventLogSeqNum Unsigned32,
> trapEventLogId Integer32,
> trapEventLogSeverity TrapSeverity,
> trapEventLogType INTEGER,
> trapEventLogCategory INTEGER,
> trapEventLogSource DisplayString,
> trapEventLogVarBindNumber Integer32,
> trapEventLogVarBindSize Integer32,
> trapEventLogAddVarAttributes DisplayString,
> trapEventLogDateAndTime DisplayString
> }
But as you can see, this table contains the last 1000 traps. I would like to
get only the ones which trapEventLogType is "LinkUp" or "LinkDown". How can
I do that ?
Thank you,
François
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users