Annual Chart
Moderators: Developers, Moderators
-
- Posts: 10
- Joined: Tue Jan 08, 2019 9:22 am
Annual Chart
Hello,
First of all I would like to congratulate everyone for the great tool that is cacti.
Second I would like to see if you can support me with the inconvenience that I have when viewing the annual graphs, I attach an image.
thanks.
First of all I would like to congratulate everyone for the great tool that is cacti.
Second I would like to see if you can support me with the inconvenience that I have when viewing the annual graphs, I attach an image.
thanks.
- Attachments
-
- cacti.png (33.76 KiB) Viewed 1099 times
Re: Annual Chart
Not sure we actually have any idea what you are asking for.
Before history, there was a paradise, now dust.
Re: Annual Chart
You look like your are using an old version of cacti or I'd have asked you to post the graph debug data that shows the row values. That would help in this situation to know whether you are seeing a bunch of NaN's and also, the data source info which shows a table of your actual vs expected rows (something I used recently).
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: 10
- Joined: Tue Jan 08, 2019 9:22 am
Re: Annual Chart
Hi,
Excuse my English:
1- When viewing the graph for the last 6 months, these cuts do not occur.
2- When you visualize the year, the problem that you attach image.
3- When you download the csv, it is effectively full of NAN
4- Annual chart properties:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1515503035' \
--end='1547039035' \
--title='22222' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2018/01/09 10\:03\:55 To 2019/01/09 10\:03\:55\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:9: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/www/cacti/rra/204/5819.rrd':'traffic_in':AVERAGE \
DEF:b='/var/www/cacti/rra/204/5819.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefa:LAST:' Current\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdefe#002A97FF:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
5- RRD INFO
[root@cacti ~]# rrdtool info /var/www/cacti/rra/204/5819.rrd
filename = "/var/www/cacti/rra/204/5819.rrd"
rrd_version = "0003"
step = 60
last_update = 1547039284
header_size = 3496
ds[traffic_in].index = 0
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 120
ds[traffic_in].min = 0,0000000000e+00
ds[traffic_in].max = 1,0000000000e+09
ds[traffic_in].last_ds = "78390982"
ds[traffic_in].value = 2,5388067797e+04
ds[traffic_in].unknown_sec = 0
ds[traffic_out].index = 1
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 120
ds[traffic_out].min = 0,0000000000e+00
ds[traffic_out].max = 1,0000000000e+09
ds[traffic_out].last_ds = "2702336953"
ds[traffic_out].value = 3,2619864407e+04
ds[traffic_out].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 1095
rra[0].cur_row = 499
rra[0].pdp_per_row = 1440
rra[0].xff = 0,0000000000e+00
rra[0].cdp_prep[0].value = 2,9856981921e+04
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = 5,3944661723e+05
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 315360
rra[1].cur_row = 131077
rra[1].pdp_per_row = 5
rra[1].xff = 0,0000000000e+00
rra[1].cdp_prep[0].value = 1,1686666102e+04
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 1,7924748305e+04
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 1576800
rra[2].cur_row = 969170
rra[2].pdp_per_row = 1
rra[2].xff = 0,0000000000e+00
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 78840
rra[3].cur_row = 62553
rra[3].pdp_per_row = 20
rra[3].xff = 0,0000000000e+00
rra[3].cdp_prep[0].value = 1,1889188418e+04
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 2,9025178814e+04
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[4].cf = "AVERAGE"
rra[4].rows = 26280
rra[4].cur_row = 11977
rra[4].pdp_per_row = 60
rra[4].xff = 0,0000000000e+00
rra[4].cdp_prep[0].value = 1,1889188418e+04
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = 2,9025178814e+04
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 26280
rra[5].cur_row = 8365
rra[5].pdp_per_row = 60
rra[5].xff = 0,0000000000e+00
rra[5].cdp_prep[0].value = 6,0536002362e+03
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 7,8699183801e+03
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 1095
rra[6].cur_row = 46
rra[6].pdp_per_row = 1440
rra[6].xff = 0,0000000000e+00
rra[6].cdp_prep[0].value = 6,0536002362e+03
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = 7,8699183801e+03
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 315360
rra[7].cur_row = 219482
rra[7].pdp_per_row = 5
rra[7].xff = 0,0000000000e+00
rra[7].cdp_prep[0].value = 6,0536002362e+03
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = 7,8699183801e+03
rra[7].cdp_prep[1].unknown_datapoints = 0
rra[8].cf = "MAX"
rra[8].rows = 1576800
rra[8].cur_row = 916094
rra[8].pdp_per_row = 1
rra[8].xff = 0,0000000000e+00
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[8].cdp_prep[1].value = NaN
rra[8].cdp_prep[1].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 78840
rra[9].cur_row = 61796
rra[9].pdp_per_row = 20
rra[9].xff = 0,0000000000e+00
rra[9].cdp_prep[0].value = 6,0536002362e+03
rra[9].cdp_prep[0].unknown_datapoints = 0
rra[9].cdp_prep[1].value = 7,8699183801e+03
rra[9].cdp_prep[1].unknown_datapoints = 0
Thanks all
Excuse my English:
1- When viewing the graph for the last 6 months, these cuts do not occur.
2- When you visualize the year, the problem that you attach image.
3- When you download the csv, it is effectively full of NAN
4- Annual chart properties:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1515503035' \
--end='1547039035' \
--title='22222' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2018/01/09 10\:03\:55 To 2019/01/09 10\:03\:55\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:9: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/www/cacti/rra/204/5819.rrd':'traffic_in':AVERAGE \
DEF:b='/var/www/cacti/rra/204/5819.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefa:LAST:' Current\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdefe#002A97FF:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
5- RRD INFO
[root@cacti ~]# rrdtool info /var/www/cacti/rra/204/5819.rrd
filename = "/var/www/cacti/rra/204/5819.rrd"
rrd_version = "0003"
step = 60
last_update = 1547039284
header_size = 3496
ds[traffic_in].index = 0
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 120
ds[traffic_in].min = 0,0000000000e+00
ds[traffic_in].max = 1,0000000000e+09
ds[traffic_in].last_ds = "78390982"
ds[traffic_in].value = 2,5388067797e+04
ds[traffic_in].unknown_sec = 0
ds[traffic_out].index = 1
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 120
ds[traffic_out].min = 0,0000000000e+00
ds[traffic_out].max = 1,0000000000e+09
ds[traffic_out].last_ds = "2702336953"
ds[traffic_out].value = 3,2619864407e+04
ds[traffic_out].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 1095
rra[0].cur_row = 499
rra[0].pdp_per_row = 1440
rra[0].xff = 0,0000000000e+00
rra[0].cdp_prep[0].value = 2,9856981921e+04
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = 5,3944661723e+05
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 315360
rra[1].cur_row = 131077
rra[1].pdp_per_row = 5
rra[1].xff = 0,0000000000e+00
rra[1].cdp_prep[0].value = 1,1686666102e+04
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 1,7924748305e+04
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 1576800
rra[2].cur_row = 969170
rra[2].pdp_per_row = 1
rra[2].xff = 0,0000000000e+00
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 78840
rra[3].cur_row = 62553
rra[3].pdp_per_row = 20
rra[3].xff = 0,0000000000e+00
rra[3].cdp_prep[0].value = 1,1889188418e+04
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 2,9025178814e+04
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[4].cf = "AVERAGE"
rra[4].rows = 26280
rra[4].cur_row = 11977
rra[4].pdp_per_row = 60
rra[4].xff = 0,0000000000e+00
rra[4].cdp_prep[0].value = 1,1889188418e+04
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = 2,9025178814e+04
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 26280
rra[5].cur_row = 8365
rra[5].pdp_per_row = 60
rra[5].xff = 0,0000000000e+00
rra[5].cdp_prep[0].value = 6,0536002362e+03
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 7,8699183801e+03
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 1095
rra[6].cur_row = 46
rra[6].pdp_per_row = 1440
rra[6].xff = 0,0000000000e+00
rra[6].cdp_prep[0].value = 6,0536002362e+03
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = 7,8699183801e+03
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 315360
rra[7].cur_row = 219482
rra[7].pdp_per_row = 5
rra[7].xff = 0,0000000000e+00
rra[7].cdp_prep[0].value = 6,0536002362e+03
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = 7,8699183801e+03
rra[7].cdp_prep[1].unknown_datapoints = 0
rra[8].cf = "MAX"
rra[8].rows = 1576800
rra[8].cur_row = 916094
rra[8].pdp_per_row = 1
rra[8].xff = 0,0000000000e+00
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[8].cdp_prep[1].value = NaN
rra[8].cdp_prep[1].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 78840
rra[9].cur_row = 61796
rra[9].pdp_per_row = 20
rra[9].xff = 0,0000000000e+00
rra[9].cdp_prep[0].value = 6,0536002362e+03
rra[9].cdp_prep[0].unknown_datapoints = 0
rra[9].cdp_prep[1].value = 7,8699183801e+03
rra[9].cdp_prep[1].unknown_datapoints = 0
Thanks all
- Attachments
-
- maestra2.png (36.56 KiB) Viewed 1087 times
Re: Annual Chart
Based off your six month graph, it looks like your RRA's aren't properly defined so you are losing data when it comes to the long term data.
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: 10
- Joined: Tue Jan 08, 2019 9:22 am
Re: Annual Chart
netniV wrote:Based off your six month graph, it looks like your RRA's aren't properly defined so you are losing data when it comes to the long term data.
How can I solve it?
Thanks
Re: Annual Chart
Edit the Data Source and Select Info Mode, and give us a screen show of the bottom of the Info Mode page. It'll make things more human readable.
Before history, there was a paradise, now dust.
-
- Posts: 10
- Joined: Tue Jan 08, 2019 9:22 am
Re: Annual Chart
This is what you need?Osiris wrote:Edit the Data Source and Select Info Mode, and give us a screen show of the bottom of the Info Mode page. It'll make things more human readable.
- Attachments
-
- cacti.png (13.69 KiB) Viewed 1061 times
Re: Annual Chart
This looks like old cacti. It's a broken setup. If this is a new install, I would restart with 1.1.38.
Before history, there was a paradise, now dust.
-
- Posts: 10
- Joined: Tue Jan 08, 2019 9:22 am
Re: Annual Chart
You say that the solution to my problem is using the latest version of cacti?Osiris wrote:This looks like old cacti. It's a broken setup. If this is a new install, I would restart with 1.1.38.
Who is online
Users browsing this forum: No registered users and 0 guests