Last active
March 23, 2022 20:46
-
-
Save ryanvgates/b23164c42a9ef59a14f17bdbe96060d6 to your computer and use it in GitHub Desktop.
Sensu Error Monitoring HAProxy
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": "2019-10-03T17:40:21.011942+0000", | |
"level": "info", | |
"message": "publishing check result", | |
"payload": | |
{ | |
"client": "myclient", | |
"check": | |
{ | |
"command": "/etc/sensu/plugins/check_haproxy.rb -S /tmp/haproxy.sock -A -W 70 -C 80", | |
"handlers": | |
[ | |
"default", | |
"mailer_detailed" | |
], | |
"standalone": true, | |
"interval": 60, | |
"escalation": "default", | |
"occurrences": 5, | |
"service": "HAProxy", | |
"name": "check_haproxy", | |
"issued": 1570124420, | |
"executed": 1570124420, | |
"duration": 0.115, | |
"output": "Check failed to run: Permission denied - connect(2) for /tmp/haproxy.sock, [\"/etc/sensu/plugins/check_haproxy.rb:204:in initialize'\", \"/etc/sensu/plugins/check_haproxy.rb:204:inopen'\", \"/etc/sensu/plugins/check_haproxy.rb:204:in acquire_services'\", \"/etc/sensu/plugins/check_haproxy.rb:139:inrun'\", \"/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugin-2.0.2/lib/sensu-plugin/cli.rb:58:in `block in '\"]\n", | |
"status": 3 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment