View Issue Details

IDProjectCategoryView StatusLast Update
1479RackTablesSNMPpublic2015-08-09 22:25
Reporterbiser.todorov Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformCisco Nexus 3048 
Product Version0.20.10 
Target Version0.20.11Fixed in Version0.20.11 
Summary1479: SNMP gives error on OID '9.12.3.1.3.1106'
DescriptionWhen you try to run SNMP sync on Cisco Nexus 3048 network switch you will get an error seeing that OID '9.12.3.1.3.1106' is unknown
Additional InformationYou can easy fix this by adding few rows in wwwroot/inc/snmp.php
At the beginning of the file where are all $iftable_processors add:

$iftable_processors['nexus-3048-1000TX'] = array
(
        'pattern' => '@^Ethernet([[:digit:]]/[[:digit:]]+)$@',
        'replacement' => 'e\\1',
        'dict_key' => '24', // From database - check wwwroot/inc/install.php
        'label' => '\\1',
        'try_next_proc' => TRUE,
);
$iftable_processors['nexus-3048-49-to-52-1000SFP'] = array
(
        'pattern' => '@^Ethernet([[:digit:]]+/)?(49|50|51|52)$@',
        'replacement' => 'e\\1\\2',
        'dict_key' => '9-1084',
        'label' => '\\1\\2',
        'try_next_proc' => FALSE,
);


After that in OID section after the '9.12.3.1.3.1084' array:
        '9.12.3.1.3.1106' => array
        (
                'dict_key' => 1412,
                'text' => 'N3K-3048P: 48 RJ-45/100-1000TX + 4 SFP+/1000-10000',
                'processors' => array ('nexus-3048-1000TX', 'nexus-3048-49-to-52-1000SFP', 'nexus-mgmt'),
        ),

TagsNo tags attached.

Activities

biser.todorov

biser.todorov

2015-06-03 11:22

reporter   ~0002843

dict_key should be 2333
'dict_key' => 2333,
biser.todorov

biser.todorov

2015-06-03 12:25

reporter   ~0002845

And this section
                $nxos_codes = array
                (
                        '4.0' => 963,
                        '4.1' => 964,
                );

Should be changed to:
                $nxos_codes = array
                (
                        '4.0' => 963,
                        '4.1' => 964,
                        '4.2' => 1365,
                        '5.0' => 1410,
                        '5.1' => 1411,
                        '5.2' => 1809,
                        '6.0' => 1643,
                        '6.1' => 2028,
                );
adoom42

adoom42

2015-06-03 16:49

administrator   ~0002847

Please create a pull request in GitHub.

Issue History

Date Modified Username Field Change
2015-06-03 10:34 biser.todorov New Issue
2015-06-03 10:34 biser.todorov Status new => assigned
2015-06-03 10:34 biser.todorov Assigned To => adoom42
2015-06-03 11:22 biser.todorov Note Added: 0002843
2015-06-03 12:25 biser.todorov Note Added: 0002845
2015-06-03 16:49 adoom42 Note Added: 0002847
2015-06-03 16:49 adoom42 Status assigned => feedback
2015-08-09 22:25 adoom42 Assigned To adoom42 =>
2015-08-09 22:25 adoom42 Status feedback => closed
2015-08-09 22:25 adoom42 Resolution open => fixed
2015-08-09 22:25 adoom42 Fixed in Version => 0.20.11
2015-08-09 22:25 adoom42 Target Version => 0.20.11