nv-l
[Top] [All Lists]

RE: [NV-L] mib2trap

To: "Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
Subject: RE: [NV-L] mib2trap
From: "Sean Lawrence" <Sean.Lawrence@cantire.com>
Date: Tue, 20 Mar 2007 15:29:18 -0400
Delivery-date: Tue, 20 Mar 2007 19:34:01 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <1A5AB46AA116114FB0EF78BBE5AA14A103694A82@CP2K3TLCEMLV1.capitol.local>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
References: <1A5AB46AA116114FB0EF78BBE5AA14A103694A82@CP2K3TLCEMLV1.capitol.local>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
Thread-index: AcdrI5QNxAyxQIDhTIelFiTERWtwCQAAh64g
Thread-topic: [NV-L] mib2trap

Look at the top of your mib for IMPORTS statements

 

IMPORTS

        MODULE-IDENTITY,

        OBJECT-TYPE,

        NOTIFICATION-TYPE,

        Gauge32,

        Integer32

                FROM SNMPv2-SMI

        TEXTUAL-CONVENTION,

        DisplayString,

        TruthValue

                FROM SNMPv2-TC

        MODULE-COMPLIANCE,

        OBJECT-GROUP,

        NOTIFICATION-GROUP

                FROM SNMPv2-CONF

        ciscoMgmt

                FROM CISCO-SMI;

 

This mib needed the CISCO-SMI prepended to the beginning of the file to run mib2trap against it. You are missing the MIB that defines those left over nodes.

 

Sean Lawrence 

Systems Automation Technical Specialist

905-790-5728


From: nv-l-bounces@lists.ca.ibm.com [mailto:nv-l-bounces@lists.ca.ibm.com] On Behalf Of Catalina Martinez
Sent: March 20, 2007 3:12 PM
To: Tivoli NetView Discussions
Subject: [NV-L] mib2trap

 

Hello,

AIX 5.2 Netview 7.1.5 trying to run mib2trap but get this output. there script does contain a few entries. just wondering what these "left over node" mean..

 

Left-over node ciscoIfExtDot1qEtherTypeGroup ::= { ciscoIfExtensionMIBGroups 5 } (0)

Left-over node ciscoIfExtensionSystemGroup ::= { ciscoIfExtensionMIBGroups 4 } (0)

Left-over node ciscoIfExtensionTableIntfGroup1 ::= { ciscoIfExtensionMIBGroups 3 } (0)

Left-over node ciscoIfExtensionTableIntfGroup ::= { ciscoIfExtensionMIBGroups 2 } (0)

Left-over node ciscoIfExtensionTablePacketGroup ::= { ciscoIfExtensionMIBGroups 1 } (0)

Left-over node ciscoIfExtensionMIBConformance ::= { ciscoIfExtensionMIB 2 } (0)

Left-over node ciscoIfExtensionMIBObjects ::= { ciscoIfExtensionMIB 1 } (0)

Left-over node ciscoIfExtensionMIBNotifications ::= { ciscoIfExtensionMIB 0 } (0)

Left-over node cieIfInterfaceEntry ::= { cieIfInterfaceTable 1 } (1)

Left-over node cieIfPacketDiscontinuityTime ::= { cieIfPacketStatsEntry 12 } (1)

Left-over node cieIfOutputQueueDrops ::= { cieIfPacketStatsEntry 11 } (137)

Left-over node cieIfInputQueueDrops ::= { cieIfPacketStatsEntry 10 } (137)

Left-over node cieIfInAbortErrs ::= { cieIfPacketStatsEntry 9 } (137)

Left-over node cieIfInIgnored ::= { cieIfPacketStatsEntry 8 } (137)

Left-over node cieIfInOverrunErrs ::= { cieIfPacketStatsEntry 7 } (137)

Left-over node cieIfInFramingErrs ::= { cieIfPacketStatsEntry 6 } (137)

Left-over node cieIfInGiantsErrs ::= { cieIfPacketStatsEntry 5 } (137)

Left-over node cieIfInRuntsErrs ::= { cieIfPacketStatsEntry 4 } (137)

Left-over node cieIfLastOutHangTime ::= { cieIfPacketStatsEntry 3 } (138)

Left-over node cieIfLastOutTime ::= { cieIfPacketStatsEntry 2 } (138)

Left-over node cieIfLastInTime ::= { cieIfPacketStatsEntry 1 } (138)

Left-over node cieIfUtilEntry ::= { cieIfUtilTable 1 } (1)

Left-over node cieIfStatusListEntry ::= { cieIfStatusListTable 1 } (1)

Left-over node cieIfNameMappingTable ::= { ciscoIfExtIfNameMapping 1 } (14)

Left-over node cieIfDot1dBaseMappingTable ::= { ciscoIfExtDot1dBaseMapping 1 } (14)

Left-over node cieIfDot1dBaseMappingPort ::= { cieIfDot1dBaseMappingEntry 1 } (134)

Enterprise object id not found for trap cieLinkDown, (6,1).Enterprise object id not found for trap cieLinkUp, (6,2)

 

THIS IS THE SCRIPT THAT WAS GENERATED:

/usr/OV/bin/addtrap -l cieLinkDown -g 6 -s 1 \

   -n ciscoIfExtensionMIB  \

   -o A  -c "LOGONLY" -t 0 \

   -S 1  \

   -T \

   -D "A cisco specific linkDown notification

signifies that the SNMP entity, acting in an

agent role, has detected that the ifOperStatus

object for one of its communication links is

about to enter the down state from some other

state (but not from the notPresent state).

The varbinds for this notification indicate the

interface information of the communication

link."  \

   -e cieLinkDown  \

   -F '$E $G $S $# args: $*'

/usr/OV/bin/addtrap -l cieLinkUp -g 6 -s 2 \

   -n ciscoIfExtensionMIB  \

   -o A  -c "LOGONLY" -t 0 \

   -S 1  \

   -D "A cisco specific linkUp trap signifies that

the SNMP entity, acting in an agent role, has

detected that the ifOperStatus object for one

of its communication links left the down state

and transitioned into some other state (but not

into the notPresent state). The varbinds for

this notification indicate the interface

information of the communication link."  \

   -e cieLinkUp  \

   -F '$E $G $S $# args: $*'

 

 

THIS WAS THE UNKNOWN TRAP THAT NETVIEW RECEIVED:

 

X Trap: generic 6 specific 5 args (1):  [1] enterprises.cisco.ciscoMgmt.276.1.1.2.1.9.22188032 (Integer): 29

 

I got the EID mib for 1.3.6.1.4.9.9.276

.

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>
  • [NV-L] mib2trap, Catalina Martinez
    • RE: [NV-L] mib2trap, Sean Lawrence <=

Archive operated by Skills 1st Ltd

See also: The NetView Web