[SOLVED] Mactrack not returning any macs!

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
User avatar
low
Posts: 17
Joined: Wed Feb 04, 2009 9:24 am

[SOLVED] Mactrack not returning any macs!

Post by low »

Hey guys,

The problem I am facing is that when my mactrack poller starts to run it gathers all the information however it won't show the mac addresses. The status appears as UP, it shows IP's, User Ports, and User Ports Up. However it doesn't show trunk ports,vlans, or active macs. I started playing around some more and noticed that when I went into the device type and changed the mac address scanning function to catalyst 801.q entry ports (previously from cabletron_switch_ports) it would get the trunking ports, vlan ports, but still no active mac addresses. Also when I swith them the User Ports Up all go down to zero.
I am currently trying to make this work for cisco 4507s and 3560s only.
I do not have any clog errors although Mac Watch and Mac Authorization don't work, but I am assuming that is due to the fact that I have no macs to watch or authorize :). If anyone has any idea what the problem might be or needs more information feel free to ask!
Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - CMD.php
Server Info - Windows NT 5.1
Web Server - Apache/2.2.6 (Win32) PHP/5.2.5
PHP - 5.2.5
PHP Extensions - bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, apache2handler, mysql, snmp, sockets, smtp, gd
MySQL - 5.0.45-community-nt
RRDTool - 1.2.15
SNMP - snmpwalk [OPTIONS] AGENT [OID] Version: 5.4.1

Plugins
  • Device Tracking (mactrack - v1.1)
    Thresholds (thold - v0.3.8)
    Global Plugin Settings (settings - v0.3)
    Syslog Monitoring (syslog - v0.5.2)
    Network Discovery (discovery - v0.8.4)
    Cacti Log View (CLog - v1.1)
    Host Info (hostinfo - v0.2)
    Network Tools (tools - v0.3)
Image
User avatar
low
Posts: 17
Joined: Wed Feb 04, 2009 9:24 am

Post by low »

OK! So I got it working by changing the scaning type to IOS (I did this before but changed another option along side it so it didn't work...)

However, when I go to view the mac/ip report, I only see about 23 of the 2000 active mac's... Does anyone know why this is?

**edit got that working too now...

Still not getting all my end devices IP's with reverse dns lookup though. Anyone know why this might be?
User avatar
low
Posts: 17
Joined: Wed Feb 04, 2009 9:24 am

Post by low »

ooookkkkkk so I have another problem but instead of making another thread I decided to post here again....

I have both 3560 24 and 48 port switches..

Their OID's have one number differences .1.3.6.1.4.1.9.1.563 and .1.3.6.1.4.1.9.1.564 but both have the same system discription match which is C3560-IPBASEK9-M. When I try to make two seperate device types I get an error since the sys discription is a dupe.

I also tried adding both oid's to one device type using a ; to seperate them but that hasen't worked either. Has anyone ran into this or does anyone have a solution to this problem?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need a separate device type for each, or simply roll up the sysObjectID by one OID level.

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
low
Posts: 17
Joined: Wed Feb 04, 2009 9:24 am

Post by low »

Thanks for the response, I am unable to create two device types due to them being the same. However, when I try rolling up the OID level by one something strange happens, my 3560-24 port switches report fine however my 3560-48 ports can get IP's and trunk ports only. It doesn't show user ports up or down, let alone MACS.

Any ideas?
Attachments
mactrack help 3560.JPG
mactrack help 3560.JPG (47.81 KiB) Viewed 7044 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Does the device have an Arp table? Is it exposed via snmp? Is it using the standard MIB? If it is and there are only a few IP's registered. Then, the device is not likely setup as an L3 switch/router. It could also be the scanning function. I would think it should be discovered as an IOS type device.

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
low
Posts: 17
Joined: Wed Feb 04, 2009 9:24 am

Post by low »

Does the device have an Arp table?
Long story short, all our arp tables are held on our 6500 idf and mdf distribution layer swtiches. For reasons that are beyond me, I had to lobby allowing my cacti monitering station to be allowed on the access list for these locations. So essentially my MAC track isn't 100% operational yet (will be friday FINALLY) but I still have all information besides end IP and DNS hostname. I didn't think this could be the problem regaurding these 3560's but time will tell and I will report back on friday if things are remedied...
Is it exposed via snmp?
Yes
Is it using the standard MIB?
Yes

So it isn't your scanning function, that is working out perfectly. I will cross my fingers and hope it is due to my lack of access with our distro switches + arp tables. I hate being an intern! I guess they don't trust me :( I'm just trying to bring this awesome tool to fruition.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It will be better in the 2.0 release. I hope to get back to it as early as this weekend.

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
low
Posts: 17
Joined: Wed Feb 04, 2009 9:24 am

Post by low »

Ok so forget the 3560 problem, a bigger issue arised with IP's.

Here's where I stand now with the situation. I finally gained access to my 6509's in the environment which held the arp tables for all the access layer 4507's. It gets all the information of the IP's, however it doesn't distribute it to any of the other tables for my 4507's.

So I guess my question would be is there a way to translate the IP information gained from my 6509's to my 4507's in cacti? Thusly making MAC Track fully functional....

Really looking forward to your response, I feel like I am almost done implementing this plugin for this current job!
Attachments
mactrack help IP CORES.JPG
mactrack help IP CORES.JPG (69.67 KiB) Viewed 6965 times
User avatar
low
Posts: 17
Joined: Wed Feb 04, 2009 9:24 am

Post by low »

Alright well after a long and winding road I finally got everything up and running. As for the IP's, even though they don't reflect on the overview to each particular 4507, they did end up populating in the MAC/IP Report after a couple cycles had run.(I thought they would show on the overview as well?) I still have some switches that aren't getting IP's but the majority are so I am happy.

I also have alot more IP's on my 6509's than there are elements in my environment... I wonder what the overage is from.

My issue with the 24 and 48 port 3560's still exsists but I'm not worried about that since the most everything else works. Though, you may want to look into it while developing 2.0

Overall I am very pleased what this tool has done, awesome job and thanks for all the help :)
Attachments
thanks1.JPG
thanks1.JPG (40.29 KiB) Viewed 6953 times
thanks2.JPG
thanks2.JPG (89.54 KiB) Viewed 6953 times
thanks3.JPG
thanks3.JPG (13.05 KiB) Viewed 6953 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests