Re: Question concerning stats server

2014-01-31 Thread Jonathan Matthews
On 31 January 2014 14:31, Andreas Mock  wrote:
> Hi Jonathan,
>
> this answer came in really fast. Thank you.

Happy to help :-)

Don't forget to turn on HTTP auth in a public-facing environment!
Search "stats auth" in
http://haproxy.1wt.eu/download/1.4/doc/configuration.txt ...



AW: Question concerning stats server

2014-01-31 Thread Andreas Mock
Hi Jonathan,

this answer came in really fast. Thank you.

Best regards
Andreas

-Ursprüngliche Nachricht-
Von: jonat...@jpluscplusm.com [mailto:jonat...@jpluscplusm.com] Im Auftrag von 
Jonathan Matthews
Gesendet: Freitag, 31. Januar 2014 15:28
An: haproxy@formilux.org
Betreff: Re: Question concerning stats server

On 31 January 2014 14:21, Andreas Mock  wrote:
> Hi all,
>
> I need a little help to understand how the html stats page can be accessed:
> How can I setup a stats page without having one backend? Is this possible?
> Do I have to provide a frontend too?

This works for me:

root@foo:/# tail -5 /etc/haproxy/haproxy.cfg
listen stats
  bind :80
  mode http
  maxconn 20
  stats uri /hap

Jonathan



Re: Question concerning stats server

2014-01-31 Thread Jonathan Matthews
On 31 January 2014 14:21, Andreas Mock  wrote:
> Hi all,
>
> I need a little help to understand how the html stats page can be accessed:
> How can I setup a stats page without having one backend? Is this possible?
> Do I have to provide a frontend too?

This works for me:

root@foo:/# tail -5 /etc/haproxy/haproxy.cfg
listen stats
  bind :80
  mode http
  maxconn 20
  stats uri /hap

Jonathan



Question concerning stats server

2014-01-31 Thread Andreas Mock
Hi all,

I need a little help to understand how the html stats page can be accessed:
How can I setup a stats page without having one backend? Is this possible?
Do I have to provide a frontend too?

I would expect to bind one adress:port combination where haproxy is listening
on http requests? E.g. binding to an internal address.

Can you please give me the right hints. I'm a little bit lost in the
examples of the documentation.

Best regards
Andreas Mock