Cacti / plugin_mactrack

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

Missing tables when installing Mactrack 4.4 #154

Closed Cramin closed 3 years ago

Cramin commented 3 years ago

Runing Cacti 1.2.16 and Cacti Spine 1.2.16 on Debian 10.

Describe the bug Mysql tables are not created because of missing default value for port_number.

**Plugin

**Desktop

I make a commit and add '0' as default value for port_number and tables are created and MACs and IPs are displayed. https://github.com/Cramin/plugin_mactrack/commit/43dcaaff09bfa05dad92aa98a1109f5032374d82

TheWitness commented 3 years ago

Which table dude?

Cramin commented 3 years ago

Check my commit, there are three tables, my mistake api_plugin_db_table_create ('mactrack', 'mac_track_ip_ranges', $data); api_plugin_db_table_create ('mactrack', 'mac_track_oui_database', $data); api_plugin_db_table_create ('mactrack', 'mac_track_snmp_items', $data);

TheWitness commented 3 years ago

This was likely corrected by #161 and #160