Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Jul 20, 2019 2:55 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [cacti 1.1.16] No Plugins Found on console (solved))
PostPosted: Mon Sep 18, 2017 7:19 am 
Offline

Joined: Sun Aug 06, 2017 11:42 pm
Posts: 2
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,
[[email protected] 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");


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

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