Cacti not graphing all data inputs

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

Moderators: Developers, Moderators

Post Reply
brutuz
Posts: 5
Joined: Fri Jan 10, 2014 10:40 am

Cacti not graphing all data inputs

Post by brutuz »

i have this output from the script:

vp1:2745 vp2:3198 vp3:3133


i created a Data source to get the values from my data input method for vp1, vp2 and vp3.. debug shows:

/opt/rrdtool-1.4.8/bin/rrdtool create \
/usr/local/apache2/htdocs/monitor/rra//668.rrd \
--step 60 \
DS:ds_jms_pending1:GAUGE:120:0:U \
DS:ds_jms_pending2:GAUGE:120:0:100 \
DS:ds_jms_pending3:GAUGE:120:0:100 \
RRA:AVERAGE:0.5:1:10080 \
RRA:AVERAGE:0.5:5:8640 \
RRA:AVERAGE:0.5:30:4320 \
RRA:AVERAGE:0.5:120:2160 \
RRA:AVERAGE:0.5:1440:1461 \
RRA:MAX:0.5:1:10080 \
RRA:MAX:0.5:5:8640 \
RRA:MAX:0.5:30:4320 \
RRA:MAX:0.5:120:2160 \
RRA:MAX:0.5:1440:1461 \


Now.. I created a graph using Graph Management:

It shows the values and graph for vp1 but not for vp2 and vp3. It shows "nan".


Debug below:
/opt/rrdtool-1.4.8/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title='FXLive Cluster JMS Pending' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='JMS Pending' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/local/apache2/htdocs/monitor/rra//668.rrd':'ds_jms_pending1':AVERAGE \
DEF:b='/usr/local/apache2/htdocs/monitor/rra//668.rrd':'ds_jms_pending2':AVERAGE \
DEF:c='/usr/local/apache2/htdocs/monitor/rra//668.rrd':'ds_jms_pending3':AVERAGE \
LINE1:a#000000FF:'Node 1' \
GPRINT:a:LAST:'Curr\:%8.2lf %s' \
GPRINT:a:AVERAGE:'Ave\:%8.2lf %s' \
GPRINT:a:MAX:'Max\:%8.2lf %s\n' \
LINE1:b#0000FFFF:'Node 2' \
GPRINT:b:LAST:'Curr\:%8.2lf %s' \
GPRINT:b:AVERAGE:'Ave\:%8.2lf %s' \
GPRINT:b:MAX:'Max\:%8.2lf %s\n' \
LINE1:c#8D00BAFF:'Node 3' \
GPRINT:c:LAST:'Curr\:%8.2lf %s' \
GPRINT:c:AVERAGE:'Ave\:%8.2lf %s' \
GPRINT:c:MAX:'Max\:%8.2lf %s\n'



I have another graph using the same method and it shows it successfully. The only difference is that the output values from the Data Input Method is < 100.

Sample:
vc1:0 vc2:12 vc3:24



Thank you,
brutuz
Posts: 5
Joined: Fri Jan 10, 2014 10:40 am

Re: Cacti not graphing all data inputs

Post by brutuz »

issue resolved... but i dont know what caused it...
agutierrezps
Posts: 4
Joined: Sat Jan 25, 2014 9:21 pm

Re: Cacti not graphing all data inputs

Post by agutierrezps »

How did you fix it ???
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests