add check for haproxy