Help getting mactrack working

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
MrL0Lz
Posts: 4
Joined: Fri May 12, 2006 6:37 pm

Help getting mactrack working

Post by MrL0Lz »

I somehow managed to hit a bump in getting things setup.

I'm using FreeBSD 6.1, php5, mysql5, and cacti -0.8.6j.3, and it works fine. However mactrack I have issues with.

I downloaded and installed the plugin architecture.

Unzipped mactrack to /plugins/mactrack

Copied over /plugins/mactrack/patched files to /usr/local/share/cacti/

Editing /include/config.php, and added:

$plugins = array();
$plugins[] = 'mactrac';

/* Do not edit this line */
$config = array();

I also did all the mysql stuff. However when I logged in to Cacti, I see no new tabs. I'm not sure where to start debugging what I did wrong, and help would be appreciated.
KAA
Posts: 7
Joined: Sun Apr 08, 2007 2:05 pm
Location: Russia

Re: Help getting mactrack working

Post by KAA »

MrL0Lz wrote:I somehow managed to hit a bump in getting things setup.

I'm using FreeBSD 6.1, php5, mysql5, and cacti -0.8.6j.3, and it works fine. However mactrack I have issues with.

I downloaded and installed the plugin architecture.

Unzipped mactrack to /plugins/mactrack

Copied over /plugins/mactrack/patched files to /usr/local/share/cacti/

Editing /include/config.php, and added:

$plugins = array();
$plugins[] = 'mactrac';

/* Do not edit this line */
$config = array();

I also did all the mysql stuff. However when I logged in to Cacti, I see no new tabs. I'm not sure where to start debugging what I did wrong, and help would be appreciated.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

First, use the plugins svn version of MacTrack at the Cacti website. You can get it using the following address:

svn://var/svnroot/cacti_plugins

You will also get a heap of other plugins.

Then also run the database_upgrade.php file as well. It is in the mactrack plugin folder.

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?
KAA
Posts: 7
Joined: Sun Apr 08, 2007 2:05 pm
Location: Russia

Post by KAA »

:)
imho here 2 things:

1.
have:
$plugins[] = 'mactrac';

need:
$plugins[] = 'mactrack';

2. GoTo user managment and check for self(admin)
View MacTrack Data
Administate MacTrack
cosmin_m
Posts: 3
Joined: Fri Oct 21, 2005 8:29 am

Post by cosmin_m »

2. GoTo user managment and check for self(admin)
View MacTrack Data
Administate MacTrack
This should be in the plugin installation method :)

Thanks !
cosmin_m
Posts: 3
Joined: Fri Oct 21, 2005 8:29 am

Post by cosmin_m »

Hi all,

Now I have a wierd problem, I cannot see any table rows in all the mactrack pages, please see screenshoot below in order to better understand.
The database tables are populated, but somehow the php page does not show them.

System is an opensuse 10.2, cacti version 0.8.6h, plugin framework 1.0, mactrack downloaded yesterday from the plugins site, cacti patched with the framework (I did not copied directly the patch files)
Attachments
Untitled-1.gif
Untitled-1.gif (23.74 KiB) Viewed 4242 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests