Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 945 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 945 Bytes

cta-cloudprober

Cloudprober configuration and probes for monitoring CTA

Includes the following probers:

  1. Aliveness prober for eos (depends on eos-client)
  2. Aliveness prober for postgres (depends on psql client)
  3. Aliveness prober for quarkdb
  4. Network connectivity prober
  5. CTA drive status prober (depends on psql client)

To set up cloudprober as a systemd service:

  1. Install go (https://go.dev/doc/install)
  2. cp cloudprober.service /etc/systemd/system/
  3. Update PGHOST, PGPORT and PGPASSWORD env variables in /etc/systemd/system/cloudprober.service to real values
  4. systemctl daemon-reload
  5. systemctl enable cloudprober
  6. 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:

  1. Modify source files (end in .go)
  2. export GO111MODULE=on
  3. go build <prober>.go