Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Mon May 21, 2012 8:31 am


ATTENTION: All users passwords have been cleared.
Please use the "Forgot Password" feature to reset your password.


All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Mactrack wont find IP Addresses
PostPosted: Wed Dec 20, 2006 6:04 am 
Offline

Joined: Thu Dec 14, 2006 8:14 am
Posts: 3
Hi,

i really need some advice here. When doing "VLAN Analysis" the mactrack_scanner.php script finds all the ports and says so ...
Code:
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 50

but when processing the VLAN it cant find a single active port
Code:
DEBUG: VLAN_ID: 1, VLAN_NAME: default, ACTIVE PORTS: 0

below the complete output of one of the scanning tests i did:
Code:
adm1:/home/web/cacti/htdocs/plugins/mactrack # php mactrack_scanner.php -id=79 -d
DEBUG: HOST: 150.0.110.28 is alive, processing has begun.
DEBUG: Scanning function is 'get_IOS_dot1dTpFdbEntry_ports'
DEBUG: VLAN data collected. There are 6 VLANS.
DEBUG: ifIndex data collection complete
DEBUG: ifTypes data collection complete.
DEBUG: ifNames data collection complete.
DEBUG: ifAlias data collection complete.
DEBUG: ipAddrTable scanning for link ports data collection complete.
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs exist on this device
DEBUG: ifInterfaces assembly complete.
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 50
DEBUG: VLAN Analysis for VLAN: 2/vlan2 is complete. ACTIVE PORTS: 3
DEBUG: VLAN Analysis for VLAN: 3/vlan3 is complete. ACTIVE PORTS: 3
DEBUG: VLAN Analysis for VLAN: 4/vlan4 is complete. ACTIVE PORTS: 3
DEBUG: VLAN Analysis for VLAN: 5/vlan5 is complete. ACTIVE PORTS: 3
DEBUG: Processing has begun for VLAN: 1
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 1, VLAN_NAME: default, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 2
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 2, VLAN_NAME: vlan2, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 3
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 3, VLAN_NAME: vlan3, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 4
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 4, VLAN_NAME: vlan4, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 5
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 5, VLAN_NAME: vlan5, ACTIVE PORTS: 0
DEBUG: Final cross check's now being performed.
INFO: HOST: 150.0.110.28, TYPE: Cisco Internetwork Operating System Soft, TOTAL PORTS: 0, ACTIVE PORTS: 0DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',device_type_id='45',scan_type = '1',vlans_total='6',ports_active='0',ports_trunk='3',macs_active='0',snmp_readstring='public',snmp_sysName='2950_28',snmp_sysLocation='',snmp_sysContact='',snmp_sysObjectID='.1.3.6.1.4.1.9.1.429',snmp_sysDescr='Cisco Internetwork Operating System Software   IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE (fc1)  Copyright (c) 1986-2005 by cisco Systems, Inc.  Compiled Wed 23-Mar-05 15:33 by yenanh',snmp_sysUptime='2701993408',snmp_status='3',last_runmessage='Data collection completed ok',last_rundate='2006-12-20 11:40:14',last_runduration='5.197' WHERE device_id ='79'
adm1:/home/web/cacti/htdocs/plugins/mactrack #

Please help


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 22, 2006 9:05 am 
Offline

Joined: Thu Dec 14, 2006 8:14 am
Posts: 3
Help Please !! :(


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 23, 2006 1:11 am 
Offline
Cacti User

Joined: Sun May 29, 2005 7:34 pm
Posts: 173
I was having a similar problem with my Nortel switches until I switched from MySQL v3.28.58 to v5.0.27. As soon as I upgraded my database engine then all the IP's started showing up.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 5:28 am 
Offline
Cacti User

Joined: Fri Dec 29, 2006 4:02 am
Posts: 55
Hi there,

here are some thoughts how to get mactrack working:


if you don


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 6:00 am 
Offline
Cacti User

Joined: Fri Dec 29, 2006 4:02 am
Posts: 55
Hi there,

here are some thoughts how to get mactrack working:


if you don


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 02, 2007 12:25 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
I know for a fact that 2950 CatOS switches work. I do not have access to a 2950IOS switch to test with. Only that will allow me to investigate. Is there any chance you have all the ports setup as trunk ports. That will cause MacTrack to ignore the 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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 05, 2007 11:08 am 
Offline

Joined: Thu Dec 14, 2006 8:14 am
Posts: 3
Since i havent found any other way, i've modified the MacTrack plugin to read MAC/IP assignments from the data file produced by arpwatch as suggested by mdurand in this post. Not an optimal solution, but at least it works.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 05, 2007 3:47 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14861
Location: MI, USA
The issue is that on VLAN 1, MacTrack is detecting those ports to be on Trunk ports. Unless I have access to the switch, I can not help you.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group