We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command: metrics-haproxy.rb -c /var/lib/haproxy/stats
Even when I provide username and password the result is still: Unable to fetch stats from haproxy after 3 attempts
When I run the metrics command on the command line it gives me stats perfectly fine, the socket is chmod 755.
Any suggestions? Literally all sensu checks work on this server except this one.
The text was updated successfully, but these errors were encountered:
In my case: metrics-haproxy.rb -c /var/run/haproxy/admin.sock -a working like a charm!
Sorry, something went wrong.
@MrMoronIV does the user executing the metrics check have permission to introspect the haproxy socket?
My workaround was to use rvmsudo. e.g.
rvmsudo
rvmsudo metrics-haproxy.rb -c /run/haproxy/admin.sock -a
No branches or pull requests
Command: metrics-haproxy.rb -c /var/lib/haproxy/stats
Even when I provide username and password the result is still:
Unable to fetch stats from haproxy after 3 attempts
When I run the metrics command on the command line it gives me stats perfectly fine, the socket is chmod 755.
Any suggestions? Literally all sensu checks work on this server except this one.
The text was updated successfully, but these errors were encountered: