Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block Buzut

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Buzut /
Last active Mar 29, 2019
Various simple Sensu checks
# check if given host returns HTTP status 200
# usage: [host:port]
# ex: httpd localhost:3000
# if no arguments, default to localhost:80
if [ -z "$1" ]
httpd=`curl -s -D - localhost -o /dev/null | sed -n '/HTTP/p'`
Buzut / handlers.json
Last active Jun 30, 2017
Sensu handler for InfluxDB
View handlers.json
"handlers": {
"influxdb": {
"type": "pipe",
"comman": "/etc/sensu/handlers/influx.js"
Buzut / checks.json
Last active Jul 21, 2016
Sensu servers metrics alert
View checks.json
"checks": {
"serverAlert": {
"command": "/etc/sensu/plugins/serverMetricsAlert.js",
"interval": 60,
"handlers": ["default"],
"subscribers": ["monit"]
You can’t perform that action at this time.