Clustering and High-Availability

check_hastats

Description:

This plugin checks the HA Proxy Node Statistics and provides performance values…

Current Version

0.1

Last Release Date

2011-12-01

Compatible With

  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI

Owner

License

GPL


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 Photos
Project Notes
The plugin is created with PERL and requires that you know your HAproxy configurations. The check_hastats can read the HAProxy Stats and provide performance output accordingly. First, modify the $specific_line variable by providing the name of the haproxy Web-farm name. (For Example: In the following haproxy.cfg listen section, the tomcatfarm is the Web-farm name) listen tomcatfarm www.mywebsite.com:80 The plugin reads the haproxy status information in csv format.. You may need to enable a http listener port in order to read HA.Proxy stats.. The Syntax for the plugin is as follows... check_hastats.pl [servername]:[port] [warn] [critical] [servername] - The IP address or domain of the HAproxy [port] - The port number its listening on (works on if enabled) [warn] - The warning level for the concurrent connections. [critical] - The critical level for the concurrent connections. The plugin writes to the /tmp/inha.stats and deletes it soon after. Appreciate your feedback..
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
88,216