I really need your expertise..
First of all, I'm using WINDOWS Cacti Version 1.1.38 / RRDtool 1.4.x / SPINE 1.1.37 / PHP Version 7.0.29 / Mysql 5.7.21
Today I tried to move my cacti from my laptop (win10) into a VM (win10).
I followed the below steps :
1. installed the cacti to the VM using the "Cacti-1.1.38.exe"
2. mysqldump from my pc (export) pc to the VM (import)
3. copy/paste the "rra" folder from my pc to the VM
4. so far everything seems OK - meaning graph history, devices, templates etc etc
5. but there is no graph since the migration
6. the real time works !!
I also tried to "Rebuild Poller Cache" without luck.
Schedule task OK.
Below I provde you with some outputs:
RRDtool Graph Syntax
RRDtool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start="1528072320" \
--end="1528158453" \
--pango-markup \
--title="SW-TR-L1 - xe-1/1/0 - (*** node1-library xe-0/0/12 -- Ae25 ***)" \
--vertical-label="bits per second" \
--slope-mode \
--base=1000 \
--height=120 \
--width=500 \
--rigid \
--alt-autoscale-max \
--lower-limit="0" \
COMMENT:"From 04/06/2018 03\:32\:00 To 05/06/2018 03\:27\:33\c" \
COMMENT:" \n" \
--border 1 --slope-mode \
--watermark "Generated by Cacti®" \
DEF:a="C\:/Apache24/htdocs/cacti/rra/sw-tr-l1_traffic_in_4597.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/Apache24/htdocs/cacti/rra/sw-tr-l1_traffic_in_4597.rrd":"traffic_in":MAX \
DEF:c="C\:/Apache24/htdocs/cacti/rra/sw-tr-l1_traffic_in_4597.rrd":"traffic_out":AVERAGE \
DEF:d="C\:/Apache24/htdocs/cacti/rra/sw-tr-l1_traffic_in_4597.rrd":"traffic_out":MAX \
CDEF:cdefa="a,8,*" \
CDEF:cdefb="b,8,*" \
CDEF:cdefi="c,8,*" \
CDEF:cdefj="c,-8,*" \
CDEF:cdefbb="d,8,*" \
CDEF:cdefbf="a,UN,INF,UNKN,IF" \
CDEF:cdefbg="d,8,*,-1,*" \
AREA:cdefa#00CF0099:"Inbound " \
LINE1:cdefb#00CF00FF:"" \
AREA:cdefa#00FF0019:"" \
AREA:cdefa#FF000033:"" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefb#005D57FF:"Peak Usage\n" \
LINE1:cdefi#002A9799:"Outbound " \
AREA:cdefj#4444FF19:"" \
GPRINT:cdefi:LAST:"Current\:%8.2lf %s" \
LINE1:cdefbb#002A97FF:"" \
AREA:cdefi#0000AA33:"" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s" \
AREA:cdefbf#8F9286FF:"" \
LINE1:cdefbg#0000AAFF:"Peak Usage\n"
RRDtool Says:
OK
Log [Total Lines: 1631 - Admin View - No Other Filter in Affect]
05/06/2018 03:34:59 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(C:\Apache24\htdocs\cacti\lib\functions.php: 4628 cacti_debug_backtrace)
05/06/2018 03:34:59 - ERROR PHP ERROR: Maximum execution time of 299 seconds exceeded in file: C:\Apache24\htdocs\cacti\lib\database.php on line: 262
05/06/2018 03:34:59 - SYSTEM STATS: Time:298.9729 Method:spine Processes:20 Threads:10 Hosts:89 HostsPerProcess:5 DataSources:14919 RRDsProcessed:0
05/06/2018 03:34:59 - POLLER: Poller[Main Poller] Maximum runtime of 298 seconds exceeded. Exiting.
05/06/2018 03:29:59 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(C:\Apache24\htdocs\cacti\lib\functions.php: 4628 cacti_debug_backtrace)
05/06/2018 03:29:59 - ERROR PHP ERROR: Maximum execution time of 299 seconds exceeded in file: C:\Apache24\htdocs\cacti\lib\poller.php on line: 126
05/06/2018 03:29:59 - SYSTEM STATS: Time:298.8851 Method:spine Processes:20 Threads:10 Hosts:89 HostsPerProcess:5 DataSources:14919 RRDsProcessed:0
05/06/2018 03:29:59 - POLLER: Poller[Main Poller] Maximum runtime of 298 seconds exceeded. Exiting.
05/06/2018 03:24:59 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(C:\Apache24\htdocs\cacti\lib\functions.php: 4628 cacti_debug_backtrace)
05/06/2018 03:24:59 - ERROR PHP ERROR: Maximum execution time of 299 seconds exceeded in file: C:\Apache24\htdocs\cacti\lib\poller.php on line: 126
05/06/2018 03:24:59 - SYSTEM STATS: Time:298.5427 Method:spine Processes:20 Threads:10 Hosts:89 HostsPerProcess:5 DataSources:14919 RRDsProcessed:0
05/06/2018 03:24:59 - POLLER: Poller[Main Poller] Maximum runtime of 298 seconds exceeded. Exiting.
I guess is something to do with permissions but my knowledge stops there..
Please let me now if you need anymore logs...
__
Dimitris