View Issue Details

IDProjectCategoryView StatusLast Update
613RackTablesSNMPpublic2021-09-28 18:48
Reportermrunkel Assigned Toinfrastation  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.20.0 
Target Version0.22.0Fixed in Version0.22.0 
Summary613: Adding support for Dell 55xx Powerconnect swtiches
DescriptionI've added support for the Dell 55xx switches here is the diff for dictionary.php and snmp.php.


diff -u dictionary.php /var/www/racktables/inc/dictionary.php

--- dictionary.php 2012-09-09 12:36:18.000000000 -0700
+++ /var/www/racktables/inc/dictionary.php 2012-09-22 09:29:47.532733996 -0700
@@ -1869,6 +1869,9 @@
        1784 => array ('chapter_id' => 12, 'dict_value' => 'Cisco%GPASS%SF 300-24P'),
        1785 => array ('chapter_id' => 12, 'dict_value' => 'Cisco%GPASS%SG 300-10'),
        1786 => array ('chapter_id' => 14, 'dict_value' => 'Marvell ROS 1.1'),
+ 1787 => array ('chapter_id' => 12, 'dict_value' => 'Dell PowerConnect%GPASS%5524'),
+ 1788 => array ('chapter_id' => 12, 'dict_value' => 'Dell PowerConnect%GPASS%5548'),
+

 # Any new "default" dictionary records must go above this line (i.e., with
 # dict_key code less, than 50000). This is necessary to keep AUTO_INCREMENT


diff -u snmp.php /var/www/racktables/inc/snmp.php
--- snmp.php 2012-09-09 12:36:18.000000000 -0700
+++ /var/www/racktables/inc/snmp.php 2012-09-22 11:31:30.541088555 -0700
@@ -1233,6 +1233,24 @@
        'try_next_proc' => FALSE,
 );

+$iftable_processors['dell-5500-10000SFP'] = array
+(
+ 'pattern' => '@^te(\d+)/(\d+)/(\d+)$@',
+ 'replacement' => 't\\1/\\3',
+ 'dict_key' => '9-1084',
+ 'label' => '\\1/\\3',
+ 'try_next_proc' => FALSE,
+);
+
+$iftable_processors['dell-5500-1000T'] = array
+(
+ 'pattern' => '@^gi(\d+)/(\d+)/(\d+)$@',
+ 'replacement' => 'g\\1/\\3',
+ 'dict_key' => 24,
+ 'label' => '\\1/\\3',
+ 'try_next_proc' => FALSE,
+);
+
 $iftable_processors['3com-49-to-52-1000SFP'] = array
 (
        'pattern' => '@^GigabitEthernet(\d+)/(\d+)/(49|50|51|52)$@',
@@ -2164,6 +2182,20 @@
                'processors' => array ('generic-g45-to-g48-combo-1000SFP', 'generic-g-any-1000T'),
                'ifDescrOID' => 'ifName',
        ),
+ '674.10895.3030' => array
+ (
+ 'dict_key' => 1787,
+ 'text' => 'PowerConnect 5524: 24 RJ-45/10-100-1000T(X) + 4 10G ports',
+ 'processors' => array ('dell-5500-10000SFP','dell-5500-1000T'),
+ 'ifDescrOID' => 'ifName',
+ ),
+ '674.10895.3031' => array
+ (
+ 'dict_key' => 1788,
+ 'text' => 'PowerConnect 5548: 48 RJ-45/10-100-1000T(X) + 4 10G ports',
+ 'processors' => array ('dell-5500-10000SFP','dell-5500-1000T'),
+ 'ifDescrOID' => 'ifName',
+ ),
        '10977.11825.11833.97.25451.12800.100.4.4' => array
        (
                'dict_key' => 577,
@@ -2506,6 +2539,7 @@
        case preg_match ('/^674\.10895\.300(3|4|7|9)/', $sysObjectID):
        case preg_match ('/^674\.10895\.301(0|4|7|9)/', $sysObjectID):
        case preg_match ('/^674\.10895\.302(0|1)/', $sysObjectID):
+ case preg_match ('/^674\.10895\.303(0|1)/', $sysObjectID):
        case preg_match ('/^3955\.6\.1\.2048\.1/', $sysObjectID): // Linksys
                // one DB-9 RS-232 and one AC port
                checkPIC ('1-681');
Additional InformationI am confused about how the updates to dictionary.php are supposed to take effect. It seems that I'm setting the type_id correctly, but that entry in dictionary.php doesn't seem to make it into the database.
Tagsstackable
Attached Files
snmpwalk-dell-switch.txt (3,598,854 bytes)

Activities

adoom42

adoom42

2012-09-23 20:33

administrator   ~0000807

Dictionary entries are added when an upgrade takes place. I added the 5524/5548 models. They will appear in 0.20.1, but with different IDs as the ones you used were already taken.

5524 -> 1791
5548 -> 1792

The SNMP discovery functionality is being put on hold as this product line support stacking and that will be handled differently in the near future.
mrunkel

mrunkel

2012-09-23 20:45

reporter   ~0000809

Excellent. I will keep an eye out.

If there is anything I can do to help, please let me know.
adoom42

adoom42

2013-03-03 00:10

administrator   ~0001203

Since this is a stackable switch, the ENTITY-MIB output is required. Please attach the output of a full snmpwalk.
mrunkel

mrunkel

2013-03-05 19:39

reporter   ~0001233

I've attached the output as requested. Let me know if you need anything else.
infrastation

infrastation

2021-09-28 18:48

administrator   ~0004371

Mark, your changes are in the master branch now (commit cf04e71 with follow-up adaptations), they will be available in RackTables 0.22.0. Thank you!

Issue History

Date Modified Username Field Change
2012-09-23 20:13 mrunkel New Issue
2012-09-23 20:13 mrunkel Status new => assigned
2012-09-23 20:13 mrunkel Assigned To => adoom42
2012-09-23 20:33 adoom42 Note Added: 0000807
2012-09-23 20:45 mrunkel Note Added: 0000809
2013-02-24 20:45 adoom42 Sub-category => SNMP-Stackable
2013-02-24 20:54 adoom42 Tag Attached: stackable
2013-03-03 00:10 adoom42 Note Added: 0001203
2013-03-03 00:10 adoom42 Status assigned => feedback
2013-03-05 19:38 mrunkel File Added: snmpwalk-dell-switch.txt
2013-03-05 19:39 mrunkel Note Added: 0001233
2013-03-05 19:39 mrunkel Status feedback => assigned
2021-09-28 18:48 infrastation Assigned To adoom42 => infrastation
2021-09-28 18:48 infrastation Status assigned => closed
2021-09-28 18:48 infrastation Resolution open => fixed
2021-09-28 18:48 infrastation Fixed in Version => 0.22.0
2021-09-28 18:48 infrastation Target Version => 0.22.0
2021-09-28 18:48 infrastation Note Added: 0004371