Guest User

Untitled

a guest
Oct 15th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. {
  2. 2 "id": "config",
  3. 3 "handlers": {
  4. 4 "default": {
  5. 5 "type": "set",
  6. 6 "handlers": [
  7. 7 "debug"
  8. 8 ]
  9. 9 },
  10. 10 "debug": {
  11. 11 "type": "pipe",
  12. 12 "command": "/etc/sensu/handlers/debug.rb"
  13. 13 }
  14. 14 },
  15. 15 "checks": {
  16. 16 "chef_client": {
  17. 17 "notification": "Chef client daemon is not running.",
  18. 18 "command": "/etc/sensu/plugins/check-procs.rb -p chef-client -W 1 -w 2 -c 3",
  19. 19 "subscribers": [
  20. 20 "sensu_client",
  21. 21 "chef_role_here"
  22. 22 ],
  23. 23 "interval": 60,
  24. 24 "custom_attribute_here": "value"
  25. 25 },
  26. 26 "disk_usage": {
  27. 27 "notification": "Disk usage is too high.",
  28. 28 "command": "/etc/sensu/plugins/check-disk.rb -w 90 -c 95 -x nfs,tmpfs,fuse -i /boot,/mnt/data_imports",
  29. 29 "subscribers": [
  30. 30 "sensu_client"
  31. 31 ],
  32. 32 "interval": 60
  33. 33 }
  34. 34 }
  35. 35 }
Add Comment
Please, Sign In to add comment