Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Mon May 21, 2012 8:32 am


ATTENTION: All users passwords have been cleared.
Please use the "Forgot Password" feature to reset your password.


All times are UTC - 5 hours




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: MacTrack 1.1 for Cacti 0.8.7
PostPosted: Fri Oct 26, 2007 6:20 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
All,

There are not functional changes from 1.0. However, this version does work on Cacti 0.8.7.

TheWitness


Attachments:
mactrack-1.1.zip [118.43 KiB]
Downloaded 3103 times

_________________
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


Last edited by TheWitness on Mon May 10, 2010 8:13 am, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 23, 2008 4:59 pm 
Offline
Cacti User

Joined: Mon Mar 10, 2008 6:52 pm
Posts: 193
Location: Australia
Ermmm...how do I read the documention?

First of all I have to download a separate copy of mactrack to my workstation (I manage my Cacti server via ssh)

Now I can't even open the .doc using Open Office..I get a file corrupt error as does Google Docs. Tried a different download source as well.

Please include a README in future releases!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 3:10 am 
Offline

Joined: Mon Feb 18, 2008 6:24 am
Posts: 26
If you mean this, this version can be used for 0.8.7b ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 29, 2008 6:52 pm 
Offline
Cacti User

Joined: Mon Mar 10, 2008 6:52 pm
Posts: 193
Location: Australia
Witness,
Can you please update this post with some documentation? Your .doc is still corrupt.
cheers,
Niobe


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 02, 2008 9:17 am 
Offline
Cacti User

Joined: Thu Dec 14, 2006 4:38 pm
Posts: 68
Location: Kingsport TN
unzip inside mactrack dir


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 02, 2008 5:48 pm 
Offline
Cacti User

Joined: Mon Mar 10, 2008 6:52 pm
Posts: 193
Location: Australia
eternal wrote:
unzip inside mactrack dir


file is CORRUPT. Tried on 3 different systems, downloaded at least 5 different times.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 02, 2008 10:46 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
Hmm. so is my copy. Let me check SVN for an older one. If not, this could take some time.

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: Wed Apr 09, 2008 6:46 pm 
Offline

Joined: Thu Feb 15, 2007 2:25 pm
Posts: 45
Location: Phoenix, Arizona
TheWitness,

I am having problems trying to get mactrack to work on a 3560. No worky. Any ideas why it finds active ports but can't associate bridge port info?

php plugins/mactrack/mactrack_scanner.php -d -id=1
<snip>
DEBUG: ifInterfaces assembly complete.
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs exist on this device
DEBUG: ifInterfaces assembly complete.
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 8
DEBUG: VLAN Analysis for VLAN: 10/B-Inet is complete. ACTIVE PORTS: 6
DEBUG: VLAN Analysis for VLAN: 20/A-Inet is complete. ACTIVE PORTS: 2
DEBUG: VLAN Analysis for VLAN: 30/Inet-Space is complete. ACTIVE PORTS: 15
DEBUG: VLAN Analysis for VLAN: 40/AbcCorp is complete. ACTIVE PORTS: 4
DEBUG: Processing has begun for VLAN: 1
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 1, VLAN_NAME: default, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 10
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 10, VLAN_NAME: B-Inet, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 20
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 20, VLAN_NAME: A-Inet, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 30
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 30, VLAN_NAME: Inet-Space, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 40
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 40, VLAN_NAME: AbcCorp, ACTIVE PORTS: 0
DEBUG: Final cross check's now being performed.
device_type_id='44'
snmp_sysObjectID='.1.3.6.1.4.1.9.1.615
snmp_sysDescr='Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(25)SEE4, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Mon 16-Jul-07 03:11 by myl

Quote:
Cacti Version - 0.8.7b
Plugin Architecture - 2.1
Poller Type - CMD.php
Server Info - Linux 2.6.18-53.el5
Web Server - Apache/2.2.3 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp
MySQL - 5.0.22
RRDTool - 1.2.15
SNMP - 5.3.1
Plugins
    Global Plugin Settings (settings - v0.4)
    Thresholds (thold - v0.3.5)
    Device Monitoring (monitor - v0.8.2)
    Network Discovery (discovery - v0.8.4)
    Network Tools (tools - v0.2)
    Syslog Monitoring (syslog - v0.5.3)
    Device Tracking (mactrack - v1.1)
    RRD File Cleaner (RRD Cleaner - v0.35)
    Update Checker (update - v0.4)
    FlowView (flowview - v0.5)
    Host Info (hostinfo - v0.2)
    Documents (docs - v0.2)
    NTop Viewer (ntop - v0.1)
    Nagios plugin for Cacti (npc - v2.0.0a)
    Realtime for Cacti (realtime - v0.2)
    Create Aggregate Graphs (aggregate - v0.65)
    ReportIt (ReportIt - v0.5.1)
    PHP Network Managing (PHP Network Managing - v0.5.2)
    IP Plan (IP Address Management) (ipplan - v0.1)
    RANCID (rancid - v0.1)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 28, 2008 8:37 pm 
