2013
08.22

so i wrote a little script for dumping some stats to a graphite server.

script is located here.

all you have to do to get this working:
ensure nc is installed
ensure vmstat is installed
change gserver and gport to matching graphite server and port
and cron this to run every minute or so.

it will graph :
cpu.idle
cpu.systime
cpu.usertime
cpu.wait-IO
swap.swapped-in
swap.swapped-to
mem.buffers
mem.cache
mem.virtfree
mem.virtswap
disk.free
disk.total
disk.used
load.1-minute
load.5-minutes
load.15-minutes
mem.free
mem.total
mem.used
swap.free
swap.total
swap.used
users

The following two tabs change content below.

charlie root

VP of keeping it real / HNIC at pissedoffadmins.com
I bring the cold coffee.

Latest posts by charlie root (see all)

No Comment.

Add Your Comment