Cacti Graph stopped plotting after Server went down

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
kimron
Posts: 6
Joined: Thu Dec 04, 2014 3:45 pm

Cacti Graph stopped plotting after Server went down

Post by kimron »

Good day!
My server went down abruptly and when i logged backed into cacti all my graphs have stopped plotting.

I saw some errors in the log file but i have no idea of what to do.

Can anyone help me please!!!! :( :oops:

I looked into the log file and saw these error:

Log File [Total Lines: 328 - All Items Shown]
05/19/2015 01:21:16 PM - SYSTEM THOLD STATS: Time:0.0205 Tholds:0 TotalHosts:168 DownHosts:9 NewDownHosts:0
05/19/2015 01:21:16 PM - SYSTEM STATS: Time:74.4599 Method:cmd.php Processes:2 Threads:N/A Hosts:169 HostsPerProcess:85 DataSources:1732 RRDsProcessed:0
05/19/2015 01:21:16 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id "
05/19/2015 01:21:16 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
05/19/2015 01:21:16 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'145', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (1030, 'traffic_out', '2015-05-19 13:21:15', '2551272805')'
Last edited by kimron on Thu May 21, 2015 10:43 am, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Cacti Graph stopped plotting after Server went down

Post by BSOD2600 »

1) a few examples of the same error is plenty. no need to spam the post.
2) did you start with http://forums.cacti.net/viewtopic.php?f=3&t=11747 which links to https://dev.mysql.com/doc/refman/5.5/en ... erver.html or look up the MySQL error on Google? 145 = crashed tables.
3) run /cacti/cli/repair_database.php
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest