No MAC addresses on Cisco with 2.5-2

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There is a wireless scanning function. However it may not be finished.i
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?
NBD
Posts: 8
Joined: Wed May 12, 2010 3:10 am
Location: Stockholm/Sweden

Post by NBD »

I have tried that one to. It displays the correct number of userports up but not any mac-addresses. I am not after a wireless function, what i want is that it displays the correct number och user ports up. Userports up should never be a bigger value than user ports or the number of physical interfaces. I use MacTrack to make reports on interface usage of the total number of ports in my network.

For now it seems like the value user ports up and mac-addresses are exactly the same value with the get_IOS_dot1dTpFdbEntry_ports function. There can´t be a one to one relationship between mac´s and userports up. Let say that you have a unmanaged layer-2 switch connected to a port in the Cisco 3560 then it´s normal to have several mac´s on a port.

I´m using the latest version from SVN btw.
Attachments
This screenshot displays the correct number of userports with the get_generic_switch_ports function.
This screenshot displays the correct number of userports with the get_generic_switch_ports function.
Correct_userports_up.JPG (130.23 KiB) Viewed 4788 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

For the wireless device you can have several more macs than ports.

TheWitness
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You may have to exclude the port ranges that the ap's are connected to if they are not detected as trunk or link ports.
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?
NBD
Posts: 8
Joined: Wed May 12, 2010 3:10 am
Location: Stockholm/Sweden

Post by NBD »

It seems like we missunderstand eachother. And i don´t see how i can explain the problem any better.

But your suggestions will not help me
You may have to exclude the port ranges that the ap's are connected to if they are not detected as trunk or link ports.
Well.. let me put it this way.. i have a few hundred 3560´s and the AP´s are not allways connected to the same interface.
For the wireless device you can have several more macs than ports.
This is not the problem and have never been. If i use the Cisco function to scan a device it displays the number of macs correctly BUT not the number of "User ports Up" , this value are allways exactly the same as the number of macs.

I don´t see how you can have more interfaces up than the total amout of physical interfaces in a device, it doesn´t make sense.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I get it now. This is all about "vocabulary" (likely a bad design on my part). There was always assumed to be a 1-1 port to user port mapping. So "User Ports Up" should be "Active Macs". In the Generic Switch Port example, it actually reflects the ifUp count. That might simply be the scanning function too.

I'll have to research it maybe add another column. Since the ifInterfaces table is scanned, we clearly know the number of up Interfaces.

TheWitness
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?
NBD
Posts: 8
Joined: Wed May 12, 2010 3:10 am
Location: Stockholm/Sweden

Post by NBD »

Great.. i was getting rather frustrated when beeing missunderstod all the time :D

I don´t know anyting about programing but can´t you just copy the the interfaces up function in the get_generic_switch_ports scanner? That one clearly works ok.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I'll do something, but you have to open a bug here first. Otherwise, I forget: http://bugs.cacti.net
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?
georgek
Posts: 8
Joined: Tue Dec 16, 2008 6:21 am
Location: Russia
Contact:

Post by georgek »

NBD, whether you have opened Issue? For me a similar problem.
Mehlano
Posts: 6
Joined: Wed Jul 19, 2006 10:52 am
Contact:

Re: No MAC addresses on Cisco with 2.5-2

Post by Mehlano »

Same problem here..
...we have 2950, 2960 and 3750 Cisco Switches. (Using latest MAC-track 2.9)

With the generic port scanner all "user ports up" and "active macs" seems to be ok.
With the IOS template both counts are the same.

For example even bad when you have a VM ESX environment with many virtual clients... ;-)

TheWitness, will there be a fix for this issue? Cause when I see the bug tracking ticket it's on "feedback status".



In any case - thank you so much for this fantastic tool and your good work on it! Keep rockin'!
Mehlano
Posts: 6
Joined: Wed Jul 19, 2006 10:52 am
Contact:

Re: No MAC addresses on Cisco with 2.5-2

Post by Mehlano »

In addition...
Attachments
More active ports then physical ports... ;-)
More active ports then physical ports... ;-)
ScreenShot001.jpg (11.02 KiB) Viewed 3728 times
Mehlano
Posts: 6
Joined: Wed Jul 19, 2006 10:52 am
Contact:

Re: No MAC addresses on Cisco with 2.5-2

Post by Mehlano »

bump
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No MAC addresses on Cisco with 2.5-2

Post by TheWitness »

To do the VMWare stuff, we have to perform some fundamental design changes to MacTrack since the servers physical port become trunk ports. So, I've given it some thought, just don't know when I can get the time to make the change. I have several other projects and not a network to test on as I do mainly HPC stuff these days.

If you would like to come up with a patch, I will review/consider/commit it though.

TheWitness
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests