#kmchart
version 1

# CPU view
chart title "CPU Utilization [%h]" style utilization
	plot legend "User" color #2d2de2 metric kernel.all.cpu.user
	plot legend "Sys" color #e71717 metric kernel.all.cpu.sys
	optional-plot legend "Nice" color #c2f3c2 metric kernel.all.cpu.nice
	optional-plot legend "Intr" color #cdcd00 metric kernel.all.cpu.intr
	optional-plot legend "Wait" color #00cdcd metric kernel.all.cpu.wait.total
	plot legend "Idle" color #16d816 metric kernel.all.cpu.idle

chart title "Average Load [%h]" style plot
	plot legend "1 min" metric kernel.all.load instance "1 minute"
	plot legend "# cpus" metric hinv.ncpu

# Disk view
chart title "IOPS over all Disks [%h]" style stacking
	plot legend "Reads" color yellow metric disk.all.read
	plot legend "Writes" color violet metric disk.all.write

# Netbytes view
chart title "Network Interface Bytes [%h]" style stacking
	plot legend "in %i" metric network.interface.in.bytes not-matching "^lo|^sl|^ppp"
	plot legend "out %i" metric network.interface.out.bytes not-matching "^lo|^sl|^ppp"

chart title "Real Memory Usage [%h]" style stacking
	optional-plot color #f8ff00 metric mem.util.kernel
	optional-plot color #00ffff metric mem.util.fs_ctl
	optional-plot color #ff0000 metric mem.util.fs_dirty
	optional-plot color #fe00ff metric mem.util.fs_clean
	optional-plot color #0000fd metric mem.util.user
	optional-plot color #000096 metric mem.util.shared
	optional-plot color #9cffab metric mem.util.cached
	optional-plot color #fe68ad metric mem.util.bufmem
	optional-plot color #ffae2c metric mem.util.other
	plot color #00ff00 metric mem.util.free
