Hi Aaron,
   I’ll update the pull request as needed shortly.

Regards
Mark



        Mark Wilkinson
        UNIX Systems Administrator/Developer

[cid:b2ab30.png@548c22d4.4d93b113]      +44 333 240 3207
[cid:69a152.png@8a56c6d7.49b27cb6]      +44 7848 016 221
[cid:835bb7.png@5b712ed3.498238ce]      mark.wilkinson@gamma.co.uk
[cid:7e0942.png@23f15d16.428bf8bf]      http://www.gamma.co.uk

[cid:image5e1376.JPG@8ba675fb.4980e5c6]

  Follow us

[cid:image7d7d69.GIF@21b8c905.41a60a7f][cid:image5cf172.GIF@124f267f.41b2ccd1][cid:image8a234c.GIF@f368f17e.4f903ca7]<http://twitter.com/WeAreGamma>



________________________________



This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of this email are confidential to the ordinary user of the email address to which it was addressed. This email is not intended to create any legal relationship. No one else may place any reliance upon it, or copy or forward all or any of it in any form (unless otherwise notified). If you receive this email in error, please accept our apologies, we would be obliged if you would telephone our postmaster on +44 (0) 808 178 9652 or email postmaster@gamma.co.uk

Gamma Telecom Limited, a company incorporated in England and Wales, with limited liability, with registered number 04340834, and whose registered office is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.
From: adoom42 [mailto:notifications@github.com]
Sent: 02 October 2013 16:20
To: RackTables/racktables
Cc: Mark Wilkinson
Subject: Re: [racktables] SNMP bug #1015 - TPLink TL-SL5428E (#33)


In wwwroot/inc/snmp.php:

> +    'pattern' => 'port ([[:digit:]]+): 10/100 Copper',

> +    'replacement' => 'e\\1',

> +    'dict_key' => 24,

> +    'label' => '\\1',

> +    'try_next_proc' => FALSE,

> +);

> +

> +$iftable_processors['tplink-l2-25-to-28-1000T'] = array

> +(

> +    'pattern' => 'port (25|26|27|28): Gigabit Copper',

> +    'replacement' => 'g\\1',

> +    'dict_key' => 24,

> +    'label' => '\\1',

> +    'try_next_proc' => FALSE,

> +);

> +

Ports 27 and 28 are combo ports. See 11863.6.10.58 as an example.

Also, the doSwitchSNMPmining function should be updated to support this model (so the AC & console ports get added).
Add "case preg_match ('/^11863.1.1.1/', $sysObjectID)" above the "case preg_match ('/^11863.6.10.58/', $sysObjectID)" line and move the "// TPLink" comment accordingly.

—
Reply to this email directly or view it on GitHub<https://github.com/RackTables/racktables/pull/33/files#r6717939>.