check_mk-plugins icon indicating copy to clipboard operation
check_mk-plugins copied to clipboard

Necessary adjustments for check_mk haproxy plugins under Centos 6.4

Open tuxianer1988 opened this issue 12 years ago • 0 comments

Hi,

we are using check_mk to monitor our servers and HAProxy for clustering our exchange server infrastructure. Thus I was glad to find the plugin(s) you wrote.

However, since we are using Centos, the plugins did not work out of the box. One change in two lines in the haproxy.py plugin was necessary to get it working.

To avoid other people from failure and increase the publicity of this project I want to publish there changes here, in the hope to help other guys too.

The socket, the plugin uses, is different in Centos and I guess in Fedora and RHEL too.

The path to the socket is as follows and this has to be configured: Line 8 has to look as follows: (config: "stats socket /var/lib/haproxy/stats")

Line 145 socketfile = "/var/lib/haproxy/stats"

This is it. At least this is working fine for me :)

Greetz

tuxianer1988

tuxianer1988 avatar May 06 '13 15:05 tuxianer1988