Willy Tarreau a écrit :
Hi Jean-Christophe & Stéphane,
On Tue, Mar 02, 2010 at 02:28:57PM +0100, Jean-Christophe TOUSSAINT wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
For our own needs, a Nagios plugin has been developed to check haproxy activity
(and hosts status).
The plugin checks HAProxy statistic url (csv) and gets UP and DOWN services.
- - plugin code :
http://cvs.orion.education.fr/viewvc/viewvc.cgi/nagios-plugins-perl/trunk/plugins/check_haproxy.pl?revision=131&view=markup
- - conf example :
http://cvs.orion.education.fr/viewvc/viewvc.cgi/nagios-plugins-perl/trunk/configs/check_haproxy.cfg?revision=134&view=markup
Cool, thanks. Are you interested in getting it merged into
mainline ? If so, we can create an entry into the "contrib"
directory.
No objections, but I'm not sure it is the best place. A link in the README
should be enough.
Also, it seems to rely only on the HTTP socket. Do you think
it can easily be adapted to also support the unix socket, which
is global and does not require opening a TCP port ?
The plugin works with Nagios which is not installed on the same host. So a
remote access in a way or other is mandatory.
Regards
--
Stéphane Urbanovski