Graphs missing due to missing cdef's

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

Moderators: Developers, Moderators

Post Reply
anvesh199
Posts: 1
Joined: Thu Jan 12, 2017 4:35 pm

Graphs missing due to missing cdef's

Post by anvesh199 »

So all my graphs go missing....I know that the data is being polled since i'm getting correct email alerts. when i see the graph source i see that the cdef got changed to empty from:
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
how do i revert back these changes. Thanks :)


/bin/rrdtool graph - \
--imgformat=PNG \
--start='1484170820' \
--end='1484257220' \
--title='ATL3 - Traffic ' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2017/01/11 15\:40\:20 To 2017/01/12 15\:40\:20\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/cacti/rra/atl3_traffic_in_17881.rrd':'traffic_in':AVERAGE \
DEF:b='/usr/cacti/rra/atlpr3_traffic_in_17881.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='' \
CDEF:cdefe='' \

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'
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests