Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Fri Sep 19, 2014 6:47 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: How I installed mactrack v2.0 with cacti 0.8.7e
PostPosted: Wed Oct 28, 2009 11:04 am 
Offline

Joined: Tue Oct 13, 2009 10:02 pm
Posts: 21
How I installed mactrack v2.0 with cacti 0.8.7e and Plugin Architecture 2.5
Just an FYI of what I did in linux. Hopefully this will help someone...



this is done from a working directory of /root
(checkout svn)
Code:
svn co svn://svn.cacti.net/cacti_plugins/mactrack

(rename trunk dir to mactrack)
Code:
mv /root/mactrack/trunk /root/macktrack/mactrack

Note: my cacti installation is in /var/www/html
(mv new renamed mactrack dir to plugins directory in cacti)
Code:
mv /root/mactrack/mactrack /var/www/html/plugins/

(change permissions for apache to be able to access data)
Code:
chown -R apache:apache /var/www/html/plugins/mactrack


In /var/www/html/include/global.php
Code:
vi /vaw/www/html/include/global.php

add the line:
$plugins[] = 'mactrack';

under the $plugins = array(); line
(this is Line 44 for me)


From there I logged into Cacti went to Console -> Config -> Plugin Management. Under MacTrack click Install, then Click Enable.

Then under Console -> Utilities -> User Management -> click on the user and under the 'realm management tab' make sure they have the mactrack stuff checked off... it should be
Code:
Plugin -> MacTrack Viewer
Plugin -> MacTrack Administrator
Plugin -> MacTrack Security


You should now see the mactrack tab and device tracking on the left hand pane.
Go into Console -> configuration ->Settings -> device tracking and setup that stuff...

Update IEEE Vendor MAC/OUI Database going to console -> device tracking -> Tracking Utilities and clicking on Refresh IEEE Vendor MAC/OUI Database

Then go to console -> device tracking -> sites
- create a site
Then go to console -> device tracking -> devices
- create a device
Then go to console -> device tracking -> device types
- create a device type corresponding to the device you just made

if you notice under the device you made, when you click on it, it should show the following info, something like this (this is a foundry superx)
Code:
System: Foundry Networks, Inc. FastIron SuperX, IronWare Version 04.1.00aT3e1 Compiled on May 05 2008 at 21:05:35 labeled as SXL101010
Uptime: 571301900
Hostname: n00bsuperx
ObjectID: .1.3.6.1.4.1.1991.1.3.36.1.3


take note of the system and objectID line.
under device types when you are creating the device you would use (for example)
System Description Match - SuperX
Vendor snmp Object ID Match - .1.3.6.1.4.1.1991.1.3.36.1.3
(notice how we got those from the device output?)

Good luck!


Last edited by jgilmour on Tue Nov 03, 2009 12:25 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 01, 2009 8:57 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
The one issue with running the SQL from the command line is that this is not longer required. In fact, you have to simply copy the plugin to the plugins directory and then Install and Enable it from the Plugin Management page. It's that simple.

I suggest you pull a new copy and test for me. I worked quite a bit on it today.

TheWitness

_________________
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
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 02, 2009 10:14 pm 
Offline

Joined: Tue Oct 13, 2009 10:02 pm
Posts: 21
Awesome, Thanks for the reply!
I will check it out tomorrow and update the 'what I did' post.

Thanks again,
- Josh


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 03, 2009 12:20 pm 
Offline

Joined: Tue Oct 13, 2009 10:02 pm
Posts: 21
I removed the svn by doing the disable / uninstall from plugin manager.

Then grabbed the new trunk, and redid the steps from the original post (which I edited) and everything looks good.

Thanks TheWitness!


Top
 Profile  
 
 Post subject: How can you update the plugin without losing the data?
PostPosted: Fri Nov 06, 2009 1:23 pm 
Offline

Joined: Wed Jul 18, 2007 9:42 am
Posts: 1
Location: Charleston
If I disable and uninstall the plugin and then download and install the update. All of the data disappears? I ended up having to backup and then restore the cacti database?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 07, 2009 12:32 am 
Offline

Joined: Tue Oct 13, 2009 10:02 pm
Posts: 21
I didn't update since I had only one device. I just wiped it, grabbed newest trunk and install so I dont know how the update goes.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 07, 2009 9:23 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Ok. Next step is Interfaces table. That'll be the bomb!

TheWitness

_________________
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
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 26, 2010 1:33 am 
Offline

Joined: Wed Jan 20, 2010 4:47 am
Posts: 10
Hello!
I want to install mactrack-2.x.x but i have not permissions to svn and i can't find mactrack-2.x.x.tar.gz :(

Give me tarball, please !


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 26, 2010 5:05 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
You can download the files one at a time right now.

http://svn.cacti.net/viewvc/mactrack/tr ... ot=Plugins

TheWitness

_________________
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
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 26, 2010 5:37 am 
Offline

Joined: Wed Jan 20, 2010 4:47 am
Posts: 10
TheWitness, thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 19, 2010 4:40 am 
Offline

Joined: Wed Jun 09, 2010 5:46 am
Posts: 8
TheWitness wrote:
You can download the files one at a time right now.

http://svn.cacti.net/viewvc/mactrack/tr ... ot=Plugins

TheWitness


Hi,
since I´ve downloaded and installed the files from the link above my cacti appears very strange. Any ideas what went wrong and how to fix it?

thx and regards
Michae[/img]


Attachments:
cactiviewvc.JPG
cactiviewvc.JPG [ 147.02 KiB | Viewed 6442 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 19, 2010 6:38 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
MacTrack 2.9 is on the docs site already.

TheWitness

_________________
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
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group