Clustering and High-Availability

check_haproxy_stats.pl

Description:

check_haproxy_stats.pl – check local haproxy functionality

Current Version

1.0.1

Last Release Date

2012-11-02

Compatible With

  • Nagios 3.x
  • Nagios 4.x

License

Other


Project Files
Project Notes
check_haproxy_stats.pl connects to haproxy via UNIX socket and retrieves haproxy stats. It then parses the stats and reports any FRONTEND which is not OPEN and/or any BACKEND/server which is not UP. If session limit is enforced for proxies, the script can check if current session number is above specified thresholds (if any). check_haproxy_stats.pl -p proxy1,proxy2 only check proxy1 and proxy2 check_haproxy_stats.pl -s /var/spool/haproxy/sock connect to named UNIX socket check_haproxy_stats.pl -w 60 -c 80 check if any proxy has current session > 60% or 80% of its session limit check_haproxy_stats.pl -h print help
Reviews (1) Add a Review
No perfdata
by yann.fertat, January 31, 2015

The website does not seem to be available. I cloned the script and added perfdata for graphs here: https://github.com/tatref/nagios-scripts/blob/master/check_haproxy_stats.pl



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
63,565