i really need some advice here. When doing "VLAN Analysis" the mactrack_scanner.php script finds all the ports and says so ...
Code: Select all
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 50
Code: Select all
DEBUG: VLAN_ID: 1, VLAN_NAME: default, ACTIVE PORTS: 0
Code: Select all
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 #