Do the user permission settings for MacTrack show up? Have you added yourself to the permissions?vedd99 wrote:I have just downloaded and installed the mactrack plugin as I have several others, but I do not ever see the mactrack tab appear on top.
The Device Tracking settings for the plugin appear under the Console settings, but the tab never appears.
Am I missing something somewhere? I've checked all over and I saw where one other person had a similar problem but I didn't see the resolution.
Thanks!
End Device Tracking Add-On for Cacti
Moderators: Developers, Moderators
Re: Mactrack tab not available
Re: Mactrack tab not available
Ah, that was it! It must not enable by default for admin. Thanks for your help, I was out of ideas!cigamit wrote:Do the user permission settings for MacTrack show up? Have you added yourself to the permissions?vedd99 wrote:I have just downloaded and installed the mactrack plugin as I have several others, but I do not ever see the mactrack tab appear on top.
The Device Tracking settings for the plugin appear under the Console settings, but the tab never appears.
Am I missing something somewhere? I've checked all over and I saw where one other person had a similar problem but I didn't see the resolution.
Thanks!
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
There appears to be a SNMP agent issues with the 4006 switch. It appears that it can not properly handle the "max-repeaters" setting in the snmp agent. I need to open a TAC case with Cisco.
In the mean time, edit mactrack_functions.php and look for the mactrack_walk function. In that function, you will find the snmpbulkwalk command being constructed. Look for . "-Ccr50 " . and replace it with . " " . This will slow things down a bit, but help the 4006.
Another user had an issue, but what will happen, if you have Trunk ports defined on you access switch, by default, MacTrack will ignore them. Therefore, if you have a port defined as either Trunk modes 4 or 5 I will not track.
Therefore, you may want to check you switch configuration. If you have several "trunk" ports with end devices, currently, MacTrack will not find them.
I am considering beefing up the determination of "Trunk/Link" ports in the future, but it may be a few weeks.
TheWitness
In the mean time, edit mactrack_functions.php and look for the mactrack_walk function. In that function, you will find the snmpbulkwalk command being constructed. Look for . "-Ccr50 " . and replace it with . " " . This will slow things down a bit, but help the 4006.
Another user had an issue, but what will happen, if you have Trunk ports defined on you access switch, by default, MacTrack will ignore them. Therefore, if you have a port defined as either Trunk modes 4 or 5 I will not track.
Therefore, you may want to check you switch configuration. If you have several "trunk" ports with end devices, currently, MacTrack will not find them.
I am considering beefing up the determination of "Trunk/Link" ports in the future, but it may be a few weeks.
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Knoby,
Please provide the debug output from "mactrack_scanner.php -id=?? -d". Also, do you have IM?
TheWitness
Please provide the debug output from "mactrack_scanner.php -id=?? -d". Also, do you have IM?
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?
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?
I think you'll find that on page 18 of this topic. As for IM, ABSOLUTELY - look me up!TheWitness wrote:Knoby,
Please provide the debug output from "mactrack_scanner.php -id=?? -d". Also, do you have IM?
TheWitness
I go by the same name on all of them but Yahoo (<name>6988). I've already added you (I hope - first name and hot mail) to my PIM.
mactrack.sql problem
I have another question question, maybe this one won't be as dumb as the last. When I try to import the sql code, I get the following error:
$ mysql -u root -p cacti < mactrack.sql
Enter password:
ERROR 1146 (42S02) at line 177: Table 'cacti.mac_track_scan_dates' doesn't exist
And when I try to create a site within Cacti, etc, I get this error (probably because the code above didn't get applied appropriately):
Error: Save Failed
Any ideas?
$ mysql -u root -p cacti < mactrack.sql
Enter password:
ERROR 1146 (42S02) at line 177: Table 'cacti.mac_track_scan_dates' doesn't exist
And when I try to create a site within Cacti, etc, I get this error (probably because the code above didn't get applied appropriately):
Error: Save Failed
Any ideas?
Well, I got it working to where I could add hosts, but they all seem to error out or not add any MAC/IP information. We mainly have Cisco 3500XL switches (3524XL and 3548XL) in our closets and 6500's at the core.knobdy wrote:yep, and you're adding to it. I did the same thing - I think that was about 10 pages back.
When I add the 3500XLs, it just says error on the device screen. When I try to manually update, I get the error below:
$ php mactrack_scanner.php -d -id=1
DEBUG: HOST: 10.105.79.52 is alive, processing has begun.
ERROR: SITE: memorial, IP: 10.105.79.52, TYPE: Cisco Internetwork Operating System Soft, Device Type Not Found in Device Type Table.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='sechasnmpro',snmp_sysName='mish-01-3524p',snmp_sysLocation='xxx',snmp_sysContact='xxx',snmp_sysObjectID='.1.3.6.1.4.1.9.1.287',snmp_sysDescr='Cisco Internetwork Operating System Software IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC10, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Fri 28-May-04 09:19 by antonino',snmp_sysUptime='1472404258',snmp_status='4',last_runmessage='ERROR: Device Type Not Found in Device Type Table.',last_rundate='2006-01-11 22:20:05',last_runduration='0.0729' WHERE device_id ='1'
Do I have to do anything special to add support for 3500XL series? The 6509's seem to work, but they all show up as trunk ports with no MAC information (which is correct I suppose).
mactrac / new type -> the vendor is not saved &cannot
I use mactrac with plugin architectur
Two problem(/bug?)
- when I want to insert a new device (see picture1) and save, unfortunately the vendor is not saved.
- when I want to delete it I get the error "You must select at least one device type. " (I done it !) (see picture 2)
I have another problems but I try understanding it at the moment. (Mactrac is new for me)
thanks
Problem has been solved in the next released ...
I have to remove the picture because I have reached the limitation for the post...
Two problem(/bug?)
- when I want to insert a new device (see picture1) and save, unfortunately the vendor is not saved.
- when I want to delete it I get the error "You must select at least one device type. " (I done it !) (see picture 2)
I have another problems but I try understanding it at the moment. (Mactrac is new for me)
thanks
Problem has been solved in the next released ...
I have to remove the picture because I have reached the limitation for the post...
Last edited by pepj on Mon Dec 11, 2006 5:18 pm, edited 1 time in total.
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
Ok, I believe I answered my own question. I added a device type in the tables with a matching ID and the scans run.vedd99 wrote:Well, I got it working to where I could add hosts, but they all seem to error out or not add any MAC/IP information. We mainly have Cisco 3500XL switches (3524XL and 3548XL) in our closets and 6500's at the core.knobdy wrote:yep, and you're adding to it. I did the same thing - I think that was about 10 pages back.
When I add the 3500XLs, it just says error on the device screen. When I try to manually update, I get the error below:
$ php mactrack_scanner.php -d -id=1
DEBUG: HOST: 10.105.79.52 is alive, processing has begun.
ERROR: SITE: memorial, IP: 10.105.79.52, TYPE: Cisco Internetwork Operating System Soft, Device Type Not Found in Device Type Table.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='sechasnmpro',snmp_sysName='mish-01-3524p',snmp_sysLocation='xxx',snmp_sysContact='xxx',snmp_sysObjectID='.1.3.6.1.4.1.9.1.287',snmp_sysDescr='Cisco Internetwork Operating System Software IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC10, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Fri 28-May-04 09:19 by antonino',snmp_sysUptime='1472404258',snmp_status='4',last_runmessage='ERROR: Device Type Not Found in Device Type Table.',last_rundate='2006-01-11 22:20:05',last_runduration='0.0729' WHERE device_id ='1'
Do I have to do anything special to add support for 3500XL series? The 6509's seem to work, but they all show up as trunk ports with no MAC information (which is correct I suppose).
But, it doesn't show any active MACs?
Changed the scanning function in the device settings to get_IOS_dot1dTpFdbEntry_ports and it scans properly and it appears to pull the correct information now.vedd99 wrote:Ok, I believe I answered my own question. I added a device type in the tables with a matching ID and the scans run.vedd99 wrote:Well, I got it working to where I could add hosts, but they all seem to error out or not add any MAC/IP information. We mainly have Cisco 3500XL switches (3524XL and 3548XL) in our closets and 6500's at the core.knobdy wrote:yep, and you're adding to it. I did the same thing - I think that was about 10 pages back.
When I add the 3500XLs, it just says error on the device screen. When I try to manually update, I get the error below:
$ php mactrack_scanner.php -d -id=1
DEBUG: HOST: 10.105.79.52 is alive, processing has begun.
ERROR: SITE: memorial, IP: 10.105.79.52, TYPE: Cisco Internetwork Operating System Soft, Device Type Not Found in Device Type Table.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='sechasnmpro',snmp_sysName='mish-01-3524p',snmp_sysLocation='xxx',snmp_sysContact='xxx',snmp_sysObjectID='.1.3.6.1.4.1.9.1.287',snmp_sysDescr='Cisco Internetwork Operating System Software IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC10, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Fri 28-May-04 09:19 by antonino',snmp_sysUptime='1472404258',snmp_status='4',last_runmessage='ERROR: Device Type Not Found in Device Type Table.',last_rundate='2006-01-11 22:20:05',last_runduration='0.0729' WHERE device_id ='1'
Do I have to do anything special to add support for 3500XL series? The 6509's seem to work, but they all show up as trunk ports with no MAC information (which is correct I suppose).
But, it doesn't show any active MACs?
However, when I go to the mactrack tab in Cacti to display the results, it doesn't show any data?
I would certainly like to hear the result of that!TheWitness wrote:There appears to be a SNMP agent issues with the 4006 switch. It appears that it can not properly handle the "max-repeaters" setting in the snmp agent. I need to open a TAC case with Cisco.
Okay, we've done this before - lowest I had gone was 10 though so I'll let you know. {update} So I've made the change and forced a poll - I got back a few more macs from previously unreporting switches but still nothing from the 4000 or 4006s.TheWitness wrote:In the mean time, edit mactrack_functions.php and look for the mactrack_walk function. In that function, you will find the snmpbulkwalk command being constructed. Look for . "-Ccr50 " . and replace it with . " " . This will slow things down a bit, but help the 4006.
Can you tell me what I might look to change in our configuration? And would that be just on the 4006s or all of our downstream switches?Another user had an issue, but what will happen, if you have Trunk ports defined on you access switch, by default, MacTrack will ignore them. Therefore, if you have a port defined as either Trunk modes 4 or 5 I will not track.
Therefore, you may want to check you switch configuration. If you have several "trunk" ports with end devices, currently, MacTrack will not find them.
I am considering beefing up the determination of "Trunk/Link" ports in the future, but it may be a few weeks.
{update} I'm not seeing much of a difference between between ports on even the 6500s that are or aren't reporting?
Finally, I'm still not getting updates - as if the poller isn't running. What do I need to do to verify that it's configured to run every 2 hours with the cacti poller? Again, you can IM me at this site's handle @ whatever IM you prefer (Yahoo=this handle + 6988).
Thanks again for your gargantuan efforts.
Who is online
Users browsing this forum: No registered users and 0 guests