Skip to content

Instantly share code, notes, and snippets.

@thomasdavis
Created August 1, 2014 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasdavis/20d0f432ebcfd4c23147 to your computer and use it in GitHub Desktop.
Save thomasdavis/20d0f432ebcfd4c23147 to your computer and use it in GitHub Desktop.
as
{
"checks": {
"cron_check": {
"handlers": ["default"],
"command": "/etc/sensu/plugins/check-procs.rb -p crond -C 1 ",
"interval": 60,
"subscribers": [ "all" ]
},
"nginx_check": {
"handlers": ["default"],
"command": "/etc/sensu/plugins/check-procs.rb -p nginx -C 1 ",
"interval": 60,
"subscribers": [ "all" ]
},
"loadmetrics": {
"type": "metric",
"command": "/etc/sensu/plugins/load-metrics.rb",
"interval": 10,
"subscribers": [ "all" ]
},
"checkram": {
"type": "metric",
"command": "/etc/sensu/plugins/check-ram.rb",
"interval": 10,
"subscribers": [ "all" ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment