Last active
August 29, 2015 14:13
-
-
Save jessereynolds/6b925d875ec988802f5b to your computer and use it in GitHub Desktop.
sensu - unable to get checks executing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"checks": { | |
"check_flapper": { | |
"handlers": ["default"], | |
"command": "PATH=$PATH:/usr/lib/nagios/plugins check_tcp -H 10.0.2.15 -p 12345", | |
"interval": 5, | |
"standalone": true | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"client": { | |
"name": "flapjack.example.org", | |
"address": "10.0.2.15", | |
"bind": "127.0.0.1", | |
"subscriptions": ["sensu-test", "foo"], | |
"safe_mode": false, | |
"keepalive": { | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"timestamp":"2015-01-22T23:40:14.050707-0800","level":"warn","message":"loading config file","file":"/etc/sensu/conf.d/checks/check_flapper.json"} | |
{"timestamp":"2015-01-22T23:40:14.050769-0800","level":"warn","message":"config file applied changes","file":"/etc/sensu/conf.d/checks/check_flapper.json","changes":{"checks":{"check_flapper":[null,{"handlers":["default"],"command":"PATH=$PATH:/usr/lib/nagios/plugins check_tcp -H 10.0.2.15 -p 12345","interval":5,"standalone":true}]}}} | |
... | |
{"timestamp":"2015-01-22T23:40:14.051101-0800","level":"warn","message":"loading config file","file":"/etc/sensu/conf.d/client.json"} | |
{"timestamp":"2015-01-22T23:40:14.051168-0800","level":"warn","message":"config file applied changes","file":"/etc/sensu/conf.d/client.json","changes":{"client":[null,{"name":"flapjack.example.org","address":"10.0.2.15","bind":"127.0.0.1","subscriptions":["sensu-test","foo"],"safe_mode":false,"keepalive":{}}]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment