the new HTTP(S) check plugin comes with many options, but one is missing: The ability to select the address family (IPv4 or IPv6) for establishing the connection.
It would be nice to be able to select “both” and two service checks would then be generated.
It’s not the only feature missing in 2.3 from the legacy check that prevents us from migrating. Not being able to control the actual IP address the request is sent to independently from the requested host name is a complete showstopper for roughly 50% of our checks (think of having multiple proxies handling the same requests, or active/passive clusters, or CDN frontends where you want to query the CDN itself but also the backend servers directly).
We need at least one major release cycle in which all features of the legacy HTTP check are available in HTTPv2 as well in order to migrate. Otherwise this will be a HUGE pain. (It is a huge pain already due to the sheer amount of work required, but losing all currently configured checks before being able to upgrade will suck so much)
Goal is that you can migrate during 2.4. That’s why we are also building and shipping the script for migration with 2.4.
Especially since we added these missing features in the meantime.
Added link to tool:
I just wanted to say thanks for this tool. We recently used it to migrate all of our deprecated HTTP checks.
After massaging the problems reported by the tool a bit with the available options (for us: mostly adding --v2-checks-certificates disable --cant-ignore-certificate-validation keep) & modifying a rather short list of checks I had to adjust manually, the actual migration of four hundred or so rules worked very well. It definitely saved us a ton of time and is pretty much guaranteed to provide a more consistent, less error-prune result than manual migration would have achieved.
So yeah — if you’re going to deprecate & remove well-used features, this is definitely the way to go.