End Device Tracking Add-On for Cacti

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
User avatar
twelzy
Cacti User
Posts: 83
Joined: Wed Mar 30, 2005 6:48 pm
Location: BRAZIL/Brasilia

Post by twelzy »

I am having the same problem of 'knobdy', but with all my Catalyst switches:

Code: Select all

Host                      Device                           Total   User    User       Trunk   Active   Last
Description   Site Name   Status   Hostname   Type         IP's    Ports   Ports Up   Ports   Macs     Duration
----------------------------------------------------------------------------------------------------------------
(6509Sp)      XXXXXXXXX   Up       YYYYYYYY   Switch/Hub   N/A     196     0          36      0        341.5
(295024GDC)   XXXXXXXXX   Up       YYYYYYYY   Switch/Hub   N/A     26      0          0       0        4.1
(c2950)       XXXXXXXXX   Up       YYYYYYYY   Switch/Hub   N/A     26      0          0       0        7.8
(355048)      XXXXXXXXX   Up       YYYYYYYY   Switch/Hub   N/A     50      0          3       0        13.0
(6509neba)    XXXXXXXXX   Up       YYYYYYYY   Switch/Hub   N/A     116     0          15      0        72.6
(4507)        XXXXXXXXX   Up       YYYYYYYY   Switch/Hub   N/A     16      0          0       0        0.8
Anyone have any idea to resolve this problem?!

Thanks in advance!
(...and sorry for my poor English!)
Last edited by twelzy on Wed Mar 29, 2006 3:20 pm, edited 1 time in total.
Thanks in advance!
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Check your vlan and trunking configuration - that was my issue with the 4000 switch.

Haven't figured anything out on the wireless yet though...
User avatar
twelzy
Cacti User
Posts: 83
Joined: Wed Mar 30, 2005 6:48 pm
Location: BRAZIL/Brasilia

Post by twelzy »

knobdy,

What kind of issue?!

Thanks in advance!
Thanks in advance!
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Auxillary vlans for VoIP, trunking mode on the ports, etc..
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

chadd wrote:I have a problem where, in the gui "Site IP Range Report" produces nothing for none of my sites - but if I go to the database and select * from mac_track_ip_ranges, I get lots of stuff.. Anyone know what I could be doing wrong not to have it show up in the gui?
Anybody??

It seems that when the "Site IP Range Report" loads, it has

"Showing Rows 61 to 76 of 76 [1,2,3]"

in the head - indicating that there is data to be displayed. You can click on "next page" and get there, but still no info in the page is displayed.. Bafalling.. This is all it says:

No Mac Track Site IP Ranges Found.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

Here is what the log shows when I click on site ip range report:

03/31/2006 03:42:53 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT mac_track_sites.site_id, mac_track_sites.site_name, mac_track_ip_ranges.ip_range, mac_track_ip_ranges.ips_max, mac_track_ip_ranges.ips_current, mac_track_ip_ranges.ips_max_date, mac_track_ip_ranges.ips_current_date FROM mac_track_ip_ranges INNER JOIN mac_track_sites ON (mac_track_ip_ranges.site_id=mac_track_sites.site_id) LIMIT 0,30"
03/31/2006 03:43:03 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT mac_track_sites.site_id, mac_track_sites.site_name, mac_track_ip_ranges.ip_range, mac_track_ip_ranges.ips_max, mac_track_ip_ranges.ips_current, mac_track_ip_ranges.ips_max_date, mac_track_ip_ranges.ips_current_date FROM mac_track_ip_ranges INNER JOIN mac_track_sites ON (mac_track_ip_ranges.site_id=mac_track_sites.site_id) WHERE mac_track_ip_ranges.site_id='1' LIMIT 0,30"
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

This is for Larry..

I was using the import/export utility to rebuild my mactrack database, and found the following:

Import only allows you to import 15 devices at a time, and errors on the rest.
Export only allows you to export 30 at a time, and errors on the rest.

Not sure if that is supposed to happen that way, or if it is a bug. Just thought I would let you know.

Otherwise, still working on getting the "site IP report" function to display the results..

-chadd.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

I added mac_track_ip_ranges.ips_current_date as a duplicate of mac_track_ip_ranges.ips_max_date (aside from the name of course) - using the mysql ALTER command, and reverted back to my un-patched poller - and it is working fine. It also corrected the problem I am having with the "site IP report" not displaying anything. Now though, I have a new problem. Name to IP resolution is no longer working... I have DNS servers configured (same as before when it was working). I am getting no errors when I run the poller manually or otherwise. Does anyone have a suggestion?

-chadd.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

Ok, DNS is working fine.

The fix posted earlier in this post for "beginning at line 419" of the poller_mactrack.php file is not needed. Just add the column I stated in the post above and things work much better.

Is this pluggin still being developed? I hope so, it is one of the most usefull tools I have found!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Thanks Chadd. I am in a new job right now and drinking from a firehose at the moment. All my free time is being dedicated to understanding my companies tool set.

So, I would like to keep things going, but it will take a while. I would be willing to spend some personal time on this working directly with you on proposed changes. I would be able to do this on the weekend. Let me know your availability.

TheWitness
aka Larry Adams
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?
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

Look here:

http://cactiusers.org/forums/viewtopic. ... highlight=

chadd wrote:
chadd wrote:I have a problem where, in the gui "Site IP Range Report" produces nothing for none of my sites - but if I go to the database and select * from mac_track_ip_ranges, I get lots of stuff.. Anyone know what I could be doing wrong not to have it show up in the gui?
Anybody??

It seems that when the "Site IP Range Report" loads, it has

"Showing Rows 61 to 76 of 76 [1,2,3]"

in the head - indicating that there is data to be displayed. You can click on "next page" and get there, but still no info in the page is displayed.. Bafalling.. This is all it says:

No Mac Track Site IP Ranges Found.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

Sounds good. I just started a new job as well, which is why I started using mactrack. I went from an all WAN enviornment, to an almost all LAN enviornment. I have been spending most of my time so far getting cacti setup with all the devices in my network. I am almost done:

04/05/2006 08:34:00 AM - SYSTEM STATS: Time:59.4600 Method:cactid Processes:1 Threads:10 Hosts:196 HostsPerProcess:196 DataSources:26141 RRDsProcessed:8779

04/05/2006 08:23:54 AM - SYSTEM MACTRACK STATS: Time:293.2755 ConcurrentProcesses:10 Devices:194

My LAN extends over sub T1 frame circuits, so with 90 or so sites, you have lots of room for errors ;-)..

I will check my weekend schedule with boss (the real boss) and PM you with some time. Thanks for working on this. Great piece of software!
pepj
Cacti User
Posts: 324
Joined: Thu Sep 29, 2005 5:03 am
Location: switzerland

Security issue only with Mactrack !!!

Post by pepj »

Hello

When I enter "http://cacti/plugins/mactrack/ " without to login before I can browse all under mactrac and start the php,html,.. scripts.

with other plugins there is no problem

(this problem is for all browser...)
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

try:

http://cacti/plugins/mactrack/mactrack_view.php

There is no "index" file in the mactrack plugin directory.

-chadd.
pepj
Cacti User
Posts: 324
Joined: Thu Sep 29, 2005 5:03 am
Location: switzerland

Post by pepj »

[quote="chadd"]try:
http://cacti/plugins/mactrack/mactrack_view.php
quote]

- with "http://cacti/plugins/mactrack/mactrack_view.php" I get the login.
- I put index.php , but the result with http://cacti/plugins/mactrack is the same --> I can browse and start without rigth or login.

Jean-Michel
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests