dell powerconnect and mactrack

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

gary2006
Posts: 9
Joined: Wed Jul 05, 2006 12:10 pm

dell powerconnect and mactrack

Post by gary2006 »

I have mactrack running in our setup ... however, it seems that Dell switches are not correctly giving information on mac addressing on user ports using generic_switch_ports template.

I suspect that this function needs to be modified to accommodate dell switches.

I have attached snmp walk output ... however, I am bit lacking in what needs to be changed for this.

Any assistance is appreciated.

Thanks
Last edited by gary2006 on Mon Aug 07, 2006 9:22 am, edited 1 time in total.
gary2006
Posts: 9
Joined: Wed Jul 05, 2006 12:10 pm

more info ...

Post by gary2006 »

more info ... with generica switch_ports function, it seems we are unable to get vlan's identified and we are pulling default vlan 1 addressing.

I will appreciate help on deciphering SNMP strings or update needed for this function.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to drop your dell MIB files into your net-snmp mibs directory and then set an environment variable called MIBS to the special keyword ALL and then run again. Without that change, it's a difficult read.

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?
gary2006
Posts: 9
Joined: Wed Jul 05, 2006 12:10 pm

revised SNMPwalk with dell MIBs

Post by gary2006 »

Hi TheWitness,

Here is Take 2 on snmpwalk with Dell MIBs loaded.

I see some of the items have description now attached as opposed to generic SNMPv2 strings.

I used 34xx series mibs to match the switch type ... hope, this is what you were looking for.

Thanks for your attention and time to this.

GS
Attachments
zdell-snmp-take2.txt
(608.66 KiB) Downloaded 1726 times
Last edited by gary2006 on Sat Jul 29, 2006 4:25 pm, edited 4 times in total.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

NSL. Here are your VLAN Names. Until you get your MIB's to work showing things like ..."VLAN_Name"... or something like that, it will be difficult.

Once you have that listing working correctly, send me the walk again as both named and numeric OID's.

Regards,

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?
gary2006
Posts: 9
Joined: Wed Jul 05, 2006 12:10 pm

snmpwalk with descriptions ...

Post by gary2006 »

Hi TheWitness,

Somehow -- I could not get this to work with net-snmp ... however, it worked with NuDesign's MIB browser ... may be it could load MIBS with dependencies etc.

Here is walk on 1.3.6.1.2.1 tree ... names are now getting converted into description for dot1q vlans.

I suspect that you would need few more of such mappings ... if that's so, let me know.

Thanks
==named==
dot1qVlanStaticName.2 (SnmpAdminString) = VLAN 2
dot1qVlanStaticName.3 (SnmpAdminString) = VLAN 3
dot1qVlanStaticName.4 (SnmpAdminString) = VLAN 4
dot1qVlanStaticName.5 (SnmpAdminString) = VLAN 5
dot1qVlanStaticName.100 (SnmpAdminString) = VLAN 100
dot1qVlanStaticName.101 (SnmpAdminString) = VLAN 101
dot1qVlanStaticName.102 (SnmpAdminString) = VLAN 102
dot1qVlanStaticName.103 (SnmpAdminString) = VLAN 103
dot1qVlanStaticName.104 (SnmpAdminString) = VLAN 104
dot1qVlanStaticName.105 (SnmpAdminString) = VLAN 105
dot1qVlanStaticName.106 (SnmpAdminString) = VLAN 106
dot1qVlanStaticName.107 (SnmpAdminString) = VLAN 107
dot1qVlanStaticName.108 (SnmpAdminString) = VLAN 108
dot1qVlanStaticName.110 (SnmpAdminString) = VLAN 110
dot1qVlanStaticName.111 (SnmpAdminString) = vlan 111
dot1qVlanStaticName.112 (SnmpAdminString) = vlan 112
dot1qVlanStaticName.114 (SnmpAdminString) = vlan 113
dot1qVlanStaticName.777 (SnmpAdminString) = vlan 114
dot1qVlanStaticName.1251 (SnmpAdminString) = vlan 1251
dot1qVlanStaticName.1252 (SnmpAdminString) = vlan 1252
dot1qVlanStaticName.1253 (SnmpAdminString) = vlan 1253
dot1qVlanStaticName.1254 (SnmpAdminString) = vlan 1254
dot1qVlanStaticName.1255 (SnmpAdminString) = vlan 1255
dot1qVlanStaticName.1500 (SnmpAdminString) = vlna 1500
dot1qVlanStaticName.1921 (SnmpAdminString) = vlan 1921
dot1qVlanStaticName.1922 (SnmpAdminString) = vlan 1922
dot1qVlanStaticName.1931 (SnmpAdminString) = vlan 1931
dot1qVlanStaticName.1932 (SnmpAdminString) = vlan 1932
=numeric=
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.2 = STRING: "VLAN 2"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.3 = STRING: "VLAN 3"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.4 = STRING: "VLAN 4"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.5 = STRING: "vlan 5"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.100 = STRING: "VLAN 100"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.101 = STRING: "vlan 101"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.102 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.103 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.104 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.105 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.106 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.107 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.108 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.110 = STRING: "Vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.111 = STRING: "Vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.112 = STRING: "Vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.114 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.777 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1251 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1252 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1253 = STRING: "vlan"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1254 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1255 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1500 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1921 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1922 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1931 = STRING: "VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1932 = STRING: "VLAN"
Attachments
dell-snmp-manual.txt
(499.92 KiB) Downloaded 1803 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Instead of associating your switch with "getGenericSwichPorts", associate it wit "getGenericDot1QSwitchPorts" and see what happens ;)

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?
gary2006
Posts: 9
Joined: Wed Jul 05, 2006 12:10 pm

where do I find ...

Post by gary2006 »

Ummm .. seems that we may be getting close.

I do not have that function ... I searched for latest SVN posted in one of the forums with 07/10/2006 date ... and under mactrack_fucntions ==> it only has generic_switch_ports and generic_wireless_ports listed.

So, can you point me or post latest file with generic_dot1q stuff, please?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Crap. I hope I published it. Will look into it.

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: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You are correct. It is a simple matter of code. I will address before release.

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?
gary2006
Posts: 9
Joined: Wed Jul 05, 2006 12:10 pm

thanks

Post by gary2006 »

Thanks, TheWitness.

I would anxiously be waiting for it to try out.
gary2006
Posts: 9
Joined: Wed Jul 05, 2006 12:10 pm

ummm ....

Post by gary2006 »

TheWitness,

Thanks for "genericDot1q switch port" function ... however, it did not work.

"genericSwitchports" was giving me all MAC addresses from default vlan 1.

From my struggle, I tried to modify HP function ... so, following query gets me # of vlans.

/* get VLAN information */
$vlan_ids = xform_standard_indexed_data(".1.3.6.1.2.1.17.7.1.4.2.1.3", $device);

/* get VLAN Trunk status */
$vlan_trunkstatus = xform_standard_indexed_data(".1.3.6.1.2.1.17.7.1.4.2.1.6", $device);
$device["vlans_total"] = sizeof($vlan_ids);
mactrack_debug("VLAN data collected. There are " . (sizeof($vlan_ids)) . " VLANS.");

Above query returns ---> There are XX vlans.

However, it would seem that following is where I am having trouble with ...

/* get the port status information */
$port_results = get_base_dot1dTpFdbEntry_ports($site, $device, $ifInterfaces, "", "", FALSE);
$port_vlan_data = xform_standard_indexed_data(".1.3.6.1.2.1.17.7.1.4.5.1.1", $device);


I have attached visual SNMP walk on dot1Q portion of the tree .. if it helps.
Attachments
dell-snmp-walk-visual1of2.gif
dell-snmp-walk-visual1of2.gif (21.3 KiB) Viewed 18020 times
dell-snmp-walk-visual2of2.gif
dell-snmp-walk-visual2of2.gif (22.24 KiB) Viewed 18020 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Could you get the tree's in net-snmp in both numeric oid format and text oid format and e-mail to me. Just to be clear:

Numeric .1.3.6.xxx

Text .iso.something....vlanname

I work much better from that type of list.

Thanks,

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?
gary2006
Posts: 9
Joined: Wed Jul 05, 2006 12:10 pm

Post by gary2006 »

Attached are numerical and descriptive SNMPwalks.

Following is sample from dot1Q trunk:

Q-BRIDGE-MIB::dot1qVlanStaticName.2 = STRING: VLAN 2
Q-BRIDGE-MIB::dot1qVlanStaticName.3 = STRING: VLAN 3
Q-BRIDGE-MIB::dot1qVlanStaticName.4 = STRING: VLAN 4
Q-BRIDGE-MIB::dot1qVlanStaticName.5 = STRING: test 5


SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.2 = STRING: "A VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.3 = STRING: "W VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.4 = STRING: "E VLAN"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.5 = STRING: "t"

BTW, I did get some errors running SNMPwalk as I loaded whole bunch of MIBS ... and some may not have proper dependency (or so I think).

Let me know if this looks unusual and I will work on removing thsoe errors on net-SNMP.
Thanks again for your attention to this.
Attachments
dell-numeric-snmpwalk.txt
(611.03 KiB) Downloaded 844 times
dell-descriptive-snmpwalk.txt
(652.58 KiB) Downloaded 854 times
smckee
Posts: 4
Joined: Fri Mar 02, 2007 1:32 pm
Location: Ann Arbor, MI

Any update on this work?

Post by smckee »

Hi,

We are deploying some Dell PowerConnect 6248's in our infrastructure and I have yet to get MacTrack to work with them. Are there any new functions available which will successfully query these switches?

Thanks,

Shawn
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests