r4596 snmp support for Cisco 3750G-24T
authorAlexey Andriyanov <alan@al-an.info>
Mon, 20 Jun 2011 16:44:31 +0000 (16:44 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Mon, 20 Jun 2011 16:44:31 +0000 (16:44 +0000)
wwwroot/inc/snmp.php

index e7fa1f4..e9f77a6 100644 (file)
@@ -32,7 +32,7 @@ $iftable_processors['catalyst-chassis-25-to-26-100FX/MT-RJ'] = array
 
 $iftable_processors['catalyst-chassis-any-1000T'] = array
 (
-       'pattern' => '@^GigabitEthernet([[:digit:]]+/)?([[:digit:]]+)$@',
+       'pattern' => '@^GigabitEthernet((?:[[:digit:]]+/){0,2})([[:digit:]]+)$@',
        'replacement' => 'gi\\1\\2',
        'dict_key' => 24,
        'label' => '\\2X',
@@ -683,6 +683,12 @@ $known_switches = array // key is system OID w/o "enterprises" prefix
                'text' => 'WS-C3560G-48TS: 48 RJ-45/10-100-1000T(X) + 4 SFP/1000',
                'processors' => array ('catalyst-chassis-49-to-52-1000SFP', 'catalyst-chassis-any-1000T'),
        ),
+       '9.1.516' => array
+       (
+               'dict_key' => 181,
+               'text' => 'WS-C3750G-248: 24 RJ-45/10-100-1000T(X)',
+               'processors' => array ( 'catalyst-chassis-any-1000T' ),
+       ),
        '9.1.626' => array
        (
                'dict_key' => 147,