View Issue Details

IDProjectCategoryView StatusLast Update
525RackTablesSNMPpublic2012-02-10 05:18
Reporterbiffhero Assigned Toadoom42  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.10 
Target Version0.20.0Fixed in Version0.20.0 
Summary525: SNMP: Unknown OID '9.1.366'
DescriptionThis is a Catalyst 3550 switch.

from "show hard"


Cisco WS-C3550-24 (PowerPC) processor (revision B0) with 65526K/8192K bytes of memory.
TagsNo tags attached.

Activities

adoom42

adoom42

2012-02-09 03:13

administrator   ~0000584

You need to submit the SNMP data described in the wiki: https://sourceforge.net/apps/mediawiki/racktables/index.php?title=FAQ#Why_does_the_SNMP_sync_feature_return_Unknown_OID_.28n.n.n.n.n.29

Also, please consider creating a patch.
biffhero

biffhero

2012-02-09 18:27

reporter   ~0000591

I made the following changes:


$ rcsdiff -r1.1 snmp.php
===================================================================
RCS file: RCS/snmp.php,v
retrieving revision 1.1
diff -r1.1 snmp.php
853a854,859
> '9.1.366' => array
> (
> 'dict_key' => 1606,
> 'text' => 'WS-C3550-24-SMI: 24 RJ-45/10-100TX + 2 GBIC/1000',
> 'processors' => array ('catalyst-chassis-any-1000GBIC', 'catalyst-chassis-any-100TX'),
> ),

$ rcsdiff -r1.1 dictionary.php
===================================================================
RCS file: RCS/dictionary.php,v
retrieving revision 1.1
diff -r1.1 dictionary.php
1673a1674
> 1606 => array ('chapter_id' => 12, 'dict_value' => 'Cisco%GPASS%Catalyst 3550-24 SMI'),

I also updated the database, as follows:


SELECT *
FROM `Dictionary`
WHERE `dict_key` =1606
LIMIT 0 , 30

12 1606 Cisco%GPASS%Catalyst 3550-24 SMI

Was the last step necessary?
adoom42

adoom42

2012-02-10 05:18

administrator   ~0000592

Good job, you were very close. All I did was change the dict_key from 1606 to 400. The C3550-24 already exists. From dictionary.php:

400 => array ('chapter_id' => 12, 'dict_value' => 'Cisco%GPASS%Catalyst 3550-24'),

I committed it to trunk, it will be available in 0.20 (r4954).

Thanks for the patch.

Issue History

Date Modified Username Field Change
2012-02-08 22:27 biffhero New Issue
2012-02-08 22:27 biffhero Status new => assigned
2012-02-08 22:27 biffhero Assigned To => adoom42
2012-02-09 03:13 adoom42 Note Added: 0000584
2012-02-09 03:13 adoom42 Status assigned => feedback
2012-02-09 18:27 biffhero Note Added: 0000591
2012-02-10 05:18 adoom42 Note Added: 0000592
2012-02-10 05:18 adoom42 Status feedback => closed
2012-02-10 05:18 adoom42 Resolution open => fixed
2012-02-10 05:18 adoom42 Fixed in Version => 0.20.0
2012-02-10 05:18 adoom42 Target Version => 0.20.0