|
|
| Author |
Message |
TheWitness Developer
Joined: 14 May 2002 Posts: 9697 Location: MI, USA
|
Posted: Fri Oct 26, 2007 6:20 am Post subject: MacTrack 1.1 for Cacti 0.8.7 |
|
|
All,
There are not functional changes from 1.0. However, this version does work on Cacti 0.8.7.
TheWitness
| Description: |
|
 Download |
| Filename: |
mactrack-1.1.zip |
| Filesize: |
118.43 KB |
| Downloaded: |
1497 Time(s) |
|
|
| Back to top |
|
 |
niobe Cacti User
Joined: 10 Mar 2008 Posts: 125 Location: Australia
|
Posted: Sun Mar 23, 2008 4:59 pm Post subject: |
|
|
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!
|
|
| Back to top |
|
 |
colthe
Joined: 18 Feb 2008 Posts: 21
|
Posted: Mon Mar 24, 2008 3:10 am Post subject: |
|
|
| If you mean this, this version can be used for 0.8.7b ?
|
|
| Back to top |
|
 |
niobe Cacti User
Joined: 10 Mar 2008 Posts: 125 Location: Australia
|
Posted: Sat Mar 29, 2008 6:52 pm Post subject: |
|
|
Witness,
Can you please update this post with some documentation? Your .doc is still corrupt.
cheers,
Niobe
|
|
| Back to top |
|
 |
eternal Cacti User
Joined: 14 Dec 2006 Posts: 57 Location: Kingsport TN
|
Posted: Wed Apr 02, 2008 9:17 am Post subject: |
|
|
| unzip inside mactrack dir
|
|
| Back to top |
|
 |
niobe Cacti User
Joined: 10 Mar 2008 Posts: 125 Location: Australia
|
Posted: Wed Apr 02, 2008 5:48 pm Post subject: |
|
|
| eternal wrote: | | unzip inside mactrack dir |
file is CORRUPT. Tried on 3 different systems, downloaded at least 5 different times.
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9697 Location: MI, USA
|
Posted: Wed Apr 02, 2008 10:46 pm Post subject: |
|
|
Hmm. so is my copy. Let me check SVN for an older one. If not, this could take some time.
TheWitness
|
|
| Back to top |
|
 |
lavermil
Joined: 15 Feb 2007 Posts: 45 Location: Phoenix, Arizona
|
Posted: Wed Apr 09, 2008 6:46 pm Post subject: |
|
|
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
PluginsGlobal 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) |
|
|
| Back to top |
|
 |
niobe Cacti User
Joined: 10 Mar 2008 Posts: 125 Location: Australia
|
Posted: Mon Apr 28, 2008 8:37 pm Post subject: |
|
|
Hi Witness,
Any update on the corrupt documentation? Still can't install as no instructions..
cheers,
N
|
|
| Back to top |
|
 |
lowfi
Joined: 21 May 2003 Posts: 3
|
Posted: Tue May 20, 2008 9:57 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
lowfi
Joined: 21 May 2003 Posts: 3
|
Posted: Tue May 20, 2008 10:05 am Post subject: |
|
|
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.
|
|
| Back to top |
|
 |
gigglesworth
Joined: 25 Jan 2006 Posts: 22
|
Posted: Wed Jul 02, 2008 10:40 pm Post subject: |
|
|
| 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.
|
|
| Back to top |
|
 |
xandlsoft
Joined: 09 May 2008 Posts: 7 Location: VIENNA, Austria
|
Posted: Thu Jul 03, 2008 11:22 am Post subject: |
|
|
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
PluginsNetwork 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) |
|
|
| Back to top |
|
 |
xandlsoft
Joined: 09 May 2008 Posts: 7 Location: VIENNA, Austria
|
Posted: Tue Jul 15, 2008 6:18 am Post subject: CatOS |
|
|
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:
| Description: |
|
| Filesize: |
115.28 KB |
| Viewed: |
3687 Time(s) |

|
|
|
| Back to top |
|
 |
gigglesworth
Joined: 25 Jan 2006 Posts: 22
|
Posted: Fri Aug 01, 2008 12:56 pm Post subject: Re: CatOS |
|
|
| 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
|
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|