Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
HAProxy check
3
2019-02-20
GPL
66207
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!
We run Nagios 3.x, and I haven't tested with any other versions.
Updated version now works with ruby 1.8+
v3
* Fix bug when incorrectly reporting status 'UP 1/3' as warning
Usage: check_haproxy.rb [options]
Specific options:
-u, --url URL Statistics URL to check (e.g. http://demo.1wt.eu/)
-p, --proxies [PROXIES] Only check these proxies (eg proxy1,proxy2,proxylive)
-U, --user [USER] Basic auth user to login as
-P, --password [PASSWORD] Basic auth password
-w, --warning [WARNING] Threshold for number of sessions as a percentage of the limit
-c, --critical [CRITICAL] Threshold for number of sessions as a percentage of the limit
-h, --help Display this screen
Specific options:
-u, --url URL Statistics URL to check (e.g. http://demo.1wt.eu/)
-p, --proxies [PROXIES] Only check these proxies (eg proxy1,proxy2,proxylive)
-U, --user [USER] Basic auth user to login as
-P, --password [PASSWORD] Basic auth password
-w, --warning [WARNING] Threshold for number of sessions as a percentage of the limit
-c, --critical [CRITICAL] Threshold for number of sessions as a percentage of the limit
-h, --help Display this screen
Reviews (1)
byMaquis196, July 12, 2013
With the updated readme, this is a doddle to get working. Ben was most helpful with the heads up regarding ruby 1.8.
The only feature I would ask for at this point (if you're interested) is being able to pass the username and password from a file so I dont have the auth details in the nagios command!
Thanks for this. Much appreciated.
The only feature I would ask for at this point (if you're interested) is being able to pass the username and password from a file so I dont have the auth details in the nagios command!
Thanks for this. Much appreciated.