Problems with Catalyst 6509

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

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

Post by TheWitness »

Talk with Cigamit about how alerting should take place before you burn lot's of cycles. He may have some shortcuts. Thanks for the Contrib!! I also have some changes, I only lack time at this point.

Regards,

Larry
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
Grogman
Cacti User
Posts: 54
Joined: Tue Feb 21, 2006 11:45 am
Location: Spain

Post by Grogman »

Hi Larry,

Going back to the origin of the post, after the modification in the mysql code, I realized that not all the macs of some of my catalyst switches are showing in the tables. After doing some research, it looks like that the missing macs are the ones defined statically in the switch (by the port-security feature).

Is there any reason for this mac's to not being gathered?

Thanks!!!

Edited: Solved!!! :D

Just substituted:

if (@$port_status[$key] == "3") {

by

if ((@$port_status[$key] == "3") || (@$port_status[$key] == "5")) {

in the get_base_dot1dTpFdbEntry_ports function of mactrack_functions.php in order to include the macs with mgmt status.
Who is more foolish? The fool or the fool that
follows it?
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Grogman,

I am currently working on v1.0. If you have any specific feature requests or code contribs, please post them there. I you have any updated files from your previous post, please provide updates.

Here is the link to the "official how's Larry doing" post.

TheWitness

http://forums.cacti.net/viewtopic.php?t=18876
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 0 guests