Skip to content

Instantly share code, notes, and snippets.

@roidrage
Created November 24, 2011 16:28
Show Gist options
  • Save roidrage/1391735 to your computer and use it in GitHub Desktop.
Save roidrage/1391735 to your computer and use it in GitHub Desktop.
apache_server_status = {
waitlimit: ["<", "10%"],
dnslimit: [">", "25%"]
}
apache_server_status.each do |name, (operator, limit)|
puts "protocol apache-status #{name} #{operator} #{limit}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment