![]() |
![]() |
Subject: | how to set custom graph commands(cur, avg, max, min) |
Author: | [Not Specified] |
Posted: | 2014-03-20 20:07 |
Hi
I have a qustion.
zenoss version : 4.2.4
this is my rrd set.
->
RRA:AVERAGE:0.5:1:24000
RRA:AVERAGE:0.5:6:24000
RRA:AVERAGE:0.5:24:24000
RRA:AVERAGE:0.5:288:24000
RRA:MIN:0.5:1:24000
RRA:MIN:0.5:6:24000
RRA:MIN:0.5:24:24000
RRA:MAX:0.5:1:24000
RRA:MAX:0.5:6:24000
RRA:MAX:0.5:24:24000
I added graph definition and set custom definition
default graph command (when network device - graphdefinitions: packets) is
===========================================================================
-F
-E
--disable-rrdtool-tag
--height=100
--width=500
--lower-limit=0
--rigid
--vertical-label=packets/sec
DEF:ifHCInUcastPkts-raw=rrdPath/ifHCInUcastPkts_ifHCInUcastPkts.rrd:ds0:AVERAGE
DEF:ifHCInUcastPkts-raw-max=rrdPath/ifHCInUcastPkts_ifHCInUcastPkts.rrd:ds0:MAX
DEF:ifHCInUcastPkts-raw-min=rrdPath/ifHCInUcastPkts_ifHCInUcastPkts.rrd:ds0:MIN
CDEF:ifHCInUcastPkts=ifHCInUcastPkts-raw
AREA:ifHCInUcastPkts-raw#00cc00ff:Inbound
GPRINT:ifHCInUcastPkts-raw:LAST:cur\:%5.2lf%s
GPRINT:ifHCInUcastPkts-raw:AVERAGE:avg\:%5.2lf%s
GPRINT:ifHCInUcastPkts-raw-max:MAX:max\:%5.2lf%s\j
GPRINT:ifHCInUcastPkts-raw-min:MIN:min\:%5.2lf%s\j
DEF:ifHCOutUcastPkts-raw=rrdPath/ifHCOutUcastPkts_ifHCOutUcastPkts.rrd:ds0:AVERAGE
DEF:ifHCOutUcastPkts-raw-max=rrdPath/ifHCOutUcastPkts_ifHCOutUcastPkts.rrd:ds0:MAX
DEF:ifHCOutUcastPkts-raw-min=rrdPath/ifHCOutUcastPkts_ifHCOutUcastPkts.rrd:ds0:MIN CDEF:ifHCOutUcastPkts=ifHCOutUcastPkts-raw
LINE1:ifHCOutUcastPkts-raw#0000ff99:Outbound
GPRINT:ifHCOutUcastPkts-raw:LAST:cur\:%5.2lf%s
GPRINT:ifHCOutUcastPkts-raw:AVERAGE:avg\:%5.2lf%s
GPRINT:ifHCOutUcastPkts-raw-max:MAX:max\:%5.2lf%s\j
GPRINT:ifHCOutUcastPkts-raw-min:MIN:min\:%5.2lf%s\j
=================================================================================
but it's not working!
so how to set custom graph. I want to see a MIN vaule
help!
< |
Previous Add OS Process monitor |
Next SyslogProcessing.py regex not matching |
> |