Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. (streams
  2. (where (and (service "HTTP") (state "500"))
  3. (with :metric 1
  4. (rate 10
  5. (with {:service "HTTP 500 error/10s"}
  6. (splitp < metric
  7. 10 (with :state "critical")
  8. 5 (with :state "warning")
  9. (with :state "ok")
  10. )
  11. (notify "me@example.com")
  12. )
  13. )
  14. )
  15. )
  16. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement