Cacti Graph Jumps in lower down scale

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
zhrizvi
Posts: 6
Joined: Wed Aug 04, 2021 12:28 am

Cacti Graph Jumps in lower down scale

Post by zhrizvi »

Dear all
Good day,
Need some guidance on General Graph presentation in Cacti. As per our observation if we scale down to hour/half hour Graph presentation go like in jumps in graph however from PRTG same node graph with same granulairty is populating fine like a straight line but cacti always show jumps in plotting. Please guide.

Cacti output for RRD tool has been mentioned below.

RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1628051640' \
--end='1628055240' \
--pango-markup \
--title='ISB-BL-01 - 100G - ISB-BL01-1/1/1--ZXPE-03 cgei-0/9/1/1' \
--vertical-label='bits per second' \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--rigid \
--alt-autoscale \
COMMENT:"From 2021-08-04 09\:34\:00 To 2021-08-04 10\:34\:00\c" \
COMMENT:" \n" \
--border 1 --slope-mode \
--watermark 'Generated by Cacti®' \
DEF:a='/usr/share/cacti/rra/isb-bl-01_traffic_in_620.rrd':'traffic_in':MAX \
DEF:b='/usr/share/cacti/rra/isb-bl-01_traffic_in_620.rrd':'traffic_in':AVERAGE \
DEF:c='/usr/share/cacti/rra/isb-bl-01_traffic_in_620.rrd':'traffic_out':MAX \
DEF:d='/usr/share/cacti/rra/isb-bl-01_traffic_in_620.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefb='b,8,*' \
CDEF:cdeff='c,8,*' \
CDEF:cdefg='d,8,*' \
LINE1:cdefa#00CF007F: \
AREA:cdefb#00CF00FF:'Inbound ' \
GPRINT:cdefb:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefb:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefb:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdeff#0000807F: \
LINE1:cdefg#0000807F:'Outbound' \
GPRINT:cdefg:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefg:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefg:MAX:'Maximum\:%8.2lf %s\n'
RRDtool Command lengths = 1188 charaters.
RRDtool Says:
OK
Attachments
PRTG-graph.PNG
PRTG-graph.PNG (23.3 KiB) Viewed 1850 times
cacti-graph.PNG
cacti-graph.PNG (116.07 KiB) Viewed 1850 times
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti Graph Jumps in lower down scale

Post by cigamit »

Not sure what your seeing as the problem. It appears that the PRTG graph is recording data every 30 seconds or less, and your Cacti graphs are set to record data every 5 minutes. Thus its going to look like that when you zoom all the way in.
zhrizvi
Posts: 6
Joined: Wed Aug 04, 2021 12:28 am

Re: Cacti Graph Jumps in lower down scale

Post by zhrizvi »

Thanks alot, From where i can verify that on what configuration cacti graph set or can modify equal to PRTG Graph so that Jumps shouldn't be visible in zoom or lower down scale
zhrizvi
Posts: 6
Joined: Wed Aug 04, 2021 12:28 am

Re: Cacti Graph Jumps in lower down scale

Post by zhrizvi »

Hi any further guidance please. Thanks.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti Graph Jumps in lower down scale

Post by cigamit »

Create a new Data Profile with a faster polling time. Increase the Poller and Cron times to match the interval. Then delete and recreate the graphs.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests