Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jul 17, 2019 8:12 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Annual Chart
PostPosted: Tue Jan 08, 2019 9:59 am 
Offline

Joined: Tue Jan 08, 2019 9:22 am
Posts: 10
Hello,
First of all I would like to congratulate everyone for the great tool that is cacti. :D :D :D

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. :x :x

thanks.


Attachments:
cacti.png
cacti.png [ 33.76 KiB | Viewed 310 times ]
Top
 Profile  
 
 Post subject: Re: Annual Chart
PostPosted: Tue Jan 08, 2019 7:00 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 779
Not sure we actually have any idea what you are asking for.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: Annual Chart
PostPosted: Wed Jan 09, 2019 12:43 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2585
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).

_________________
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: Annual Chart
PostPosted: Wed Jan 09, 2019 8:08 am 
Offline

Joined: Tue Jan 08, 2019 9:22 am
Posts: 10
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

[[email protected] ~]# 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
maestra2.png [ 36.56 KiB | Viewed 298 times ]
Top
 Profile  
 
 Post subject: Re: Annual Chart
PostPosted: Wed Jan 09, 2019 4:53 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2585
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.

_________________
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: Annual Chart
PostPosted: Thu Jan 10, 2019 1:50 pm 
Offline

Joined: Tue Jan 08, 2019 9:22 am
Posts: 10
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


Top
 Profile  
 
 Post subject: Re: Annual Chart
PostPosted: Fri Jan 11, 2019 4:49 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 779
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.


Top
 Profile  
 
 Post subject: Re: Annual Chart
PostPosted: Mon Jan 14, 2019 11:23 am 
Offline

Joined: Tue Jan 08, 2019 9:22 am
Posts: 10
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.


This is what you need?


Attachments:
cacti.png
cacti.png [ 13.69 KiB | Viewed 272 times ]
Top
 Profile  
 
 Post subject: Re: Annual Chart
PostPosted: Mon Jan 14, 2019 6:50 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 779
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.


Top
 Profile  
 
 Post subject: Re: Annual Chart
PostPosted: Tue Jan 15, 2019 7:10 am 
Offline

Joined: Tue Jan 08, 2019 9:22 am
Posts: 10
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.


You say that the solution to my problem is using the latest version of cacti?


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot], tertius and 2 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