You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some issues with this plugin. I get a 401 HTTP error. I use ruby 1.9.3 on Debian Wheezy ans HaProxy 1.4.24.
user@server:/usr/lib/nagios/plugins$ ./check_haproxy.rb -u http://10.xxx.xxx.xxx:9000/haproxy;csv -U myuser -P mypassword -d
/usr/lib/ruby/1.9.1/open-uri.rb:346:in open_http': 401 Unauthorized (OpenURI::HTTPError) from /usr/lib/ruby/1.9.1/open-uri.rb:775:inbuffer_open'
from /usr/lib/ruby/1.9.1/open-uri.rb:203:in block in open_loop' from /usr/lib/ruby/1.9.1/open-uri.rb:201:incatch'
from /usr/lib/ruby/1.9.1/open-uri.rb:201:in open_loop' from /usr/lib/ruby/1.9.1/open-uri.rb:146:inopen_uri'
from /usr/lib/ruby/1.9.1/open-uri.rb:677:in open' from /usr/lib/ruby/1.9.1/open-uri.rb:33:inopen'
from ./check_haproxy.rb:59:in `
in fact it's ok but the result returned on nagios / centreon is just the first line. If i have more than one critical node i only see the last in critical and not the other.
Hi,
I have some issues with this plugin. I get a 401 HTTP error. I use ruby 1.9.3 on Debian Wheezy ans HaProxy 1.4.24.
user@server:/usr/lib/nagios/plugins$ ./check_haproxy.rb -u http://10.xxx.xxx.xxx:9000/haproxy;csv -U myuser -P mypassword -d
'/usr/lib/ruby/1.9.1/open-uri.rb:346:in
open_http': 401 Unauthorized (OpenURI::HTTPError) from /usr/lib/ruby/1.9.1/open-uri.rb:775:in
buffer_open'from /usr/lib/ruby/1.9.1/open-uri.rb:203:in
block in open_loop' from /usr/lib/ruby/1.9.1/open-uri.rb:201:in
catch'from /usr/lib/ruby/1.9.1/open-uri.rb:201:in
open_loop' from /usr/lib/ruby/1.9.1/open-uri.rb:146:in
open_uri'from /usr/lib/ruby/1.9.1/open-uri.rb:677:in
open' from /usr/lib/ruby/1.9.1/open-uri.rb:33:in
open'from ./check_haproxy.rb:59:in `
-bash: csv : commande introuvable (unknown command)
If I test with lynx i can authenticate and it works fine.
Thank a lot and congratulations for your work !!
Regards
The text was updated successfully, but these errors were encountered: