mibble-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mibble-users] 2.9.3 not recognizing SMIv1 traps?


From: Matthew Walker
Subject: [Mibble-users] 2.9.3 not recognizing SMIv1 traps?
Date: Tue, 09 Oct 2012 09:51:02 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

Greetings.

Processing snippet (parsing with mibble 2.9.3)
=============
MibSymbol symbol = mib.getRootSymbol();
MibType type = ((MibValueSymbol)symbol).getType();

if (type instanceof SnmpTrapType) {
            System.out.println("FOUND SNMP TRAP TYPE");
}

MIB snippet
=============
vlanPortMoveTrap    TRAP-TYPE
    ENTERPRISE     samsung
    DESCRIPTION
        "This trap occurs when the specified port is moved from a vlan."
    ::= 603


in both my code and the MIB Parser utility (GUI) that comes with 2.9.3 this value 'vlanPortMoveTrap' is not found. Certainly I am doing something wrong (and my understanding of MIBs and SNMP is rudimentary, at best, so that doesn't help). Basic question - does mibble 2.9.3 support SMIv1 trap definitions. Both my code the parser utility recognize SMIv2 NOTIFICATION-TYPE just fine.

Much Thanks.

-Matthew






reply via email to

[Prev in Thread] Current Thread [Next in Thread]