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