Cacti / plugin_mactrack

Mactrack Plugin for Cacti
GNU General Public License v2.0
12 stars 24 forks source link

Add VRF ARP table options #169

Closed jaxson5 closed 2 years ago

jaxson5 commented 2 years ago

I have added a new IP Address Scanning Function called get_cisco_vrf_arp_table, but in order for this to work I had to create a new table to keep the arp translations.

I don't have the time right now to work out the proper way to add this to the database.php but this is basically what needs adding:

CREATE TABLE mac_track_arp ( site_id int(10) unsigned NOT NULL DEFAULT 0, ip_address varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT '', mac_address varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', scan_date datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (mac_address), UNIQUE KEY mac_address (mac_address) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci

TheWitness commented 2 years ago

Awesome!