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.
graph take 4,5 hours to show
Moderators: Developers, Moderators
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: graph take 4,5 hours to show
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.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: graph take 4,5 hours to show
Yeah, that smacks of timezone settings being different between PHP and MySQL (when checking PHP check for both CLI and Web ini files).
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 32
- Joined: Mon Oct 29, 2018 1:55 am
Re: graph take 4,5 hours to show
Dear All,
Please guide me to fix the time issue between Mysql and php.
Thanks.
Please guide me to fix the time issue between Mysql and php.
Thanks.
Re: graph take 4,5 hours to show
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 32
- Joined: Mon Oct 29, 2018 1:55 am
Re: graph take 4,5 hours to show
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
////////////////////////////////////////////////////////////////////
[root@DBill-Monitor ~]# date
Mon Mar 11 11:07:29 IST 2019
[root@DBill-Monitor ~]# 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.
vi /etc/php.ini
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Colombo
////////////////////////////////////////////////////////////////////
[root@DBill-Monitor ~]# date
Mon Mar 11 11:07:29 IST 2019
[root@DBill-Monitor ~]# 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.
Re: graph take 4,5 hours to show
Depends on your system. Some have separate PHP.INI's for Web vs Cli.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 0 guests