On 17/07/2015 06:02 πμ, Ruoshan Huang wrote: > hi, > I found that the html stats page has a column of status which comes with > the uptime of a server or backend, > but in the csv stats I couldn’t find the uptime accordingly. > Can I get the uptime of servers without parsing the html? Thanks. > > -- > Good day! > ruoshan > >
I believe it is the lastchg field name, 23. lastchg [..BS]: number of seconds since the last UP<->DOWN transition sudo haproxytool server -m lastchg node1 --backend=b1 # backendname servername b1 node1 53856 Cheers, Pavlos
signature.asc
Description: OpenPGP digital signature