Troubles with mactrack device tracking

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
xandlsoft
Posts: 7
Joined: Fri May 09, 2008 3:09 am
Location: VIENNA, Austria

Troubles with mactrack device tracking

Post by xandlsoft »

Hello @ all,

i don't know what i can do. mactrack_scanner.php doesn't save data in mysql. Mactrack can read IPs at devices, but the datebase is emty. You can see it at the screenshots.
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)
The Poller works exactly.
What is my Problem? What can i do?

THX,

XS
Attachments
screenshot 1
screenshot 1
mactrack_1.jpg (69.38 KiB) Viewed 6621 times
screenshot 2
screenshot 2
mactrack_2.jpg (184.27 KiB) Viewed 6621 times
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

May be change site form N/A ?
xandlsoft
Posts: 7
Joined: Fri May 09, 2008 3:09 am
Location: VIENNA, Austria

Can't see entries

Post by xandlsoft »

No, i can't see a entry. Please have a look at the attachments.

In the mysql database also i can't see a entry.
I think cacti mactrack cannot write in Database?!?

The next Problem is to add a vendor mac. When i click add, the site make a refresh...
...and it's nothing to do. I can see the same site?!?
Attachments
Screenshot 3
Screenshot 3
mactrack_3.jpg (84.62 KiB) Viewed 6606 times
Screenshot 4
Screenshot 4
mactrack_4.jpg (83.81 KiB) Viewed 6606 times
after310
Posts: 26
Joined: Tue Jul 22, 2008 5:09 am
Location: France (Toulouse)

Post by after310 »

Hello :)

I have a similar proble with MacTrack :/

The device already exist in MacTrack and the scann issue is OK.
But the displayed informations are funny...

For a device I have more interfaces results displayed than the switch have, because an interface is displayes many times, with the same IP address (for the switch interface) but with differents Mac address.

In the MySQL DB, I don't have client IP address (mac_track_ips table).

Someone know this problem?

My screenshot llustrates my problem
Attachments
Mac Track problem
Mac Track problem
ErrorMacTrack.png (118.04 KiB) Viewed 6181 times
after310
Posts: 26
Joined: Tue Jul 22, 2008 5:09 am
Location: France (Toulouse)

Post by after310 »

an idea ? :roll:
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

No need to bump your own post so soon after posting it.

It looks as though you don't have a Router paired up with your switch, as I believe is stated in the Mactrack documentation.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
hamish
Posts: 29
Joined: Tue Aug 05, 2008 7:40 am
Location: London

Post by hamish »

What do you mean by 'Router paired with your switch'? I have the same problem (After working around the device type problems).

What I've noticed is that the code is always setting the type back to Switch/Hub when I set either Switch/Router or Router. And although the number of User Ports is around 300, it lists 0 as being Up.

Still poking around to see how it determines up/not up... And why it's resetting the device type....
hamish
Posts: 29
Joined: Tue Aug 05, 2008 7:40 am
Location: London

Post by hamish »

Ah! Penny drops... The device_types table differentiate between a 6509 as a pure switch and a 6509 with a routing module in it... And the device_types type is copied back to the devices device_type...

Hmm... Might require some thought...

H
hamish
Posts: 29
Joined: Tue Aug 05, 2008 7:40 am
Location: London

Post by hamish »

Hey!. Mine now works... If I specify something other than the default search parameters in the MacTrack report view page...

I don't understand what 'Authorising' an IP/Mac does though... The Wiki doens't seem to say anything about that...

H
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests