7/22/2019 mactrack plugin for cacti
1/15
mactrack plug-in for Cacti
First to all we need to download mactrack plug-in from cacti.net and copy the file to the server with
WINSCP
http://docs.cacti.net/plugins
# download mactrack plugin from cacti.net
http://docs.cacti.net/pluginshttp://docs.cacti.net/pluginshttp://docs.cacti.net/plugins7/22/2019 mactrack plugin for cacti
2/15
cd /home/admin/Desktoptar -xzvf /home/admin/Desktop/mactrack-v2.9-1.tgz
mysql -u root -p cacti < /home/admin/Desktop/mactrack/mactrack.sql
cp -r mactrack/ /var/www/html/cacti/plugins/mactrack
chown -R admin:admin /var/www/html/cacti/plugins/mactrack
chmod 775 /var/www/html/cacti/plugins/mactrack
# install and enable mactrack plugin from cacti webpageConfiguration > Plugin ManagementConfiguration > Settings > Misc and select device tracking## go to Utilities > User management and enable in the user mactracker
7/22/2019 mactrack plugin for cacti
3/15
7/22/2019 mactrack plugin for cacti
4/15
### go to Device Tracking and select Tracking Utilities and select RefreshIEEE Vendor MAC/OUI Database
7/22/2019 mactrack plugin for cacti
5/15
NOTE: EXECUTE THIS TWO OR THREE TIMES IF YOU CANT SAVE Devices
### when this task finish please go to Configuration > Plugin ManagementDisable mactrack, Uninstall mactrack and Install mactrack and Enablemactrack again.
7/22/2019 mactrack plugin for cacti
6/15
## Select Device Tracking and select sites in order to add new Site
7/22/2019 mactrack plugin for cacti
7/15
## Select Management > Device and add a new device
7/22/2019 mactrack plugin for cacti
8/15
## Select Device Tracking > Devices and add new Device
7/22/2019 mactrack plugin for cacti
9/15
7/22/2019 mactrack plugin for cacti
10/15
## When you create the new devices you can see an outpud as like this:
SNMP InformationSystem: Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M),Version 12.4(15)T10, RELEASE SOFTWARE (fc3) Technical Support:http://www.cisco.com/techsupport Copyright (c) 1986-2009 by Cisco Systems,Inc. Compiled Mon 14-Sep-09 15:53 by prod_rel_teamUptime: 3143173
Hostname: R1.mshome.netObjectID: .1.3.6.1.4.1.9.1.122
## Go to Device Tracking > Device Types and add new Device Types
# Copy Cisco IOS Software to System Description Match box
# Copy .1.3.6.1.4.1.9.1.122 to Vendor snmp Object ID Match box
7/22/2019 mactrack plugin for cacti
11/15
7/22/2019 mactrack plugin for cacti
12/15
You must create the user admin in order to access to informaction that isnot possible to get from SNMP
Execute the file mactrack_scanner.php as like this:
php mactrack_scanner.php -id=1 -d
7/22/2019 mactrack plugin for cacti
13/15
## Now, select Mactrack tab
7/22/2019 mactrack plugin for cacti
14/15
7/22/2019 mactrack plugin for cacti
15/15
Useful links:
http://cacti.net
http://ccies.blog.51cto.com/717209/1098203
http://tech.ddvip.com/2013-01/1359467937189760.html