hi all,
I tried to install plugins for my cacti but seems failed, the "plugins management" page show “No plugin found".
I tried all the hard to find out the reason but I am not lucky. So I have to post my problem here hoping to get some help.
my cacti version is 1.1.16, and I just followed the advice, git clone the "monitor" plugin in my fold "/usr/local/nginx/html/cacti/plugins" from github,
[root@XXXX plugins]# ll
total 8
-rw-rw-r--. 1 1000 1000 44 Jul 30 10:00 index.php
drwxr-xr-x 7 root root 4096 Sep 18 13:15 monitor
I check the cacti.log and find some "DB Errors" but I couldn't get the point. Does anybody have any clue?
BTW: I used remote DB server for cacti, and I can't find any plugin (monitor) table in my DB server. I suppose the db server refuse to import the plugin db table, but I do not know how to fix it.
2017/09/18 13:07:49 - CMDPHP SQL Backtrace: (/plugins/monitor/poller_monitor.php: 142 purge_event_records)(/plugins/monitor/poller_monitor.php: 650 db_execute_prepared)(/lib/database.php: 191 cacti_debug_backtrace)
2017/09/18 13:07:49 - CMDPHP ERROR: A DB Exec Failed!, Error: Table 'cactidb.plugin_monitor_reboot_history' doesn't exist
2017/09/18 13:07:49 - DBCALL ERROR: A DB Exec Failed!, Error:1146, SQL:'DELETE FROM plugin_monitor_reboot_history WHERE log_time
2017/09/18 13:07:49 - CMDPHP SQL Backtrace: (/plugins/monitor/poller_monitor.php: 142 purge_event_records)(/plugins/monitor/poller_monitor.php: 646 db_execute_prepared)(/lib/database.php: 191 cacti_debug_backtrace)
2017/09/18 13:07:49 - CMDPHP ERROR: A DB Exec Failed!, Error: Table 'cactidb.plugin_monitor_notify_history' doesn't exist
2017/09/18 13:07:49 - DBCALL ERROR: A DB Exec Failed!, Error:1146, SQL:'DELETE FROM plugin_monitor_notify_history WHERE notification_time
2017/09/18 13:07:49 - CMDPHP SQL Backtrace: (/plugins/monitor/poller_monitor.php: 92 monitor_uptime_checker)(/plugins/monitor/poller_monitor.php: 253 db_execute)(
###################################################
update 9.20
problem solve; temporary table creation authority is required for the DB
db_execute("CREATE TEMPORARY TABLE IF NOT EXISTS $table LIKE plugin_c
onfig");
db_execute("TRUNCATE $table");
db_execute("INSERT INTO $table SELECT * FROM plugin_config");
[cacti 1.1.16] No Plugins Found on console (solved))
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 4 guests