Interfaces list is empty (no scanner devices found) [solved]

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
Pentium100
Posts: 19
Joined: Thu Feb 19, 2009 4:10 pm

Interfaces list is empty (no scanner devices found) [solved]

Post by Pentium100 »

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)
Last edited by Pentium100 on Tue Oct 08, 2013 7:21 am, edited 1 time in total.
Pentium100
Posts: 19
Joined: Thu Feb 19, 2009 4:10 pm

Re: Interfaces list is empty (no scanner devices found)

Post by Pentium100 »

I figured it out:
in the lib/mactrack_dlink.php file I needed to add

Code: Select all

$if2 = build_InterfacesTable($device, $ifIndexes, TRUE, TRUE);
just before

Code: Select all

mactrack_debug("ifInterfaces assembly complete.");
Now the interface list is updated.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest