Guest User

Untitled

a guest
Mar 19th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. apiVersion: v1
  2. data:
  3. prometheus.rules: |
  4. # TODO add rules
  5. prometheus.alerts: |
  6. # host rules
  7. ALERT high_node_load
  8. IF node_load1 > 20
  9. FOR 10s
  10. LABELS { severity = "critical" }
  11. ANNOTATIONS {
  12. # summary defines the status if the condition is met
  13. summary = "Node usage exceeded threshold",
  14. # description reports the situtation of event
  15. description = "Instance {{ $labels.instance }}, Job {{ $labels.job }}, Node load {{ $value }}",
  16. }
  17. kind: ConfigMap
  18. metadata:
  19. creationTimestamp: null
  20. name: prometheus-rules
Add Comment
Please, Sign In to add comment