Hi, I cant seem to get this plugin to work properly, here is the output:
./check_haproxy -u http://my.ha.ip/stats;csv -U myuser -P mypass HAPROXY CRITICAL - HTTP error: 401 Unauthorized (Unauthorized) | t=0.042485s;2;10;0; All credentials are valid and I am able to curl my stats url with no issues On Thu, May 31, 2012 at 5:48 AM, David BERARD <[email protected]>wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > >| >> >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. > >| > > >| > hey, that obviously makes sense ! > > If the nagios NRPE plugin is used, the check script can be on the same > host. > The use of unix socket is more simple in this case. > > I've made a patch to support unix socket : > https://github.com/polymorf/check_haproxy > > Regards, > - -- > > ________________________________________________________________________________ > David BERARD > > contact(at)davidberard.fr > GPG|PGP KeyId 0xC8533354 > GPG|PGP Key http://davidberard.fr/C8533354.gpgkey > > ________________________________________________________________________________ > * No electrons were harmed in the transmission of this email > * > -----BEGIN PGP SIGNATURE----- > > iEYEARECAAYFAk/HPmcACgkQOL7fhchTM1S7GgCfYjZqPvugnKv3g79TH9cj6IYj > YWcAoKh+QFcndetSBta1Dwbp5APiFuFw > =ZpSc > -----END PGP SIGNATURE----- > >

