checkfleet

etcd check

etcd — etcd

/health, a leader present (quorum held), and member count against the expected size.

checkfleet check etcd --config checkfleet.yml

Checks an etcd v3 cluster over its HTTP JSON gateway — no clientv3 dependency:

  • Health (/health) — ERROR if unreachable, BAD if the endpoint reports unhealthy.
  • Leader (/v3/maintenance/status) — BAD if there is no leader (the cluster has lost quorum); otherwise reports the etcd version.
  • Members (/v3/cluster/member/list) — BAD if fewer members than expect_members (quorum risk), else the count is shown in the healthy message.

Optional token auth (username + password_env, resolved from the environment) and insecure_skip_verify for self-signed clusters. Zero-dep (HTTP/JSON); tested against an in-test fake gateway.

  etcd:
    expect_members: 3
    targets:
      - {name: etcd-01, url: https://etcd-01:2379, insecure_skip_verify: true}

See the full module reference for every check, or configuration for the config keys.