Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created August 3, 2016 16:00
Show Gist options
  • Save anonymous/fdad8b1e410aabd3fac6dbd98399813b to your computer and use it in GitHub Desktop.
Save anonymous/fdad8b1e410aabd3fac6dbd98399813b to your computer and use it in GitHub Desktop.
if #{event[:check][:status]} == 0
check_status = "OK"
elsif #{event[:check][:status]} == 2
check_status = "CRITICAL"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment