[rrd-users] how to draw correct graph on server rrdfiles when some of them have zero/null values?
George-lll
liusoaring at gmail.com
Tue Jan 5 09:38:22 CET 2010
hi, all
i got a problem when trying to draw Traffic graphs on serveral rrd files.
in normal circumcetance, all going well.
but if some rrd files have zero/null value(indicate some servers got no
traffic at that period), the charts combined curve drop to zero too.
no error msg was thrown when drawing. and the rrd file is created like :
RRDs::create($rrd_name,
"-s 60",
"DS:totalAccesses:GAUGE:120:0:U",
"DS:totalKbytes:GAUGE:120:0:U",
"DS:cpuLoad:GAUGE:120:0:U",
"DS:uptime:GAUGE:120:0:U",
"DS:reqPerSec:GAUGE:120:0:U",
"DS:bytesPerSec:GAUGE:120:0:U",
"DS:bytesPerReq:GAUGE:120:0:U",
"DS:busyWorkers:GAUGE:120:0:U",
"DS:idleWorkers:GAUGE:120:0:U",
"DS:sc__:GAUGE:120:0:U",
"DS:sc_s:GAUGE:120:0:U",
"DS:sc_r:GAUGE:120:0:U",
"DS:sc_w:GAUGE:120:0:U",
"DS:sc_k:GAUGE:120:0:U",
"DS:sc_d:GAUGE:120:0:U",
"DS:sc_c:GAUGE:120:0:U",
"DS:sc_l:GAUGE:120:0:U",
"DS:sc_g:GAUGE:120:0:U",
"DS:sc_i:GAUGE:120:0:U",
# one week of high detail data
"RRA:AVERAGE:0.5:1:10080",
# five years of low detail data
"RRA:AVERAGE:0.5:60:8760"
);
i drew graph by fetching DS from different rrdfiles into DEF and merged to
CDEF.
wondering there is a data validation before rrdtool starting up, so someone
let me know hwo to avoid?
--
View this message in context: http://n2.nabble.com/how-to-draw-correct-graph-on-server-rrdfiles-when-some-of-them-have-zero-null-values-tp4254131p4254131.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list