|
|
| Author |
Message |
rojaro
Joined: 14 Dec 2006 Posts: 3
|
Posted: Wed Dec 20, 2006 6:04 am Post subject: Mactrack wont find IP Addresses |
|
|
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 |
|
| Back to top |
|
 |
rojaro
Joined: 14 Dec 2006 Posts: 3
|
Posted: Fri Dec 22, 2006 9:05 am Post subject: |
|
|
Help Please !!  |
|
| Back to top |
|
 |
warnesj Cacti User
Joined: 29 May 2005 Posts: 170
|
Posted: Sat Dec 23, 2006 1:11 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
jerrison
Joined: 29 Dec 2006 Posts: 43
|
Posted: Fri Dec 29, 2006 5:28 am Post subject: |
|
|
Hi there,
here are some thoughts how to get mactrack working:
if you don |
|
| Back to top |
|
 |
jerrison
Joined: 29 Dec 2006 Posts: 43
|
Posted: Fri Dec 29, 2006 6:00 am Post subject: |
|
|
Hi there,
here are some thoughts how to get mactrack working:
if you don |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 11822 Location: MI, USA
|
Posted: Tue Jan 02, 2007 12:25 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
rojaro
Joined: 14 Dec 2006 Posts: 3
|
Posted: Fri Jan 05, 2007 11:08 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 11822 Location: MI, USA
|
Posted: Fri Jan 05, 2007 3:47 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|