latest version of mactrack

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

latest version of mactrack

Post by egarnel »

Mine is 0.0.1b.

and I am getting the following error:

Code: Select all

Fatal error: Call to undefined function: html_header_sort() in /var/www/html/plugins/mactrack/mactrack_view.php on line 1405
Also, there are no device types listed
I get output when I run php mactrack_scanner.php manually

Code: Select all

 php mactrack_scanner.php -d -id=1
Content-type: text/html
X-Powered-By: PHP/4.3.9

DEBUG: HOST: 172.20.1.23 is alive, processing has begun.
DEBUG: WARNING: SITE: North, IP: 172.20.1.23, TYPE: Cisco IOS Software, C3560 Software (C356, 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='AcCd_5h0w',snmp_sysName='zone3',snmp_sysLocation='North.Tunnel.Zone3',snmp_sysContact='Eric Garnel',snmp_sysObjectID='.1.3.6.1.4.1.9.1.564',snmp_sysDescr='Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(25)SEB1, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by Cisco Systems, Inc. Compiled Fri 29-Apr-05 22:25 by yenanh',snmp_sysUptime='2728451077',snmp_status='4',last_runmessage='WARNING: Device Type Not Found in Device Type Table.',last_rundate='2006-08-08 10:00:21',last_runduration='0.0836' WHERE device_id ='1'
I think I need to wipe mactrack and start again with a different version.

thanks
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

That requires the latest version of Cacti.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

Version 0.8.6h (cactiEZ CD)
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Ok, let me reprase that... Latest unpublished release....

0.8.6i-beta3
http://forums.cacti.net/viewtopic.php?t=15298
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

This is correct, the SVN version of MacTrack requires Cacti 0.8.6i, or requires you to take the files located in plugins/mactrack/patched_files and place them accordingly in the base directory of Cacti.

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

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

thanks.
copied mactrack plugin from another box, looks better now
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests