Docker swarm services not reporting with health check enabled

21 views
Skip to first unread message

Larry Henry

unread,
Feb 27, 2018, 6:42:58 PM2/27/18
to Host-sFlow
I’m using docker 17.12 in swarm mode on Centos 7.x and hsflow 2.0.11, and I’ve discovered that containers not using health check config are reporting metrics just fine, but containers that are using health checks are not reporting in sflow-rt. Is this expected behavior or a bug, and is there a workaround?

Neil McKee

unread,
Mar 8, 2018, 2:38:33 PM3/8/18
to Larry Henry, Host-sFlow
The latest hsflowd release (version 2.0.15) now specifies a Docker API version number (v1.24) when it makes requests to docker.sock.  On the platforms I have tried it on (such as Fedora 27) this was necessary to get any data at all.  However it seems to work whether heathcheck is on or off, so I'm not sure if this will fix what you are seeing or not.  Definitely worth a try, though.  So please upgrade hsflowd to 2.0.15 and let me know if that helps.

Neil


------
Neil McKee
InMon Corp.
http://www.inmon.com

On Tue, Feb 27, 2018 at 3:42 PM, Larry Henry <larry.h...@gmail.com> wrote:
I’m using docker 17.12 in swarm mode on Centos 7.x and hsflow 2.0.11, and I’ve discovered that containers not using health check config are reporting metrics just fine, but containers that are using health checks are not reporting in sflow-rt. Is this expected behavior or a bug, and is there a workaround?

--
You received this message because you are subscribed to the Google Groups "Host-sFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to host-sflow+unsubscribe@googlegroups.com.
To post to this group, send email to host-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/host-sflow/22b664bd-45df-49c5-90b1-a3f805078b86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages