device types added

Support questions about the MAC Track plugin

Moderators: Moderators, Developers

Post Reply
Author
Message
ggomez
Posts: 1
Joined: Wed Nov 22, 2017 12:17 pm

device types added

#1 Post by ggomez » Wed Nov 22, 2017 1:06 pm

Hi all,

I have been working to implement two new device types:

mactrack_trendnet.php working with a Trendnet TL2-G244 switch
mactrack_tplink.php working with both T2600G-28TS and T1600G-28TS-03

surely the code need to be polished, but I hope I will be useful.
(remember to enable them in mactrack_vendors.php)

best regards
Gabriel
Attachments
mactrack_trendnet.php.txt
(8.87 KiB) Downloaded 99 times
mactrack_tplink.php.txt
(7.78 KiB) Downloaded 106 times

User avatar
Pucho
Cacti User
Posts: 180
Joined: Wed Jul 20, 2016 8:00 pm

Re: device types added

#2 Post by Pucho » Wed Nov 22, 2017 3:00 pm

ggomez wrote:Hi all,

I have been working to implement two new device types:

mactrack_trendnet.php working with a Trendnet TL2-G244 switch
mactrack_tplink.php working with both T2600G-28TS and T1600G-28TS-03

surely the code need to be polished, but I hope I will be useful.
(remember to enable them in mactrack_vendors.php)

best regards
Gabriel
Would you please open a pull request on github? It's better to track changes and make them available for everyone.

This way you can test your on changes and find out if you've forgotten anything.

https://github.com/Cacti/plugin_mactrack
Cacti - 1.1.37
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets

Code: Select all

SYSTEM STATS: Time:17.7383 Method:spine Processes:1 Threads:10 Hosts:279 HostsPerProcess:279 DataSources:7309 RRDsProcessed:3718

Code: Select all

WEATHERMAP STATS: Weathermap 0.98 run complete - Thu, 16 Nov 17 08:42:56 +1300: 39 maps were run in 23.22 seconds with 0 warnings.

Post Reply