Cactiusers.org


It is currently Tue Feb 07, 2012 5:47 pm




Post new topic Reply to topic  [ 4 posts ] 
 Time issue on the graphs 
Author Message
New User

Joined: Tue Oct 10, 2006 10:14 am
Posts: 5
Post Time issue on the graphs
Hi guys!
I tried to find similar issues on the forum but the only one I found was related to VM so....here I go

The time on my graphs are one hour behind the real time. The machine time is ok: Tue Jan 26 16:21:22 EST 2010
I attached the graph as well.

Here is what I use:

Quote:
Cacti Version - 0.8.7e
Plugin Architecture - 2.5
Poller Type - Cactid v
Server Info - Linux 2.6.9-78.0.13.ELsmp
Web Server - Apache/2.0.63 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.82sp1
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
    Global Plugin Settings (settings - v0.5)
    PHP Network Weathermap (weathermap - v0.96a)
    Large Site Performane Booster for Cacti (boost - v2.2)
    Device Monitoring (monitor - v0.8.2)
    Network Discovery (discovery - v0.8.5)
    Network Tools (tools - v0.3)
    Syslog Monitoring (syslog - v0.5.2)
    rrdclean
    Update Checker (update - v0.4)
    FlowView (flowview - v0.6)
    Host Info (hostinfo - v0.2)
    Error Images (errorimage - v0.1)
    Create Aggregate Graphs (aggregate - v0.70 Beta 1)
    docs
    Cacti-ReportIt (reportit - v0.6.1)
    Thresholds (thold - v0.4.1)


Any solutions for that?
Thank you!


Attachments:
cacti_time.jpg
cacti_time.jpg [ 8.08 KiB | Viewed 624 times ]
Tue Jan 26, 2010 4:22 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: Time issue on the graphs
Timezone may be set incorrectly in php.ini.


Tue Jan 26, 2010 10:38 pm
New User

Joined: Tue Oct 10, 2006 10:14 am
Posts: 5
Post Re: Time issue on the graphs
Hi Jimmy,
I wish it was that simple :(
Unfortunately, when I changed the php.ini to:

; Defines the default timezone used by the date functions
date.timezone =America/SPAM

Weathermaps went gray, the graphs are not working anymore and the log tells me that rrd files contain invalid data. :-/

01/27/2010 11:56:49 AM - WEATHERMAP: Poller[0] WARNING: [Map 49] lanext.conf: ReadData: LINK lanext-R-risq, target: /var/www/html/rra/lanext_traffic_in_190.rrd on config line 192 of /var/www/html/plugins/weathermap/configs/lanext.conf had no valid data, according to WeatherMapDataSource_rrd
01/27/2010 11:56:49 AM - WEATHERMAP: Poller[0] WARNING: [Map 49] lanext.conf: ReadData: LINK lanext-A-telus, target: /var/www/html/rra/lanext-a_traffic_in_1147.rrd on config line 186 of /var/www/html/plugins/weathermap/configs/lanext.conf had no valid data, according to WeatherMapDataSource_rrd


If I undo the changes in php.ini the weathermaps come back to life and the graphs restart working.


Attachments:
cacti_time2.jpg
cacti_time2.jpg [ 39.77 KiB | Viewed 612 times ]
cacti_time3.jpg
cacti_time3.jpg [ 22.53 KiB | Viewed 612 times ]
Wed Jan 27, 2010 12:10 pm
New User

Joined: Tue Oct 10, 2006 10:14 am
Posts: 5
Post Re: Time issue on the graphs
EUREKA! :) I GOT IT!
I went to Webmin and for some reason the system time was one hour behind.
The time is still 5 min behind but I think this doesn't bother me that much.
Thx a bunch guys!


Wed Jan 27, 2010 2:28 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

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