Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
A quick hack to help us monitor the backends behind our haproxy setup
Current Version
0.1
Last Release Date
2013-02-28
Owner
Soren Hansen
Website
http://www.svindler.dk
License
BSD
Compatible With
Usage: check_haproxy_backend -H haproxyserver -x backend
No error checking done in the script.
Expects that the follwing has been added to haproxy.cfg, but username, password, port, and uri can be provided as parameters: listen stats 0.0.0.0:8000 mode http stats enable stats uri /haproxy stats realm HAProxy stats auth hauser:hapasswd
Should be easily understandable and modifiable.
This works well espexially because it has perf data. I only had to change a minor thing becaus eit matched the wrong line due to matching grep. if you grep "something" it would match "not-something" as well. so i changed: my @line = grep(/$proxy,BACKEND,/, @csv); to: my @line = grep(/^$proxy,BACKEND,/, @csv); regards, Peter
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!