View Issue Details

IDProjectCategoryView StatusLast Update
1331RackTablesSNMPpublic2018-11-14 14:50
Reporterflaminidavid Assigned Toadoom42  
PrioritynoneSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product Version0.20.8 
Summary1331: SNMP Sync Juniper MX104/MX480
DescriptionPatch for Juniper MX104/MX480


dictionary.php:

50000 => array ('chapter_id' => 17, 'dict_value' => '[[Juniper%GPASS%MX104 | http://www.juniper.net/products_and_services/mx_series/index.html]]'),



snmp.php


Line 1098:

$iftable_processors['juniper-ge'] = array
(
    'pattern' => '@^ge-([[:digit:]]+)/([[:digit:]]+/[[:digit:]]+)$@',
    'replacement' => '\\0',
    'dict_key' => '4-1077', // SFP/empty
    'label' => 'slot \\1 port \\2',
    'try_next_proc' => FALSE,
);


Line 2967:

    '2636.1.1.1.2.97' => array
    (
        'dict_key' => 5000,
        'text' => 'Juniper MX104',
        'processors' => array ('juniper-DPCE-R-4XGE-XFP','juniper-ge'),
    ),
    '2636.1.1.1.2.25' => array
    (
        'dict_key' => 926,
        'text' => 'Juniper MX480',
        'processors' => array ('juniper-DPCE-R-4XGE-XFP','juniper-ge'),
    ),



Line 3390:

    case preg_match ('/^2636\.1\.1\.1\.2\.97/', $sysObjectID): // Juniper MX104
        updateStickerForCell ($objectInfo, 2, 50000);
        checkPIC ('1-681');
        commitAddPort ($objectInfo['id'], 'RE0-CON0', '1-681', 'RE0-CON0', ''); // console
        commitAddPort ($objectInfo['id'], 'RE1-CON0', '1-681', 'RE1-CON0', ''); // console
        checkPIC ('1-24');
        commitAddPort ($objectInfo['id'], 'RE1-ETH0', '1-24', 'RE1-ETH0', ''); // fxp
        commitAddPort ($objectInfo['id'], 'RE0-ETH0', '1-24', 'RE0-ETH0', ''); // fxp
        checkPIC ('1-16');
        commitAddPort ($objectInfo['id'], 'PS0', '1-16', 'PS0', '');
        commitAddPort ($objectInfo['id'], 'PS1', '1-16', 'PS1', '');
        break;
    case preg_match ('/^2636\.1\.1\.1\.2\./', $sysObjectID): // Juniper
        checkPIC ('1-681');
        commitAddPort ($objectInfo['id'], 'console', '1-681', 'console', ''); // DB-9 RS-232 console
        break;
TagsNo tags attached.
Attached Files
juniper2636mx104.txt (1,990,754 bytes)
juniperifTablemx104.txt (79,313 bytes)   
junipersysDescrmx104.txt (185 bytes)   
juniperEntitymx104.txt (158 bytes)   

Activities

adoom42

adoom42

2014-09-03 21:58

administrator   ~0002475

Those are modular devices. Please attach a full SNMP walk.

https://wiki.racktables.org/index.php/FAQ#Why_does_the_SNMP_sync_feature_return_Unknown_OID_.28n.n.n.n.n.29
flaminidavid

flaminidavid

2014-09-03 23:16

reporter   ~0002477

Done. Thanks!
S53B32

S53B32

2015-09-28 12:05

reporter   ~0002979

Was this patch created? I am looking to use Racktables with SNMP sync on my MX104 and this would be very useful.

Thanks
flaminidavid

flaminidavid

2015-09-28 16:33

reporter   ~0002981

Hi S53B32, this has been open for a while, you may want use the patch I created in the meantime, quick & dirty but it works, you can find it in the description field above.
S53B32

S53B32

2015-09-29 15:55

reporter   ~0002983

Thank you very much, flaminidavid.

Do I just need to add the code to dictionary.php and snmp.php ?

Can you tell me how to reload the dictionary.php into Racktables? I cannot find this information anywhere online!

Thanks again
flaminidavid

flaminidavid

2015-09-30 23:20

reporter   ~0002985

Hi S53B32, you just need to add the code to those files. Make a backup of your production environment just in case. Changes are applied as soon as you save the files.
S53B32

S53B32

2015-10-01 01:15

reporter   ~0002987

Superb, thank you!

Issue History

Date Modified Username Field Change
2014-09-03 18:14 flaminidavid New Issue
2014-09-03 18:14 flaminidavid Status new => assigned
2014-09-03 18:14 flaminidavid Assigned To => adoom42
2014-09-03 21:58 adoom42 Note Added: 0002475
2014-09-03 21:58 adoom42 Status assigned => feedback
2014-09-03 21:58 adoom42 Tag Attached: modular
2014-09-03 23:14 flaminidavid File Added: juniper2636mx104.txt
2014-09-03 23:14 flaminidavid File Added: juniperifTablemx104.txt
2014-09-03 23:14 flaminidavid File Added: junipersysDescrmx104.txt
2014-09-03 23:14 flaminidavid File Added: junipersysObjectIDmx104.txt
2014-09-03 23:16 flaminidavid File Added: juniperEntitymx104.txt
2014-09-03 23:16 flaminidavid Note Added: 0002477
2014-09-03 23:16 flaminidavid Status feedback => assigned
2015-09-28 12:05 S53B32 Note Added: 0002979
2015-09-28 16:33 flaminidavid Note Added: 0002981
2015-09-29 15:55 S53B32 Note Added: 0002983
2015-09-30 23:20 flaminidavid Note Added: 0002985
2015-10-01 01:15 S53B32 Note Added: 0002987
2018-11-14 14:50 infrastation Tag Detached: modular