Offline
Cacti User

Joined: Mon Mar 10, 2008 6:52 pm
Posts: 193
Location: Australia
Hi Witness,
Any update on the corrupt documentation? Still can't install as no instructions..
cheers,
N


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 20, 2008 9:57 am 
Offline

Joined: Wed May 21, 2003 6:44 pm
Posts: 3
I just went through an install and documented each step that I took. Hopefully this will help some people while the author is diligently trying to find some documentation.

You *WILL* have to interpret this and substitute commands for your own install - I performed these steps on a Debian Lenny install.

Assumptions: You have the plugin architecture already installed.

cd /var/www/cacti/plugins
wget http://cactiusers.org/downloads/mactrack.tar.gz
tar zxvf mactrack-1.1.tar.gz


cd mactrack
mysql cacti < mactrack.sql
mysql cacti < mactrack.sql.0.0.1
/usr/bin/php5 database_upgrade.php (THIS was the key to making things work for me)


vi ../../include/global.php
$plugins = array();
$plugins[] = 'mactrack';


User Management, Admin user
Realm permissions:
Checkmark in Plugin Management, View Mactrack, Admin Mactrack, Manage Mac Auth
Save, MacTrack Tab now appears at top.

Device Tracking Management on left side:
Click Sites, Add in top right.
Fill in your site details. Save.

Device Tracking Management on left side:
Click Devices, Add in top right.
Fill in your device details
Important: Make sure you select the site from the "Site Name" dropdown - NOT none.

Click Settings under Configuration near bottom left. Click Device Tracking tab.
Fill in the info on this page to your liking. If you want to begin gathering data *now*, be careful to set the Start Time to something soon, *not* something in the past or distant future.
Save


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 20, 2008 10:05 am 
Offline

Joined: Wed May 21, 2003 6:44 pm
Posts: 3
Also, and I'm not sure if this is important, but you *may* have to increase the script timeout value under the Poller Settings.

Settings:Poller:Script and Script Server Timeout Value (I set mine to 300 [shrug])

It seems that MacTrack can take a while to update things, and I started losing updates to my graphs.

So if this happens to you.. start poking around with the timers.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 02, 2008 10:40 pm 
Offline

Joined: Wed Jan 25, 2006 12:51 pm
Posts: 24
niobe wrote:
Now I can't even open the .doc using Open Office..I get a file corrupt error as does Google Docs. Tried a different download source as well


I agree that the file mactrack-1.1\docs\mactrack_documentation.doc is corrupt. I cannot read this file using Windows WordPad or StarOffice (On Windows XP).

I think it's corrupt.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 03, 2008 11:22 am 
Offline

Joined: Fri May 09, 2008 3:09 am
Posts: 7
Location: VIENNA, Austria
Hi,

i fight with same mactrack-Problem as lavermil:

Code:
SUSE:/ # php5 /srv/www/htdocs/cacti/plugins/mactrack/mactrack_scanner.php -id=4 -d
DEBUG: HOST: XXX.XXX.XXX.XXX is alive, processing has begun.
DEBUG: Scanning function is 'get_catalyst_dot1dTpFdbEntry_ports'
DEBUG: There are 23 VLANS.
DEBUG: ifIndexes data collection complete
DEBUG: ifTypes data collection complete.
DEBUG: ifNames data collection complete.
DEBUG: ipAddrTable scanning for link ports data collection complete.
DEBUG: ifSpeed data collection complete.
DEBUG: ifDescr data collection complete.
DEBUG: ifMtu data collection complete.
DEBUG: ifPhysAddress data collection complete.
DEBUG: ifAdminStatus data collection complete.
DEBUG: ifOperStatus data collection complete.
DEBUG: ifLastChange data collection complete.
DEBUG: ifInDiscards data collection complete.
DEBUG: ifInErrors data collection complete.
DEBUG: ifInUnknownProtos data collection complete.
DEBUG: ifOutDiscards data collection complete.
DEBUG: ifOutErrors data collection complete.
<snip>
DEBUG: ifInterfaces assembly complete.
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs exist on this device
DEBUG: ifInterfaces assembly complete.
DEBUG: portNames data collected.
DEBUG: portTrunking data collected.
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 1
DEBUG: VLAN Analysis for VLAN: 6/NAME is complete. ACTIVE PORTS: 80
DEBUG: VLAN Analysis for VLAN: 7/NAME is complete. ACTIVE PORTS: 1
DEBUG: VLAN Analysis for VLAN: 10/NAME is complete. ACTIVE PORTS: 1
<snip>
DEBUG: Final cross check's now being performed.

