Reconnect server (Reconnect OTP)

Reading Time: < 1 minute

When to apply

Reconnect use for an existing server: after OS reinstallation, agent migration or loss of local credential files.

What to prepare

  • SERVER_ID server that is already in the cluster.
  • Reconnect OTP from this server’s card.
  • endpoint and ingress-endpoint of your outline.

Reconnect command

./vezha-agent reconnect --server-id <SERVER_ID> --otp <RECONNECT_OTP> --endpoint https://grpc.app.vezha.io --ingress-endpoint https://grpc.app.vezha.io

What happens during reconnect

  1. The server re-enrolls for the existing one SERVER_ID.
  2. The agent receives a new bootstrap token and reissues the certificate.
  3. The configuration is updated without creating a duplicate server in the cluster.

After execution

  • Check that the same server is back in status online.
  • Make sure live metrics are coming in again.
Scroll to Top