You are on page 1of 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

cd /home/admin/Desktop tar -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 webpage Configuration > Plugin Management Configuration > Settings > Misc and select device tracking ## go to Utilities > User management and enable in the user mactracker

### go to Device Tracking and select Tracking Utilities and select Refresh IEEE Vendor MAC/OUI Database

NOTE: EXECUTE THIS TWO OR THREE TIMES IF YOU CANT SAVE Devices ### when this task finish please go to Configuration > Plugin Management Disable mactrack, Uninstall mactrack and Install mactrack and Enable mactrack again.

## Select Device Tracking and select sites in order to add new Site

## Select Management > Device and add a new device

## Select Device Tracking > Devices and add new Device

## When you create the new devices you can see an outpud as like this: SNMP Information System: 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_team Uptime: 3143173 Hostname: R1.mshome.net ObjectID: .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

You must create the user admin in order to access to informaction that is not possible to get from SNMP

Execute the file mactrack_scanner.php as like this: php mactrack_scanner.php -id=1 -d

## Now, select Mactrack tab

Useful links: http://cacti.net http://ccies.blog.51cto.com/717209/1098203 http://tech.ddvip.com/2013-01/1359467937189760.html

You might also like