I have one Cacti server but on few graphs there are some gaps, so I installed another test server to see if gaps occur as well. Unfortunately graphs gaps on test server appeared as well.
According to logs from poller there is no problem with time synchronisation:
Code: Select all
10/16/2009 10:25:01 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '299', Max Runtime '298', Poller Runs: '1'
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 55788
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1572856
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.08 5min:0.06 10min:0.02
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /var/www/html/cacti/scripts/unix_users.pl , output: 1
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 99
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: xxx.xx.xxx.xxx, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.97, output: 115299285982486
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: xxx.xx.xxx.xxx, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.97, output: 93330752125784
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: xxx.xx.xxx.xxx, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.103, output: 58357145
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: xxx.xx.xxx.xxx, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.103, output: 233857837
10/16/2009 10:25:02 AM - CMDPHP: Poller[0] Time: 0.1500 s, Theads: N/A, Hosts: 2
10/16/2009 10:25:02 AM - SYSTEM STATS: Time:1.1435 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
So I tried to check one of my rdd files:
Code: Select all
# rrdtool fetch router-1_traffic_in_8.rrd AVERAGE | tail -n20
1255679400: 6.3712042701e+06 4.7278309463e+06
1255679700: 6.4252280325e+06 4.7115762508e+06
1255680000: 6.6766284956e+06 4.9200634360e+06
1255680300: 6.7634168029e+06 5.0558932932e+06
1255680600: 7.1297393991e+06 5.3736627476e+06
1255680900: 7.0947032333e+06 5.3990274100e+06
1255681200: 7.1372324900e+06 5.4529263985e+06
1255681500: 7.0571054821e+06 5.4114678891e+06
1255681800: 7.1198637382e+06 5.3747711200e+06
1255682100: 7.1973048753e+06 5.4498155756e+06
1255682400: 7.2654043852e+06 5.4870659240e+06
1255682700: 7.1622073983e+06 5.4610208159e+06
1255683000: 7.1273687863e+06 5.4593536919e+06
1255683300: 7.2711121127e+06 5.5019282204e+06
1255683600: 7.7067091980e+06 5.5951818648e+06
1255683900: 7.7956630182e+06 5.6751145764e+06
1255684200: 7.8504757613e+06 5.7860009849e+06
1255684500: 7.8077068073e+06 5.8254050257e+06
1255684800: 7.5986619758e+06 5.6957064397e+06
1255685100: nan nan
This is output from rddtool info command:
Code: Select all
# rrdtool info router-1_traffic_in_8.rrd
filename = "router-1_traffic_in_8.rrd"
rrd_version = "0003"
step = 300
last_update = 1255685402
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 600
ds[traffic_in].min = 0.0000000000e+00
ds[traffic_in].max = 1.0000000000e+09
ds[traffic_in].last_ds = "115301587611265"
ds[traffic_in].value = 1.5344191860e+07
ds[traffic_in].unknown_sec = 0
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 600
ds[traffic_out].min = 0.0000000000e+00
ds[traffic_out].max = 1.0000000000e+09
ds[traffic_out].last_ds = "93332506295063"
ds[traffic_out].value = 1.1694461860e+07
ds[traffic_out].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].cur_row = 464
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].cur_row = 79
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 0.0000000000e+00
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].cur_row = 752
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 1.3223543049e+08
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 9.9490740540e+07
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].cur_row = 774
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.9234503971e+08
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 3.5266516558e+08
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].cur_row = 274
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].cur_row = 292
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 7.6708096459e+06
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 5.8458505951e+06
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].cur_row = 751
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 7.8504757613e+06
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = 5.8458505951e+06
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].cur_row = 457
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 7.8504757613e+06
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = 5.8458505951e+06
rra[7].cdp_prep[1].unknown_datapoints = 0
Many Thanks for any suggestions and help !!!