Can I delete monthly(1min) graphing of an aggregate graph?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Ajax57
Posts: 3
Joined: Tue Jun 12, 2012 1:02 pm

Can I delete monthly(1min) graphing of an aggregate graph?

Post by Ajax57 »

I think I can fix this at the source by removing the Monthly(1min avg) from Data Sources --> RRA.

But I am not sure if other team members are using this kind of average actively and was wondering if I can limit my aggregate graph creation only to daily(1min), hourly(5min), weekly(30min), monthly (2hr) and yearly(1day)?

I am creating my aggregate graph using the "Create aggregate" option from graph managament and graph itself is good. Just dont want to have all kinds of avg graphs, just few of them.


My current RRA:

Round Robin Archives Add

Name Steps Rows Timespan**
Hourly (1 Minute Average) 1 1440 3600
Hourly (1 Minute Average) 1 500 14400 -- Would like to delete this graph
Daily (5 Minute Average) 1 600 86400
Daily (1 Minute Average) 1 1440 86400 -- Would like to delete this graph
Weekly (30 Minute Average) 6 700 604800
Weekly (1 Minute Average) 1 10080 604800 -- Would like to delete this graph
Monthly (2 Hour Average) 24 775 2678400
Monthly (1 Minute Average) 1 44640 2678400 -- Would like to delete this graph
Yearly (1 Day Average) 288 797 33053184


RRD Tool Debug of one sample aggregate graph:

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Aggregate - KC Area 2 &amp\; 4' \
--rigid \
--base=1000 \
--height=130 \
--width=630 \
--alt-autoscale \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/apps/cactiweb/cacti/rra/gsr11_traffic_in_28173.rrd":traffic_in:AVERAGE \
DEF:b="/apps/cactiweb/cacti/rra/gsr11_traffic_in_55739.rrd":traffic_in:AVERAGE \
DEF:c="/apps/cactiweb/cacti/rra/gsr12_traffic_in_28174.rrd":traffic_in:AVERAGE \
DEF:d="/apps/cactiweb/cacti/rra/gsr12_traffic_in_55740.rrd":traffic_in:AVERAGE \
DEF:e="/apps/cactiweb/cacti/rra/gsr11_traffic_in_28173.rrd":traffic_out:AVERAGE \
DEF:f="/apps/cactiweb/cacti/rra/gsr11_traffic_in_55739.rrd":traffic_out:AVERAGE \
DEF:g="/apps/cactiweb/cacti/rra/gsr12_traffic_in_28174.rrd":traffic_out:AVERAGE \
DEF:h="/apps/cactiweb/cacti/rra/gsr12_traffic_in_55740.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefi=c,8,* \
CDEF:cdefbc=d,8,* \
CDEF:cdefbh=e,-8,* \
CDEF:cdefbi=e,8,* \
CDEF:cdefcb=f,-8,* \
CDEF:cdefcc=f,8,* \
CDEF:cdefcf=g,-8,* \
CDEF:cdefcg=g,8,* \
CDEF:cdefcj=h,-8,* \
CDEF:cdefda=h,8,* \
AREA:cdefa#FF0000FF:"gsr11 - Te3/4 - Ingress" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefe#2175D9FF:"gsr11 - Te4/4 - Ingress":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefi#12B3B5FF:"gsr12 - Te3/4 - Ingress":STACK \
GPRINT:cdefi:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefbc#750F7DFF:"gsr12 - Te4/4 - Ingress":STACK \
GPRINT:cdefbc:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"******************NOTE THAT ITEMS BELOW THIS LINE ARE GRAPHED AS NEGATIVES****************** \n" \
AREA:cdefbh#0000FFFF:"gsr11 - Te3/4 - Egress" \
GPRINT:cdefbi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbi:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefcb#00FF00FF:"gsr11 - Te4/4 - Egress":STACK \
GPRINT:cdefcc:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefcc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefcc:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefcf#FF00FFFF:"gsr12 - Te3/4 - Egress":STACK \
GPRINT:cdefcg:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefcg:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefcg:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefcj#FFFF00FF:"gsr12 - Te4/4 - Egress":STACK \
GPRINT:cdefda:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefda:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefda:MAX:"Maximum\:%8.2lf %s\n" RRDTool Says:

OK
Ajax57
Posts: 3
Joined: Tue Jun 12, 2012 1:02 pm

Re: Can I delete monthly(1min) graphing of an aggregate grap

Post by Ajax57 »

Sorry, just realized I posted in the wrong section. Does not let me delete this one...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Can I delete monthly(1min) graphing of an aggregate grap

Post by gandalf »

You can't delete any rra; rrdtool does not allow to do so.
You may want to change cacti rra settings, but they will take effect for new rrd files only (not graphs)
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests