Hello,

I have problems with check_haproxy and Centreon.

>From the terminal run:

./check_haproxy -u "http://ipserver:8888/;csv"; -U admin -P pass

This works fine.

But when I set the Centreon interface command, everything that is
behind the ";" delete it.

It seems that the ";" is a character not recognized or invalid.

2012/5/31 Laurent DOLOSOR <[email protected]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
>> 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;
>
> You need to quote the url (because a ; is present)
>
>  ./check_haproxy -u "http://my.ha.ip/stats;csv"; -U myuser -P mypass
>
> should work.
>
> Plugin tested today, working well, thanks to the author.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJPx7RrAAoJEBW5lrzMw91p+mIP+wQ6Z9infsONbyAG643GnJOX
> BLOQjHQjYGWeYf9dINQcH8NFvfl2MYGC2W66RllkmgN/xZq6cxxrZfw64zuYYlT5
> 2Cnjdo6Sde8m3pA/f+bH1avWBULmf9uKL6zkiEx9vNYWfkLSZygwgRWN0sa7o2cK
> Cj81pSkpOF9xLF0o6NCnWGLg/XIh4EwAz44X/ev0xoYAYlp6ObixDdfyMtZGRN1N
> WIHxqiW4dHvGCHmlX/tKJ5mXtWyLWFMU16ivCCywUJ2F62oiJTRK6CKe5svc8j7n
> lu80eEKUqz+VPhb7ko7AoNO3Tp5nEFpXaTuuhClDdTwYkrps7tBsKIoU3x2qQSBJ
> ZC/WlN00GMhQQSZbTMBdQ/PEA8rZyL/+YUnERf6SQmB+Xv6AuEZ00Vpz6GSmNg8y
> mSrmfsXUZlZpJNh5W6hhCYVq3Y9fy4htOPwbjTE3EfhOMrfbCjBf1vQW7lW+i/xT
> o1uuK2BtitrVLet33lDfhEIDy51kHuCyOEKqPlFlurJPC7mJWCseHnXgoWrFFd+Y
> ZaLL+X3AtHp5ox++i6AxyQOXyVjf3Mc0nn2H6WNljY0BVAXpwoBU2yQtXmo3oDSt
> z0k2AvCkl9sG+rvH6XSvtTw56G7mzOXkiwC2hG001Y7vhp1pYVTprx/I1XHvEsS9
> bL4EnYrjnObEPSgRa4My
> =GgtP
> -----END PGP SIGNATURE-----
>

Reply via email to