[Xymon] diskstat.sh/RRD oddity

Jeremy Laidman jlaidman at rebel-it.com.au
Fri Mar 30 06:39:06 CEST 2012


On Fri, Mar 30, 2012 at 2:23 AM, Steve Holmes <sholmes42 at mac.com> wrote:
> Wim, I had not looked at /proc/diskstats before, but it returns the total
> number of reads, writes, etc, since system boot, so I would have to do some
> coding and remember previous values to get what we get from iostat. At this
> point I have things working ok so I don't feel the need to write another
> script.

No you wouldn't.  Just use a COUNTER instead of a GAUGE and RRD will
automatically track the previous value and show the difference.

J



More information about the Xymon mailing list