Hi all!
Unfortunately I imported a template which messed up my interface traffic graph template.
However I have the rrdtool command for the previous graph.
Is there any way to be able to recreate the interface graph template from the rrdtool command output?
from this:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1585746400 \
--end=1585832800 \
--title='fw222prxv - Traffic - bond100.590' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
COMMENT:"From 2020/04/01 13\:06\:40 To 2020/04/02 13\:06\:40\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/XXXX_traffic_in_8114.rrd":'traffic_in':AVERAGE \
DEF:b="/var/www/cacti/rra/XXXX_traffic_in_8114.rrd":'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdeff='b,-8,*' \
CDEF:cdefh='b,8,*' \
CDEF:cdefba='a,UN,INF,UNKN,IF' \
AREA:cdefa#00FF0019:"" \
LINE1: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" \
AREA:cdeff#4444FF19:"" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdefh:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefh:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefba#8F9286FF:""
Thanks in advance for any idea!
Rrdtool command to graph template
Moderators: Developers, Moderators
Re: Rrdtool command to graph template
Nevermind!
I was able to recreate my original template.
A useful howto:
https://paulgporter.net/2012/12/12/enha ... cti-graph/
FYI
Be cautious with the Juniper templates:
https://forums.juniper.net/t5/SRX-Servi ... d-p/233038
https://forums.juniper.net/t5/Junos/Cac ... d-p/268999
These will mess up the general interface traffic graph template (and who knows what else) after the import
I was able to recreate my original template.
A useful howto:
https://paulgporter.net/2012/12/12/enha ... cti-graph/
FYI
Be cautious with the Juniper templates:
https://forums.juniper.net/t5/SRX-Servi ... d-p/233038
https://forums.juniper.net/t5/Junos/Cac ... d-p/268999
These will mess up the general interface traffic graph template (and who knows what else) after the import
Who is online
Users browsing this forum: No registered users and 7 guests