Skip to content

Instantly share code, notes, and snippets.

@pblittle
Last active April 15, 2019 13:34
Show Gist options
  • Select an option

  • Save pblittle/a38109be34d833fa176e to your computer and use it in GitHub Desktop.

Select an option

Save pblittle/a38109be34d833fa176e to your computer and use it in GitHub Desktop.

Revisions

  1. pblittle renamed this gist Jun 16, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. pblittle created this gist Jan 26, 2014.
    54 changes: 54 additions & 0 deletions checks.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,54 @@
    {
    "checks": {
    "sensu-rabbitmq-beam": {
    "handlers": [
    "default"
    ],
    "command": "/etc/sensu/plugins/check-procs.rb -p beam -C 1 -w 4 -c 5",
    "interval": 60,
    "occurrences": 2,
    "refresh": 300,
    "subscribers": [ "sensu" ]
    },
    "sensu-rabbitmq-epmd": {
    "handlers": [
    "default"
    ],
    "command": "/etc/sensu/plugins/check-procs.rb -p epmd -C 1 -w 1 -c 1",
    "interval": 60,
    "occurrences": 2,
    "refresh": 300,
    "subscribers": [ "sensu" ]
    },
    "sensu-redis": {
    "handlers": [
    "default"
    ],
    "command": "/etc/sensu/plugins/check-procs.rb -p redis-server -C 1 -w 4 -c 5",
    "interval": 60,
    "occurrences": 2,
    "refresh": 300,
    "subscribers": [ "sensu" ]
    },
    "sensu-api": {
    "handlers": [
    "default"
    ],
    "command": "/etc/sensu/plugins/check-procs.rb -p sensu-api -C 1 -w 4 -c 5",
    "interval": 60,
    "occurrences": 2,
    "refresh": 300,
    "subscribers": [ "sensu" ]
    },
    "sensu-dashboard": {
    "handlers": [
    "default"
    ],
    "command": "/etc/sensu/plugins/check-procs.rb -p sensu-dashboard -C 1 -w 1 -c 1",
    "interval": 60,
    "occurrences": 2,
    "refresh": 300,
    "subscribers": [ "sensu" ]
    }
    }
    }