RRA doesn't update

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
vogl
Posts: 2
Joined: Wed Feb 20, 2008 4:21 am

RRA doesn't update

Post by vogl »

Hi,

I upgrade cacti to new version on my debian testing (now is version 0.8.7.b). After upgrade my graphs is empty and rras doesn't upgrade too.

I check all logs (poller.log, cacti.log) all seems to working fine.
In MySql is table poller which has new records.

Can you help me ?

Piece of mys cacti.log
02/20/2008 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT * FROM poller_item WHERE rrd_next_step<=0 ORDER by host_id"
02/20/2008 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT count(*) from poller_item WHERE (action=2 AND rrd_next_step<=0)"
02/20/2008 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from host where disabled = '' order by id"
02/20/2008 10:25:01 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT count(*) from po

poller-error.log is empty
vogl
Posts: 2
Joined: Wed Feb 20, 2008 4:21 am

Post by vogl »

Problem is in the table poller_output. There is about 1000000 records and poller hangs.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

can you try to truncate the poller_output table ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
TheWitness
Developer
Posts: 17064
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Should not be required, as 0.8.7 truncates if it finds that it is non-empty upon poller startup. I am guessing either permissions or something else more dramatic. Should run "php poller.php" as the CRON user and look for nasty messages, like permission denied.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
new
Posts: 23
Joined: Mon Dec 10, 2007 10:37 am

Post by new »

Hello,

I have upgraded from 0.8.6j to 0.8.7b and have a similar problem. The last 4 weeks of graphs are lost, so all the graphs are there, the permissions are OK, only those 4 weeks are lost for all the graphs! Maybe it has something to do with new rra's of 1 minute average? All the settings are as they were before the upgrade.

Is it possible to avoid the situation?

Many thanks in advance for any help!
Attachments
LostData.JPG
LostData.JPG (33.81 KiB) Viewed 1965 times
new
Posts: 23
Joined: Mon Dec 10, 2007 10:37 am

Post by new »

Any ideas? Did somebody have similar problems during the migration?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests