Used Mactrack years ago and setting it up from scratch again. Our switches are Cisco 2960s and Nexus 5000s. Running Cacti 0.8.8b (NET_SNMP 5.5) and Mactrack 2.9.
Problem is that I've added Device Types for these two and can now get them to scan, and it finds lots of ports, but no MAC addresses. The 2960 is a straight switch, the Nexus is a switch/router. On both the 2960 and the 5000, when I run mactrack_scanner.php with debug, I basically get the exact same thing:
...
DEBUG: VLAN Analysis for VLAN: 10/Desktops is complete. ACTIVE PORTS: 199
...
DEBUG: Processing has begun for VLAN: 10
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 10, VLAN_NAME: Desktops, ACTIVE PORTS: 0
That happens for every VLAN.
These are my device types:
Code: Select all
mysql> select * from mac_track_device_types;
+----------------+------------------+--------+-------------+----------------+-------------------+-------------------------------+-----------------------------+-------------------+---------+----------+
| device_type_id | description | vendor | device_type | sysDescr_match | sysObjectID_match | scanning_function | ip_scanning_function | serial_number_oid | lowPort | highPort |
+----------------+------------------+--------+-------------+----------------+-------------------+-------------------------------+-----------------------------+-------------------+---------+----------+
| 1 | Cisco 2960 | Cisco | 1 | C2960S | .1.3.6.1.4.1.9 | get_IOS_dot1dTpFdbEntry_ports | Not Applicable - Switch/Hub | | 0 | 0 |
| 2 | Cisco Nexus 5000 | Cisco | 1 | n5000 | .1.3.6.1.4.1.9 | get_IOS_dot1dTpFdbEntry_ports | get_standard_arp_table | | 0 | 0 |
+----------------+------------------+--------+-------------+----------------+-------------------+-------------------------------+-----------------------------+-------------------+---------+----------+
Brett.