Cacti / plugin_mikrotik

Mikrotik Plugin for Cacti
GNU General Public License v2.0
60 stars 24 forks source link

Log errors #49

Closed razvanzeces closed 3 years ago

razvanzeces commented 3 years ago

Hello,

I've just installed plugin on Cacti 1.2.15 and I'm receiving this errors on the Log section.

What could be the reason? I can see that the plugin retrieved the Mikrotik devices accordingly. mikrotik

TheWitness commented 3 years ago

Check you log from the moment of install for table creation errors. What version of MySQL/MariaDB?

razvanzeces commented 3 years ago

@TheWitness this is the first time when the issue appeared.

logfirst

MySQL version it's: Server version: 10.1.47-MariaDB-0+deb9u1 Debian 9.13

razvanzeces commented 3 years ago

@TheWitness error it's reporting ok. That table doesn't exist under DB cacti.

razvanzeces commented 3 years ago

So the conclusion it's that the installer doesn't create the table that needed to be create -> "cacti.plugin_mikrotik_storage".

I created it manually, the issue still appears.

Any ideeas?

TheWitness commented 3 years ago

Yea, got Console > Utilities > Technical Support, bottom of the general tab. You have some data base settings wrong. I'm thinking innodb_file_format and innodb_large_prefix are wrong. After you change those two setting, you will have to restart MariaDB, then reinstall the plugin.

razvanzeces commented 3 years ago

I solved it how you suggested.

Thanks for help.