RRD Graphs for iostat

EyalRi at Clal-Ins.co.il EyalRi at Clal-Ins.co.il
Tue Jan 31 14:06:53 CET 2006


Hi,

I have installed hobbit on Redhat Linux and would like to create graph and trending for the following "iostat" data:

Device: 		tps	Blk_read/s	Blk_wrtn/s	Blk_read	Blk_wrtn 
cciss/c0d0p1      	0.00     0.01		0.00		19250		192
cciss/c0d0p2      	1.20	0.75		9.41		2276674	28563128
cciss/c0d0p3      	0.25     0.04		1.90		113853	5778704
cciss/c0d0p4      	0.00	0.00		0.00		4		0
cciss/c0d0p5      	1.86	0.22		14.84		654514	45025232
cciss/c0d0p6      	1.80	0.16		14.32		478808	43468344
cciss/c0d0p7      	0.88	0.03         	6.85      	88680   	20791076

i have tried to change [iostat] to the following in "hobbitgraph.cfg"
[iostat]
        TITLE I/O Utilization
        YAXIS Stats
        FNPATTERN iostat.(.*).rrd
        DEF:p at RRDIDX@A=@RRDFN@:Blk_read/s:AVERAGE
        CDEF:p at RRDIDX@t=p at RRDIDX@B,5,GT,p at RRDIDX@B,UNKN,IF
        LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@
        COMMENT:\n
        GPRINT:p at RRDIDX@A:LAST:Blk_read/s  \: %5.1lf (cur)
        GPRINT:p at RRDIDX@A:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@A:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@A:AVERAGE: \: %5.1lf (avg)\n
        COMMENT:\n
issuing command ~hobbit/server/bin/bbcmd hobbitd_channel --channel=data cat
returned the following:
@@data#19745|1138712646.203000|172.20.200.102||devapp01|iostat
data devapp01.iostat
Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
cciss/c0d0p5      2.85         0.00        22.79          0        456
cciss/c0d0p1      0.00         0.00         0.00          0          0
cciss/c0d0p7      1.70         0.00        13.59          0        272
cciss/c0d0p2      2.05         0.00        16.39          0        328
cciss/c0d0p6      0.80         0.00         6.40          0        128
@@
Any idea where is the problem?
Thanks,




-----------------------------------------------------------------------------------------
   This message was sent by Clal Insurance Ltd Mail Systems

   Visit us at http://www.clalbit.co.il
-----------------------------------------------------------------------------------------
The information in this e-mail and any attachments is confidential and may be
legally privileged. It is intended solely for the addressee or addressees. If
you are not an intended recipient, please delete the message and any attachments
and notify the sender of misdelivery: any use or disclosure of the contents of
either is unauthorized and may be unlawful. 




More information about the Xymon mailing list