Cloudprober configuration and probes for monitoring CTA
Includes the following probers:
- Aliveness prober for eos (depends on eos-client)
- Aliveness prober for postgres (depends on psql client)
- Aliveness prober for quarkdb
- Network connectivity prober
- CTA drive status prober (depends on psql client)
To set up cloudprober as a systemd service:
- Install go (https://go.dev/doc/install)
cp cloudprober.service /etc/systemd/system/
- Update PGHOST, PGPORT and PGPASSWORD env variables in /etc/systemd/system/cloudprober.service to real values
systemctl daemon-reload
systemctl enable cloudprober
systemctl start cloudprober
Firewall must be open on port 9313, then dashboard can be seen at http://hostname:9313/status, and metrics can be seen at http://hostname:9313/metrics.
To rebuild probers:
- Modify source files (end in
.go
) export GO111MODULE=on
go build <prober>.go