Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me
Don't miss your chance to attend the 2014 Nagios World conference!

Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.


check_haproxy_backend

Bookmark and Share

Rating
0 votes
Favoured:
0
Current Version
0.1
Last Release Date
2013-02-28
Compatible With
  • Nagios 3.x
  • Nagios XI
License
BSD
Hits
21197
Files:
FileDescription
check_haproxy_backendcheck_haproxy_backend
A quick hack to help us monitor the backends behind our haproxy setup
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.