View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
366 | RackTables | SNMP | public | 2010-09-10 12:10 | 2011-07-10 09:31 |
Reporter | infrastation | Assigned To | infrastation | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 0.19.7 | Fixed in Version | 0.19.7 | ||
Summary | 366: HP ProCurve 2610-48-PWR | ||||
Description | Name: HP ProCurve 2610-48-PWR output of the snmpwalks is attached it's a 48 port switch with to uplink Port 1-48 are 100 Base-T Port 49-50 are 1000 Base-T Port 51-52 are SFP modules, but those are additional | ||||
Tags | No tags attached. | ||||
2010-09-10 12:10
|
|
2010-09-27 01:19
|
snmp-changes.diff (3,721 bytes)
--- RackTables-0.18.4-orig/inc/snmp.php 2010-07-06 12:40:57.000000000 -0400 +++ rt-snmp/inc/snmp.php 2010-09-26 20:49:30.000000000 -0400 @@ -137,6 +137,24 @@ 'try_next_proc' => FALSE, ); +$iftable_processors['catalyst-blade-any-100TX'] = array +( + 'pattern' => '@^FastEthernet([[:digit:]]+/)?([[:digit:]]+/)?([[:digit:]]+)$@', + 'replacement' => 'fa\\1\\2\\3', + 'dict_key' => 19, + 'label' => '\\3X', + 'try_next_proc' => FALSE, +); + +$iftable_processors['catalyst-blade-any-1000T'] = array +( + 'pattern' => '@^GigabitEthernet([[:digit:]]+/)?([[:digit:]]+/)?([[:digit:]]+)$@', + 'replacement' => 'gi\\1\\2\\3', + 'dict_key' => 24, + 'label' => '\\3X', + 'try_next_proc' => FALSE, +); + $iftable_processors['catalyst-blade-13-to-16-1000SFP'] = array ( 'pattern' => '@^GigabitEthernet([[:digit:]]+/)?(13|14|15|16)$@', @@ -245,6 +263,24 @@ 'try_next_proc' => TRUE, ); +$iftable_processors['procurve-49-to-50-1000T'] = array +( + 'pattern' => '@^(49|50)$@', + 'replacement' => '\\1', + 'dict_key' => '24', + 'label' => '\\1', + 'try_next_proc' => TRUE, +); + +$iftable_processors['procurve-51-to-52-minigbic'] = array +( + 'pattern' => '@^(51|52)$@', + 'replacement' => '\\1', + 'dict_key' => '24', + 'label' => '\\1', + 'try_next_proc' => TRUE, +); + $iftable_processors['procurve-modular-100TX'] = array ( 'pattern' => '@^([A-Z][[:digit:]]+)$@', @@ -489,8 +525,38 @@ 'try_next_proc' => FALSE, ); +$iftable_processors['brocade-chassis-any-1000T'] = array +( + 'pattern' => '@^GigabitEthernet([[:digit:]]+/)?([[:digit:]]+/)?([[:digit:]]+)$@', + 'replacement' => 'gi\\1\\2\\3', + 'dict_key' => 24, + 'label' => '\\3', + 'try_next_proc' => FALSE, +); + +$iftable_processors['fortinet-chassis-any-100TX'] = array +( + 'pattern' => '@^port([[:digit:]]+)$@', + 'replacement' => '\\1', + 'dict_key' => 19, + 'label' => '\\1', + 'try_next_proc' => FALSE, +); + $known_switches = array // key is system OID w/o "enterprises" prefix ( + '9.1.516' => array + ( + 'dict_key' => 178, + 'text' => 'Stackable WS-C3750G-24PS-S: n24 RJ-45/10-100-1000TX', + 'processors' => array ('catalyst-chassis-any-1000T', 'catalyst-blade-any-100TX', 'catalyst-blade-any-1000T', 'catalyst-blade-any-100TX'), + ), + '9.1.577' => array + ( + 'dict_key' => 281, + 'text' => 'CISCO2821: 2x RJ-45/10-100-1000T', + 'processors' => array ('catalyst-chassis-any-1000T'), + ), '9.1.248' => array ( 'dict_key' => 393, @@ -804,6 +870,32 @@ 'summit-management' ), ), + '11.2.3.7.11.63' => array + ( + 'dict_key' => 868, + 'text' => 'J9021A: 24 RJ-45/10-100-1000T(X)', + 'processors' => array ('procurve-chassis-1000T'), + ), + + '11.2.3.7.11.79' => array + ( + 'dict_key' => 863, + 'text' => 'J9089A: 48 RJ-45/10-100TX + 2 RJ-45/10-100-1000TX + 2 minigbic', + 'processors' => array('procurve-51-to-52-minigbic', 'procurve-49-to-50-1000T', 'procurve-chassis-100TX'), + ), + '1991.1.3.46.2.1.1.1' => array + ( + 'dict_key' => 1, //Need real key + 'text' => 'FLS624/FLS648: 24/48 RJ-45/10-100-1000T(X) + uplink slot with 4 SFP+', + 'processors' => array('brocade-chassis-any-1000T'), + ), + '12356.101.1.3002 '=> array + ( + 'dict_key' => 1, //Need real key + 'text' => 'FG310B: 10 RJ-45/10-100TX', + 'processors' => array('fortinet-chassis-any-100TX'), + ), + ); function updateStickerForCell ($cell, $attr_id, $new_value) |
Please try the attached patch. | |
2010-09-27 18:12
|
snmp-procurve-2610-24-pwr-2810-48-pwr.patch (1,547 bytes)
Index: inc/snmp.php =================================================================== --- inc/snmp.php (revision 3941) +++ inc/snmp.php (working copy) @@ -272,6 +272,24 @@ 'try_next_proc' => FALSE, ); +$iftable_processors['procurve-49-to-50-1000T'] = array +( + 'pattern' => '@^(49|50)$@', + 'replacement' => '\\1', + 'dict_key' => '24', + 'label' => '\\1', + 'try_next_proc' => TRUE, +); + +$iftable_processors['procurve-51-to-52-minigbic'] = array +( + 'pattern' => '@^(51|52)$@', + 'replacement' => '\\1', + 'dict_key' => '24', + 'label' => '\\1', + 'try_next_proc' => TRUE, +); + $iftable_processors['netgear-chassis-any-1000T'] = array ( 'pattern' => '@^Unit: 1 Slot: 0 Port: ([[:digit:]]+) Gigabit - Level$@', @@ -731,6 +749,20 @@ 'text' => 'J9147A: 44 RJ-45/10-100-1000T(X) + 4 combo-gig)', 'processors' => array ('procurve-45-to-48-combo-1000SFP', 'procurve-chassis-1000T'), ), + '11.2.3.7.11.63' => array + ( + 'dict_key' => 868, + 'text' => 'J9021A: 24 RJ-45/10-100-1000T(X)', + 'processors' => array ('procurve-chassis-1000T'), + ), + + '11.2.3.7.11.79' => array + ( + 'dict_key' => 863, + 'text' => 'J9089A: 48 RJ-45/10-100TX + 2 RJ-45/10-100-1000TX + 2 minigbic', + 'processors' => array('procurve-51-to-52-minigbic', 'procurve-49-to-50-1000T', 'procurve-chassis-100TX'), + ), + '4526.100.2.2' => array ( 'dict_key' => 562, |
Updated patch. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-10 12:10 | infrastation | New Issue | |
2010-09-10 12:10 | infrastation | File Added: 2610.log | |
2010-09-27 01:19 | f0urtyfive | File Added: snmp-changes.diff | |
2010-09-27 01:20 | f0urtyfive | Note Added: 0000141 | |
2010-09-27 18:12 | f0urtyfive | File Added: snmp-procurve-2610-24-pwr-2810-48-pwr.patch | |
2010-09-27 18:12 | f0urtyfive | Note Added: 0000154 | |
2010-09-28 13:05 | infrastation | Status | new => acknowledged |
2011-07-10 08:49 | infrastation | Status | acknowledged => assigned |
2011-07-10 08:49 | infrastation | Assigned To | => infrastation |
2011-07-10 09:31 | infrastation | Status | assigned => closed |
2011-07-10 09:31 | infrastation | Resolution | open => fixed |
2011-07-10 09:31 | infrastation | Fixed in Version | => 0.19.7 |
2011-07-10 09:31 | infrastation | Target Version | => 0.19.7 |