End Device Tracking Add-On for Cacti

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

TheWitness wrote:Torsten,

It appears as if your MacTrack scanner has not been functioning for a few days. BTB, the THold tables are not related to the MacTrack ones.

Just another note, the software is still under development and something may have happened to break polling. Just over this weekend, several changes including bug fixes and enhancements were made.
Cigamit is doing a great job keeping up.
TheWitness
Hi Witness,
sorry for mixing up. I had a terrible weekend and monday morning is bad.
Mactrack: knowing all the software is under permanent delevoping (and hopping that this will go on !)I will wait for cigamit to convert it into plugin.
Is there any plan to mix this two branches together in one plugin and make this into the official release ?

Torsten
williem
Cacti User
Posts: 69
Joined: Tue Feb 08, 2005 10:36 am

Baystack 450

Post by williem »

Larry,
How do I set up the device type? for the sysDesc do I put Baystack 450?

Here is my current setup:
sysDescr: BayStack 450-24T
OID: .1.3.6.1.4.1.45
scanning functions: get_norbay_switch_ports

Regards,

Willie

TheWitness wrote:Willie,

The 425-T switches are tested and have base support. Don't know how that extends to other Bay/Nortel products though. I need feedback on the storage on the "portname" and "portnumber". Right now, I am not storing the "portname" because, I don't know the best place to get it from. Should it be "ifDescr", "ifAlias", or is there a proprietary MIB to pull it from?

To make the Nortels work, you will need to add device types to the device type database.

Please provide feedback on the port information storage and how well they are supported.

TheWitness
Cacti 0.8.6h | Cactid 0.8.6g | 64k devices | W2k3 IIS | PHP 5.3 | RRDtool 1.0.49 | Perl 5.8.5 | Dell Servers 8 gig ram
williem
Cacti User
Posts: 69
Joined: Tue Feb 08, 2005 10:36 am

mactrack request

Post by williem »

Larry,

Here is a request that I have for Mactrack. I would like to be able to see my switches when I say "all" timeframes to list all the macs by port with the trunck ports excluded.

Here is where I am going with this. If you have a building that has more than one shift, macs come and go throughout the night. You really dont get a clear picture of your switch untilazation by looking at a single time range. the current version lists the trucnk ports when you say "all". It also repeats the mac addresses that are duplicate for the ports for each time period. What I would like to see if a filtered report (by hub/board/port) that will list each mac address that has been on that port. that way if FA 3/1 has had 00:04:00:8F:D7:18 the past 20 poll times, you only see 1 entry. but if that mac has shown up on a 2nd port, you would see it on that port too.

hope this makes sence.

Regards,

Willie
Cacti 0.8.6h | Cactid 0.8.6g | 64k devices | W2k3 IIS | PHP 5.3 | RRDtool 1.0.49 | Perl 5.8.5 | Dell Servers 8 gig ram
sesquipedalian_id
Posts: 9
Joined: Thu Jan 05, 2006 10:35 am
Location: Boise, ID
Contact:

Cisco 2950 Issues

Post by sesquipedalian_id »

I'm having a problem with Cisco 2950s. Under Device Tracking>Devices, they report "error" for status.

Checking the Cacti.mac_track_devices.snmp_sysDescr field reports
"ERROR : Device Type Not Found in Device Type Table."

I've added a 2950 Device Type with the proper matching criteria, to no avail.

Any thoughts here?

Thanks,

-b
Rossco
Cacti User
Posts: 76
Joined: Sat Jan 15, 2005 4:52 pm
Location: London, England

Cisco 2950 Issues

Post by Rossco »

Hi ya

Have you tried deleting and re-adding the device? I think I had to do this last time.

Rossco
sesquipedalian_id
Posts: 9
Joined: Thu Jan 05, 2006 10:35 am
Location: Boise, ID
Contact:

Post by sesquipedalian_id »

