Cacti one hour behind?!

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
elcriuz
Posts: 2
Joined: Mon Jul 15, 2013 1:44 pm

Cacti one hour behind?!

Post by elcriuz »

Hi there,

I managed to install a fresh cacti on my Synology box. Now graphs are plotting fine except they are exactly one hour behind.

My RRA's are showing this:

Code: Select all

1373908200: 4.6006666667e+01
1373908500: 4.5006666667e+01
1373908800: 5.1976666667e+01
1373909100: 5.2000000000e+01
1373909400: 5.2996666667e+01
1373909700: 5.1006666667e+01
1373910000: nan
1373910300: nan
1373910600: nan
1373910900: nan
1373911200: nan
1373911500: nan
1373911800: nan
1373912100: nan
1373912400: nan
1373912700: nan
1373913000: nan
1373913300: nan
1373913600: nan
And the cacti.log is reflecting the same problem:

Code: Select all

07/15/2013 08:45:01 PM - POLLER: Poller[0] CACTI2RRD: /opt/bin/rrdtool update /volume1/web/cacti/rra/localhost_hdd_free_13.rrd --template hdd_used:hdd_free 1373910301:11280125196:20772901932
See the human readable time is correct, but the timestamp is wrong.

When I issue

Code: Select all

php -r "echo date ('Ymd His');"
to show the system time, it displays as normal! Very strange!

Please help,
Chris
elcriuz
Posts: 2
Joined: Mon Jul 15, 2013 1:44 pm

Re: Cacti one hour behind?!

Post by elcriuz »

Anyone? :-(
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Cacti one hour behind?!

Post by paulgevers »

elcriuz wrote:Anyone? :-(
Yes.

Please make sure that there are not multiple php.ini files on your system (Debian has at least to for example, one for cli and one for the webserver).

Also, check your time zones (system and php): http://docs.cacti.net/faq#time_zone_warning
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests