Doh, that would do it.
Sorry wrong git branch.
# haproxy -v
HA-Proxy version 1.8-dev0 2016/11/25
Copyright 2000-2016 Willy Tarreau <[email protected]>
# echo "show info json" | socat /tmp/haproxy.stat stdio | python -m
json.tool
[
{
"field": {
"name": "Name",
"pos": 0
},
"processNum": 1,
"tags": {
"nature": "Output",
"origin": "Product",
"scope": "Service"
},
"value": {
"type": "str",
"value": "HAProxy"
}
},
{
"field": {
"name": "Version",
"pos": 1
},
"processNum": 1,
"tags": {
"nature": "Output",
"origin": "Product",
"scope": "Service"
},
"value": {
etc. etc. etc.
On 12 January 2017 at 13:34, Simon Horman <[email protected]> wrote:
> On Thu, Jan 12, 2017 at 01:27:37PM +0000, Scott McKeown wrote:
> > Hi Simon,
> >
> > Output below:
>
> ...
>
> Thanks
>
> > On 12 January 2017 at 13:23, Simon Horman <[email protected]> wrote:
> >
> > > Hi Scott,
> > >
> > > could you send the output of the following?
> > >
> > > echo "show info json" | socat /tmp/haproxy.stat stdio
> > >
> > > On Thu, Jan 12, 2017 at 01:18:54PM +0000, Scott McKeown wrote:
> > > > Hi Guys,
> > > > Sorry for the delay I got tied up with some other issues yesterday
> but
> > > I've
> > > > just finished with Simons git repo pull.
> > > > Simon are you sure this is correct as I thought this was for a
> 1.8-dev
> > > > build which could be why I had problems on Tuesday.
> > > >
> > > > # haproxy -v
> > > > HA-Proxy version 1.6-dev1 2015/03/11
> > > > Copyright 2000-2015 Willy Tarreau <[email protected]>
>
> ...
>
> The above seems wrong. I see:
>
> ./haproxy -v
> HA-Proxy version 1.8-dev0-b738a8-135 2017/01/04
> Copyright 2000-2016 Willy Tarreau <[email protected]>
>
> Could you verify that the head commit you have checked out is as follows?
>
> git log --oneline -1
> b738a8b596d8 MEDIUM: stats: Add show json schema
>
--
With Kind Regards.
Scott McKeown
Loadbalancer.org
http://www.loadbalancer.org
Tel (UK) - +44 (0) 3303801064 (24x7)
Tel (US) - +1 888.867.9504 (Toll Free)(24x7)