I did indeed...still no dice :(
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

I've noticed another issue that I'm experience - data retention isn't working, meaning I'm retaining too much of it. I have it configured for two days but currently have 5 days of data.

Reverse DNS looks aren't working either - generally it simply prints the IP address.
Dwayne_Dibbley
Cacti User
Posts: 52
Joined: Sun Sep 18, 2005 3:38 pm

Post by Dwayne_Dibbley »

With the latest build plugin version 23rd Jan i am getting the following errors in the log

Code: Select all

01/24/2006 02:26:02 PM - SYSTEM MACTRACK STATS: Time:648.4485 ConcurrentProcesses:7 Devices:15  
01/24/2006 02:26:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "UPDATE `mac_track_ip_ranges` SET ips_max=ips_current, ips_max_date=ips_current_date WHERE ips_current>=ips_max"  
01/24/2006 02:26:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "REPLACE INTO `mac_track_ip_ranges` (ip_range, site_id, ips_current, ips_current_date) SELECT SUBSTRING_INDEX(`ip_address`,'.',3) AS ip_range, site_id, count(ip_address) AS ips_current, scan_date FROM mac_track_temp_ports WHERE ip_address <> '' GROUP BY ip_range, site_id ORDER BY ip_range, site_id"  
01/24/2006 02:25:12 PM - POLLER: Poller[0] Checking Thresholds  
01/24/2006 02:25:11 PM - SYSTEM STATS: Time:11.6972 Method:cmd.php Processes:3 Threads:N/A Hosts:17 HostsPerProcess:6 DataSources:228 RRDsProcessed:119  
01/24/2006 02:20:10 PM - POLLER: Poller[0] Checking Thresholds  
Thanks
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Dwayne_Dibbley wrote:With the latest build plugin version 23rd Jan i am getting the following errors in the log

Code: Select all

01/24/2006 02:26:02 PM - SYSTEM MACTRACK STATS: Time:648.4485 ConcurrentProcesses:7 Devices:15  
01/24/2006 02:26:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "UPDATE `mac_track_ip_ranges` SET ips_max=ips_current, ips_max_date=ips_current_date WHERE ips_current>=ips_max"  
01/24/2006 02:26:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "REPLACE INTO `mac_track_ip_ranges` (ip_range, site_id, ips_current, ips_current_date) SELECT SUBSTRING_INDEX(`ip_address`,'.',3) AS ip_range, site_id, count(ip_address) AS ips_current, scan_date FROM mac_track_temp_ports WHERE ip_address <> '' GROUP BY ip_range, site_id ORDER BY ip_range, site_id"  
01/24/2006 02:25:12 PM - POLLER: Poller[0] Checking Thresholds  
01/24/2006 02:25:11 PM - SYSTEM STATS: Time:11.6972 Method:cmd.php Processes:3 Threads:N/A Hosts:17 HostsPerProcess:6 DataSources:228 RRDsProcessed:119  
01/24/2006 02:20:10 PM - POLLER: Poller[0] Checking Thresholds  
Thanks
This is a known issue, as the "ips_current_date" column is missing from the table "mac_track_ip_ranges". After adding that column correctly, everything works nicely. I'm waiting for Larry's next update to resolve this, and then I will synch the plugin again.
Dwayne_Dibbley
Cacti User
Posts: 52
Joined: Sun Sep 18, 2005 3:38 pm

Post by Dwayne_Dibbley »

cigamit wrote:
Dwayne_Dibbley wrote:With the latest build plugin version 23rd Jan i am getting the following errors in the log

Code: Select all

01/24/2006 02:26:02 PM - SYSTEM MACTRACK STATS: Time:648.4485 ConcurrentProcesses:7 Devices:15  
01/24/2006 02:26:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "UPDATE `mac_track_ip_ranges` SET ips_max=ips_current, ips_max_date=ips_current_date WHERE ips_current>=ips_max"  
01/24/2006 02:26:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "REPLACE INTO `mac_track_ip_ranges` (ip_range, site_id, ips_current, ips_current_date) SELECT SUBSTRING_INDEX(`ip_address`,'.',3) AS ip_range, site_id, count(ip_address) AS ips_current, scan_date FROM mac_track_temp_ports WHERE ip_address <> '' GROUP BY ip_range, site_id ORDER BY ip_range, site_id"  
01/24/2006 02:25:12 PM - POLLER: Poller[0] Checking Thresholds  
01/24/2006 02:25:11 PM - SYSTEM STATS: Time:11.6972 Method:cmd.php Processes:3 Threads:N/A Hosts:17 HostsPerProcess:6 DataSources:228 RRDsProcessed:119  
01/24/2006 02:20:10 PM - POLLER: Poller[0] Checking Thresholds  
Thanks
This is a known issue, as the "ips_current_date" column is missing from the table "mac_track_ip_ranges". After adding that column correctly, everything works nicely. I'm waiting for Larry's next update to resolve this, and then I will synch the plugin again.
Thanks.

Are there any tips on the DNS resolver i keep getting Both Primary and Secondary DNS timed out. currently rhis is set to the default of 500 should i increase this or reduse the number of concurrent devices being polled ( currently 7 ).

Also on the tracking utilities / Remove all scan results the delete / cancel button images are looking in the plugin\mactrack\images directory and not the cacti\images .

Thanks again
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Dwayne_Dibbley wrote: Thanks.

Are there any tips on the DNS resolver i keep getting Both Primary and Secondary DNS timed out. currently rhis is set to the default of 500 should i increase this or reduse the number of concurrent devices being polled ( currently 7 ).

Also on the tracking utilities / Remove all scan results the delete / cancel button images are looking in the plugin\mactrack\images directory and not the cacti\images .

Thanks again
The resolver could be timing out if the DNS servers aren't responding in the time given, so you can try increasing that, or it could be that they aren't accepting UDP traffic on port 53. If its not either of those, than I am unsure of what it could be.

Yes, the Cancel / Delete buttons aren't showing up as I need to add an extra patch to the plugin architecture to make it so. I hope to have this out sometime soon.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

You can disregard my question about the expiring of old data - I flushed the data once and it seems to be doing it on its own now.
Dwayne_Dibbley
Cacti User
Posts: 52
Joined: Sun Sep 18, 2005 3:38 pm

Post by Dwayne_Dibbley »

I have increased the DNS Resolution Tim Out to 20000 milliseconds still getting the Primary and secondary time outs. If i look at the 1st Site under Mactrack there are some DNS name resolved remaining show DNS name as IP, the second site onwards site id 2,3 etc have no DNS names only IP's. It looks like the resolver is timing out on the 1st site then failing all the rest?.

Setup is as follows:

4 sites, each site has 2 routers, and between 2-6 switches. Total IPs for all 4 sites just under 2000 , User Ports 2500, User Ports up 1500 Macs 1500.

All CISCO switchs and Routers
kurfuer
Posts: 7
Joined: Thu Jan 12, 2006 7:44 am

Post by kurfuer »

TheWitness wrote:The "way" Device Types work is that you must match at "least" the first characters of the sysObjectID for the device. Then, the package also will search the sysDescr for *match*.
Hi Witness,
thanks for this really great plugin :)
The described way doesn't work. I have (e.g.) some Cisco C2980 and C2980G-A. If I make an entry "WS-C2980%" I get an error for the 2980G-A. I had to add both explicit. And the %-sign is the wildcard, isn't it? What's wrong here?
Regards and thanks again
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Witness:

Something I wasn't aware of in regards to the 4006 I'm having so much trouble with is that it has one powered blade - initially used for IP phones. We're not using IP phones on that floor anymore but the blade is still installed. It is the ONLY blade reporting MAC addresses.

Not sure what kind of difference that will make but it is the only anomaly between the blades.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests