Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Mar 18, 2019 12:53 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Interfaces list is empty (no scanner devices found) [solved]
PostPosted: Wed Sep 25, 2013 3:22 am 
Offline

Joined: Thu Feb 19, 2009 4:10 pm
Posts: 19
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.

Top
 Profile  
 
 Post subject: Re: Interfaces list is empty (no scanner devices found)
PostPosted: Tue Oct 08, 2013 7:20 am 
Offline

Joined: Thu Feb 19, 2009 4:10 pm
Posts: 19
I figured it out:
in the lib/mactrack_dlink.php file I needed to add
Code:
$if2 = build_InterfacesTable($device, $ifIndexes, TRUE, TRUE);

just before
Code:
mactrack_debug("ifInterfaces assembly complete.");


Now the interface list is updated.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group