Missing OID in linkd's config for VLAN classes

Description

One more specific OID in the list under

<vendor vendor_name="cisco" sysoidRootMask=".1.3.6.1.4.1.9"
class-name="org.opennms.netmgt.linkd.snmp.CiscoVlanTable">

<specific>1.799</specific>

The switch is a 2960G 8 port:

Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(40)SE, RELEASE SOFTWARE (fc3)

Model revision number : A0
Motherboard revision number : B0
Model number : WS-C2960G-8TC-L

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger November 1, 2011 at 3:18 PM

I popped these OIDs into the config file. Marking as fixed.

commit 2a7e96a2d8fb630b52df60f4e115425a816c93c4

Alexander Hoogerhuis October 29, 2011 at 7:09 AM

I don't know the code enough,but basically it's just telling linkd how to co poke around for getting a table of the VLANs. Possibly you could do some regexp matching to the sysDescr.0 to see if it's a real Cisco box (and not a Linksys, which tends to be embedded Linux):

SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(40)SE, RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2007 by Cisco Systems, Inc.

As long as you find "Cisco IOS" then I haven't seen a device that haven't needed to get it's OID on the list. Another Possible strategy would be to match the model number, (C29..) and other known model servies 35xx, 36xx, 37xx, 65xx, etc.

Antionio would be the one to ask, as he built it this way.

But in the short term, just commit the specifics and score a cheap bug close.

Benjamin Reed October 28, 2011 at 10:23 PM

I don't know enough about the equipment, but is there a reason we need to have this huge list of hardcoded specifics, or is it something that can be determined at scan-time? Seems silly to have to keep updating that every time there are new devices.

Alexander Hoogerhuis October 28, 2011 at 7:08 PM

And another: 1.615
Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(25)SEB4, RELEASE SOFTWARE (fc1)
Model revision number : C0
Motherboard revision number : A0
Model number : WS-C3560G-24TS-S

Alexander Hoogerhuis October 28, 2011 at 7:06 PM

Here's another missing one: 1.359
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA6, RELEASE SOFTWARE (fc1)
Model revision number: M0
Motherboard revision number: B0
Model number: WS-C2950T-24

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created October 28, 2011 at 6:31 PM
Updated January 27, 2017 at 4:21 PM
Resolved November 1, 2011 at 3:18 PM