]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] stats: report numerical process ID, proxy ID and server ID
authorWilly Tarreau <w@1wt.eu>
Sun, 4 Nov 2007 22:35:08 +0000 (23:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 4 Nov 2007 22:35:08 +0000 (23:35 +0100)
commitdcd4771b3d462cfeba17c503d29a81698fd162df
tree472d562c1f764a52540a8dba3b6b0d3df25c4a99
parente6b989479c3f4838861ac2c6ba801788639e8070
[MINOR] stats: report numerical process ID, proxy ID and server ID

It is very convenient for SNMP monitoring to have unique process ID,
proxy ID and server ID. Those have been added to the CSV outputs.
The numbers start at 1. 0 is reserved. For servers, 0 means that the
reported name is not a server name but half a proxy (FRONTEND/BACKEND).

A remaining hidden "-" in the CSV output has been eliminated too.
include/types/global.h
include/types/proxy.h
include/types/server.h
src/cfgparse.c
src/dumpstats.c
src/haproxy.c
src/proxy.c