Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jul 23, 2017 7:49 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Monitor Plugin Problem
PostPosted: Wed Mar 09, 2016 2:05 pm 
Offline

Joined: Wed Mar 09, 2016 2:01 pm
Posts: 1
After instaling Cacti from GIT there is a problem with monitor plugin:

03/09/2016 07:57:40 PM - CMDPHP ERROR: SQL Assoc Failed!, Error:1054, SQL:"select graph_tree_items.title, graph_tree_items.order_key, graph_tree_items.host_id, graph_tree_items.host_grouping_type, host.id, host.description, host.status, host.hostname, host.cur_time, host.status_rec_date, host.status_fail_date, host.availability from graph_tree_items left join host on (host.id=graph_tree_items.host_id) where graph_tree_items.graph_tree_id=3 and ((host.disabled = '' and host.monitor = 'on') or (title != ''))and host.status < 2 and host.id > 0 and graph_tree_items.local_graph_id = 0 order by graph_tree_items.order_key"
03/09/2016 07:57:40 PM - CMDPHP ERROR: SQL Assoc Failed!, Error: Unknown column 'graph_tree_items.order_key' in 'field list'
03/09/2016 07:57:40 PM - CMDPHP SQL Backtrace: (/plugins/monitor/monitor.php: 57 get_host_down_by_permission)(/plugins/monitor/monitor.php: 796 get_host_tree_array)(/plugins/monitor/monitor.php: 860 db_fetch_assoc)(/lib/database.php: 278 db_fetch_assoc_prepared)(/lib/database.php: 316 cacti_debug_backtrace)
03/09/2016 07:57:40 PM - CMDPHP ERROR: SQL Assoc Failed!, Error:1054, SQL:"select graph_tree_items.title, graph_tree_items.order_key, graph_tree_items.host_id, graph_tree_items.host_grouping_type, host.id, host.description, host.status, host.hostname, host.cur_time, host.status_rec_date, host.status_fail_date, host.availability from graph_tree_items left join host on (host.id=graph_tree_items.host_id) where graph_tree_items.graph_tree_id=5 and ((host.disabled = '' and host.monitor = 'on') or (title != ''))and host.status < 2 and host.id > 0 and graph_tree_items.local_graph_id = 0 order by graph_tree_items.order_key"
03/09/2016 07:57:40 PM - CMDPHP ERROR: SQL Assoc Failed!, Error: Unknown column 'graph_tree_items.order_key' in 'field list'
03/09/2016 07:57:40 PM - CMDPHP SQL Backtrace: (/plugins/monitor/monitor.php: 57 get_host_down_by_permission)(/plugins/monitor/monitor.php: 796 get_host_tree_array)(/plugins/monitor/monitor.php: 860 db_fetch_assoc)(/lib/database.php: 278 db_fetch_assoc_prepared)(/lib/database.php: 316 cacti_debug_backtrace)
03/09/2016 07:57:40 PM - CMDPHP ERROR: SQL Assoc Failed!, Error:1054, SQL:"select graph_tree_items.title, graph_tree_items.order_key, graph_tree_items.host_id, graph_tree_items.host_grouping_type, host.id, host.description, host.status, host.hostname, host.cur_time, host.status_rec_date, host.status_fail_date, host.availability from graph_tree_items left join host on (host.id=graph_tree_items.host_id) where graph_tree_items.graph_tree_id=4 and ((host.disabled = '' and host.monitor = 'on') or (title != ''))and host.status < 2 and host.id > 0 and graph_tree_items.local_graph_id = 0 order by graph_tree_items.order_key"
03/09/2016 07:57:40 PM - CMDPHP ERROR: SQL Assoc Failed!, Error: Unknown column 'graph_tree_items.order_key' in 'field list'
03/09/2016 07:57:40 PM - CMDPHP SQL Backtrace: (/plugins/monitor/monitor.php: 57 get_host_down_by_permission)(/plugins/monitor/monitor.php: 796 get_host_tree_array)(/plugins/monitor/monitor.php: 860 db_fetch_assoc)(/lib/database.php: 278 db_fetch_assoc_prepared)(/lib/database.php: 316 cacti_debug_backtrace)

What to do? How to diagnose that?


Top
 Profile  
 
 Post subject: Re: Monitor Plugin Problem
PostPosted: Tue Dec 20, 2016 8:00 pm 
Offline
Cacti User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 413
These things should all be fixed by now.

_________________
Before history, there was a paradise, now dust.


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 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