[SOLVED] Having a problem.....

Support questions about the MAC Track plugin

Moderators: Moderators, Developers

Post Reply
Posts: 30
Joined: Tue Jun 20, 2006 12:49 pm

[SOLVED] Having a problem.....

#1 Post by bidzer » Mon Mar 23, 2009 11:04 am

Hey All,

I'm trying to get this plugin to work and I'm almost here. I'm getting the following error.

[[email protected] phpmyadmin]# php /var/www/html/cacti/plugins/mactrack/mactrack_scanner.php -id=2 -d
DEBUG: HOST: xxx.xxx.xxx.xxx (Excluded IP) is alive, processing has begun.
DEBUG: WARNING: SITE: B-Closet Core, IP: xxx.xxx.xxx.xxx (Excluded IP), TYPE: Cisco Internetwork Operating System Soft, Device Type Not Found in Device Type Table.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',device_type_id='0',scan_type = '1',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='snmp_sysName='ITD-6509-CHELSEA-D',snmp_sysLocation='',snmp_sysContact='',snmp_sysObjectID='.',snmp_sysDescr='Cisco Internetwork Operating System Software IOS (tm) c6sup2_rp Software (c6sup2_rp-PK2SV-M), Version 12.1(26)E4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Sat 1',snmp_sysUptime='2145132934',snmp_status='4',last_runmessage='WARNING: Device Type Not Found in Device Type Table.',last_rundate='2009-03-23 12:00:09',last_runduration='0.0132' WHERE device_id ='2'

Posts: 30
Joined: Tue Jun 20, 2006 12:49 pm

#2 Post by bidzer » Mon Mar 23, 2009 12:07 pm


I got this fixed. Added a new Device Type to match the switch model. I can get the IP's off the L3 switches but I don't see any user ports. All the info appears to be in the DB. Any help is appreciated. I'm continuing to search through he forums as well.


User avatar
Posts: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA

#3 Post by TheWitness » Sat Apr 11, 2009 9:30 am

See the announcement post in this sub forum. There has been a PHP change that has affected MacTrack. Patch is attached there.

True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository

I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

Post Reply