Threshold Error CMDPHP: Poller[0] ERROR

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
devilnct
Posts: 8
Joined: Thu Aug 15, 2013 1:24 am

Threshold Error CMDPHP: Poller[0] ERROR

Post by devilnct »

Dear,

I'm a new use cacti, I configured plugin: monitor, weathermap, all of them is ok.
Except Threshold, I can't create a new threshold from "Threshold Creation Wizzard", when I drop down Host is blank.
I viewed log cacti:
08/15/2013 01:29:03 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT thold_data.id FROM thold_data LEFT JOIN user_auth_perms ON ((thold_data.graph_id=user_auth_perms.item_id AND user_auth_perms.type=1 AND user_auth_perms.user_id=) OR (thold_data.host_id=user_auth_perms.item_id AND user_auth_perms.type=3 AND user_auth_perms.user_id=) OR (thold_data.graph_template=user_auth_perms.item_id AND user_auth_perms.type=4 AND user_auth_perms.user_id=)) WHERE thold_data.data_template = 41 AND "
08/15/2013 01:29:03 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT DISTINCT host.id, host.description, host.hostname FROM host INNER JOIN thold_data ON (host.id = thold_data.host_id) LEFT JOIN user_auth_perms on (thold_data.host_id=user_auth_perms.item_id and user_auth_perms.type=3 and user_auth_perms.user_id=) WHERE ORDER BY description"
08/15/2013 01:29:03 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT thold_data.*, thold_template.name template_name FROM thold_data LEFT JOIN user_auth_perms on ((thold_data.graph_id=user_auth_perms.item_id and user_auth_perms.type=1 and user_auth_perms.user_id=) OR (thold_data.host_id=user_auth_perms.item_id and user_auth_perms.type=3 and user_auth_perms.user_id=) OR (thold_data.graph_template=user_auth_perms.item_id and user_auth_perms.type=4 and user_auth_perms.user_id=)) LEFT JOIN thold_template ON thold_template.id = thold_data.template WHERE thold_data.data_template = 41 AND ORDER BY thold_alert DESC, template asc LIMIT 0,30"
08/15/2013 01:29:03 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"SELECT * FROM user_auth WHERE id="
08/15/2013 01:28:05 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT DISTINCT host.id, CONCAT_WS('',host.description,' (',host.hostname,')') AS name FROM (graph_templates_graph, host) LEFT JOIN graph_local ON (graph_local.host_id=host.id) LEFT JOIN graph_templates ON (graph_templates.id=graph_local.graph_template_id) LEFT JOIN user_auth_perms ON ((graph_templates_graph.local_graph_id=user_auth_perms.item_id AND user_auth_perms.type=1 AND user_auth_perms.user_id=) OR (host.id=user_auth_perms.item_id AND user_auth_perms.type=3 AND user_auth_perms.user_id=) OR (graph_templates.id=user_auth_perms.item_id AND user_auth_perms.type=4 AND user_auth_perms.user_id=)) WHERE graph_templates_graph.local_graph_id=graph_local.id ORDER BY name"
08/15/2013 01:28:05 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"SELECT * FROM user_auth WHERE id="
08/15/2013 01:28:02 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT DISTINCT host.id, CONCAT_WS('',host.description,' (',host.hostname,')') AS name FROM (graph_templates_graph, host) LEFT JOIN graph_local ON (graph_local.host_id=host.id) LEFT JOIN graph_templates ON (graph_templates.id=graph_local.graph_template_id) LEFT JOIN user_auth_perms ON ((graph_templates_graph.local_graph_id=user_auth_perms.item_id AND user_auth_perms.type=1 AND user_auth_perms.user_id=) OR (host.id=user_auth_perms.item_id AND user_auth_perms.type=3 AND user_auth_perms.user_id=) OR (graph_templates.id=user_auth_perms.item_id AND user_auth_perms.type=4 AND user_auth_perms.user_id=)) WHERE graph_templates_graph.local_graph_id=graph_local.id ORDER BY name"
08/15/2013 01:28:02 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"SELECT * FROM user_auth WHERE id="
08/15/2013 01:28:00 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT thold_data.id FROM thold_data LEFT JOIN user_auth_perms ON ((thold_data.graph_id=user_auth_perms.item_id AND user_auth_perms.type=1 AND user_auth_perms.user_id=) OR (thold_data.host_id=user_auth_perms.item_id AND user_auth_perms.type=3 AND user_auth_perms.user_id=) OR (thold_data.graph_template=user_auth_perms.item_id AND user_auth_perms.type=4 AND user_auth_perms.user_id=)) WHERE thold_data.data_template = 41 AND "
08/15/2013 01:28:00 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT DISTINCT host.id, host.description, host.hostname FROM host INNER JOIN thold_data ON (host.id = thold_data.host_id) LEFT JOIN user_auth_perms on (thold_data.host_id=user_auth_perms.item_id and user_auth_perms.type=3 and user_auth_perms.user_id=) WHERE ORDER BY description"
08/15/2013 01:28:00 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"SELECT thold_data.*, thold_template.name template_name FROM thold_data LEFT JOIN user_auth_perms on ((thold_data.graph_id=user_auth_perms.item_id and user_auth_perms.type=1 and user_auth_perms.user_id=) OR (thold_data.host_id=user_auth_perms.item_id and user_auth_perms.type=3 and user_auth_perms.user_id=) OR (thold_data.graph_template=user_auth_perms.item_id and user_auth_perms.type=4 and user_auth_perms.user_id=)) LEFT JOIN thold_template ON thold_template.id = thold_data.template WHERE thold_data.data_template = 41 AND ORDER BY thold_alert DESC, template asc LIMIT 0,30"
08/15/2013 01:28:00 PM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"SELECT * FROM user_auth WHERE id="

How can I fix it ?
I use Cacti 0.8.8a, Threshold 0.5.0

Thank you
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Threshold Error CMDPHP: Poller[0] ERROR

Post by cigamit »

Are you logged into Cacti as a quest?
devilnct
Posts: 8
Joined: Thu Aug 15, 2013 1:24 am

Re: Threshold Error CMDPHP: Poller[0] ERROR

Post by devilnct »

cigamit wrote:Are you logged into Cacti as a quest?
Thank for your replying, I logged in with admin user, I checked all realm permission.
combellm
Cacti User
Posts: 111
Joined: Mon Oct 10, 2011 9:51 am
Location: PARIS, France

Re: Threshold Error CMDPHP: Poller[0] ERROR

Post by combellm »

Hi,
Try to log in your SQL database and check if all the syslogs table have been created!
I think this could help you to the right way.
You can find the tables in the case of a normal install on the forum.

Good luck :D
--
knowledge is the only thing which increases, when shared
devilnct
Posts: 8
Joined: Thu Aug 15, 2013 1:24 am

Re: Threshold Error CMDPHP: Poller[0] ERROR

Post by devilnct »

combellm wrote:Hi,
Try to log in your SQL database and check if all the syslogs table have been created!
I think this could help you to the right way.
You can find the tables in the case of a normal install on the forum.

Good luck :D
Thank for your replying, my fault, I chose None in Authentication Method, after change everything is ok. Please help me close topic :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests