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


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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
2 of 2 found this review helpful.
Helpful? Yes 2 No 0
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,534