Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Created October 6, 2011 22:12
Show Gist options
  • Save ripienaar/1268846 to your computer and use it in GitHub Desktop.
Save ripienaar/1268846 to your computer and use it in GitHub Desktop.
title "Combined CPU Usage"
vtitle "percent"
area :stacked
field :iowait, :scale => 0.001,
:color => "red",
:alias => "IO Wait",
:data => "sumSeries(derivative(mw*munin.cpu.iowait))"
field :system, :scale => 0.001,
:color => "orange",
:alias => "System",
:data => "sumSeries(derivative(mw*.munin.cpu.system))"
field :user, :scale => 0.001,
:color => "yellow",
:alias => "User",
:data => "sumSeries(derivative(mw*.munin.cpu.user))"
:name: Email Metrics
:description: Hourly metrics for the email system
:link: email
title "Combined IO"
area :first
vtitle "blocks"
field :write, :color => "blue",
:alias => "Writes",
:data => "sumSeries(derivative(mw*.munin.iostat.dev*_write))"
field :read, :color => "green",
:alias => "Reads",
:data => "sumSeries(derivative(mw*.munin.iostat.dev*_read))"
@ripienaar
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment