-
-
Save skymob/7262599f0f1bd5cc8866 to your computer and use it in GitHub Desktop.
I have empty /aggregate endpoints after doing a `flushdb` on redis while running 0.10. I upgraded client and server to 0.12.1-1 tonight but the endpoint is still empty and the check results never appear to make it from production-mobile01 to the sensu server.
This file contains 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
[root@production-sensu01 ~]# curl http://localhost:4567/aggregates/ | |
[root@production-sensu01 ~]# |
This file contains 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": { | |
"mobile-http-aggregate-client-production": { | |
"handlers": [ | |
"none" | |
], | |
"notification": "Mobile web for production is not responding", | |
"command": "/etc/sensu/plugins/check-http.rb -h localhost -H 'Host: m.production.paperlesspost.com' -p /", | |
"subscribers": [ | |
"production.mobile" | |
], | |
"interval": 60, | |
"occurrences": 1, | |
"standalone": false, | |
"refresh": 86400, | |
"environment": "production", | |
"aggregate": true, | |
"type": "check" | |
} | |
} | |
} |
This file contains 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
[root@production-mobile01 ~]# tail -f /var/log/sensu/sensu-client.log | grep mobile-http-aggregate-client-production | |
{"timestamp":"2013-11-12T21:27:06.452611-0500","level":"info","message":"received check request","check":{"name":"mobile-http-aggregate-client-production","issued":1384309626,"command":"/etc/sensu/plugins/check-http.rb -h localhost -H 'Host: m.production.paperlesspost.com' -p /"}} | |
{"timestamp":"2013-11-12T21:27:06.921042-0500","level":"info","message":"publishing check result","payload":{"client":"production-mobile01.pp","check":{"name":"mobile-http-aggregate-client-production","issued":1384309626,"command":"/etc/sensu/plugins/check-http.rb -h localhost -H 'Host: m.production.paperlesspost.com' -p /","executed":1384309626,"output":"CheckHTTP OK: 200, 4912 bytes\n","status":0,"duration":0.414}}} | |
{"timestamp":"2013-11-12T21:28:06.453689-0500","level":"info","message":"received check request","check":{"name":"mobile-http-aggregate-client-production","issued":1384309686,"command":"/etc/sensu/plugins/check-http.rb -h localhost -H 'Host: m.production.paperlesspost.com' -p /"}} | |
{"timestamp":"2013-11-12T21:28:07.380229-0500","level":"info","message":"publishing check result","payload":{"client":"production-mobile01.pp","check":{"name":"mobile-http-aggregate-client-production","issued":1384309686,"command":"/etc/sensu/plugins/check-http.rb -h localhost -H 'Host: m.production.paperlesspost.com' -p /","executed":1384309686,"output":"CheckHTTP OK: 200, 4912 bytes\n","status":0,"duration":0.925}}} |
This file contains 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
[root@production-sensu01 ~]# tail -f /var/log/sensu/sensu-* | grep mobile-http-aggregate-client-production | |
(never returns anything) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment