Hi,
I installed mactrack on one cacti server, configured the device types (D-Link switches and a Linux router). The MAC and IP lists get populated, but the interface list stays empty.
D-Link switches have "get_dlink_l2_switch_ports" as MAC Address Scanning Function and "N/A" as IP Address Scanning Function.
The Linux router has "N/A" as MAC Address Scanning Function and "get_standard_arp_table" as IP Address Scanning Function.
The mac_track_interfaces table in the db is empty.
Is it possible to get the interface list from D-Link switches using MAC Track?
MAC Track version is 2.9, cacti version is 0.8.8a (default with CentOS6.4)
Interfaces list is empty (no scanner devices found) [solved]
Moderators: Developers, Moderators
-
- Posts: 19
- Joined: Thu Feb 19, 2009 4:10 pm
Interfaces list is empty (no scanner devices found) [solved]
Last edited by Pentium100 on Tue Oct 08, 2013 7:21 am, edited 1 time in total.
-
- Posts: 19
- Joined: Thu Feb 19, 2009 4:10 pm
Re: Interfaces list is empty (no scanner devices found)
I figured it out:
in the lib/mactrack_dlink.php file I needed to add
just before
Now the interface list is updated.
in the lib/mactrack_dlink.php file I needed to add
Code: Select all
$if2 = build_InterfacesTable($device, $ifIndexes, TRUE, TRUE);
Code: Select all
mactrack_debug("ifInterfaces assembly complete.");
Who is online
Users browsing this forum: No registered users and 1 guest