INFO: HOST: XXX.XXX.XXX.XXX, TYPE: Cisco Systems, Inc. WS-C2980G-A Cisco Ca, TOTAL PORTS: 0, ACTIVE PORTS: 0DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',device_type_id='46',scan_type = '1',vlans_total='23',ports_active='0',ports_trunk='1',macs_active='0',snmp_readstring='public',snmp_sysName='SWITCHNAME',snmp_sysLocation='LOCATION',snmp_sysContact='CONTACT',snmp_sysObjectID='.1.3.6.1.4.1.9.5.51',snmp_sysDescr='Cisco Systems, Inc. WS-C2980G-A Cisco Catalyst Operating System Software, Version 8.4(11)GLX Copyright (c) 1995-2006 by Cisco Systems, Inc.',snmp_sysUptime='17668521',snmp_status='3',last_runmessage='Data collection completed ok',last_rundate='2008-07-03 17:46:39',last_runduration='18.9445' WHERE device_id ='4'
SUSE:/ #


With other device types i also have this problem. My Hostinfo:

Quote:
Cacti Version - 0.8.7b
Plugin Architecture - 2.1
Poller Type - Cactid v
Server Info - Linux 2.6.16.60-0.21-default
Web Server - Apache/2.2.3 (Linux/SUSE)
PHP - 5.2.5
PHP Extensions - libxml, xml, session, pcre, SimpleXML, SPL, standard, Reflection, filter, date, apache2handler, bcmath, bz2, calendar, ctype, curl, dba, dbase, dom, exif, ftp, gd, gettext, gmp, iconv, imap, json, ldap, mbstring, mcrypt, mhash, mysql, mysqli, ncurses, odbc, openssl, pcntl, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, shmop, snmp, soap, sockets, SQLite, suhosin, sysvmsg, sysvsem, sysvshm, timezonedb, tokenizer, wddx, xmlreader, xmlrpc, xsl, zlib
MySQL - 5.0.26-Max
RRDTool - 1.2.12
SNMP - 5.3.0.1
Plugins
    Network Discovery (discovery - v0.8.4)
    RRD File Cleaner (RRD Cleaner - v0.32)
    Device Monitoring (monitor - v0.8.2)
    Thresholds (thold - v0.3.9)
    Change password (passwd - v0.1)
    Global Plugin Settings (settings - v0.5)
    Network Tools (tools - v0.3)
    Device Tracking (mactrack - v1.1)
    Host Info (hostinfo - v0.2)


Top
 Profile  
 
 Post subject: CatOS
PostPosted: Tue Jul 15, 2008 6:18 am 
Offline

Joined: Fri May 09, 2008 3:09 am
Posts: 7
Location: VIENNA, Austria
I think the funktion with Cisco IOS is OK. But CatOS devices (Cisco 2980, Cisco 4000, Cisco 6000 Hybrid mode,...) are not be able to mactrack. You can see my summary:


Attachments:
File comment: poller result
mactrack_5.jpg
mactrack_5.jpg [ 115.28 KiB | Viewed 21306 times ]
Top
 Profile  
 
 Post subject: Re: CatOS
PostPosted: Fri Aug 01, 2008 12:56 pm 
Offline

Joined: Wed Jan 25, 2006 12:51 pm
Posts: 24
xandlsoft wrote:
I think the funktion with Cisco IOS is OK. But CatOS devices (Cisco 2980, Cisco 4000, Cisco 6000 Hybrid mode,...) are not be able to mactrack.


xandlsoft, I've read that it is very difficult for utilities to automatically determine the ports on a CatOS device. CatOS stores this information in a strange way, and nobody has written a tool to easily extract the ports from the device.

Here is another similar thread where we talk about CatOS devices: http://forums.cacti.net/viewtopic.php?p=137841#137841


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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