Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Mar 26, 2019 7:37 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: graph take 4,5 hours to show
PostPosted: Wed Mar 06, 2019 3:18 am 
Offline

Joined: Mon Oct 29, 2018 1:55 am
Posts: 28
Dear All,

It takes more than 5 hours to show the graph after it creates it.RRD tool is running well. is there any option to reduce that time to create within 5 minutes.

Thanks.


Top
 Profile  
 
 Post subject: Re: graph take 4,5 hours to show
PostPosted: Wed Mar 06, 2019 8:22 am 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 224
Location: Long Island, New York, USA
Check your time zone settings. I recall another post where someone had the incorrect time zone and it took an hour or two to show the graphs.

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.2 @ CentOS 7-6.1810.2.el7
Test: Cacti 1.2.2 @ CentOS 7-6.1810.2.el7


Top
 Profile  
 
 Post subject: Re: graph take 4,5 hours to show
PostPosted: Wed Mar 06, 2019 8:42 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2308
Yeah, that smacks of timezone settings being different between PHP and MySQL (when checking PHP check for both CLI and Web ini files).

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: graph take 4,5 hours to show
PostPosted: Wed Mar 06, 2019 10:56 pm 
Offline

Joined: Mon Oct 29, 2018 1:55 am
Posts: 28
Dear All,

Please guide me to fix the time issue between Mysql and php.

Thanks.


Top
 Profile  
 
 Post subject: Re: graph take 4,5 hours to show
PostPosted: Thu Mar 07, 2019 3:39 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2308
see https://forums.cacti.net/viewtopic.php? ... 1e3df62678

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: graph take 4,5 hours to show
PostPosted: Mon Mar 11, 2019 1:22 am 
Offline

Joined: Mon Oct 29, 2018 1:55 am
Posts: 28
My time zones shows as below

vi /etc/php.ini
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Colombo

////////////////////////////////////////////////////////////////////
[[email protected] ~]# date
Mon Mar 11 11:07:29 IST 2019
[[email protected] ~]# timedatectl status
Local time: Mon 2019-03-11 11:07:36 IST
Universal time: Mon 2019-03-11 05:37:36 UTC
RTC time: Mon 2019-03-11 05:37:36
Time zone: Asia/Colombo (IST, +0530)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a


is there any other location to be needed to change?

Thanks.


Top
 Profile  
 
 Post subject: Re: graph take 4,5 hours to show
PostPosted: Mon Mar 11, 2019 6:12 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2308
Depends on your system. Some have separate PHP.INI's for Web vs Cli.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


Who is online

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

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group