Create Zabbix template to monitor the Forge Valkey status #661

Closed
opened 2026-07-13 12:12:24 +00:00 by dkirwan · 4 comments
Member

Summary

Create Zabbix template to monitor the Forge Valkey status

Details

Create Zabbix template to monitor the Forge Valkey status

### Summary Create Zabbix template to monitor the Forge Valkey status ### Details Create Zabbix template to monitor the Forge Valkey status
amedvede added this to the Sprint 26 project 2026-07-27 10:21:36 +00:00
Member

Implementation will consist of 2 parts.

  1. 1st is to deploy valkey exporter that will export valkey info into a Prometheus-style metrics endpoint.
    infra/ansible#3548
    To deploy only valkey changes use
    ansible-playbook playbooks/openshift-apps/forgejo.yml -t valkey

To test changes use on os_control_stg machine.
To chech if exported is deployed:

oc get deploy,pod,svc -n forgejo -l app=valkey-exporter

To check its health status:

curl -sS -w '\nHTTP %{http_code}\n' \
  http://valkey-exporter.forgejo.svc.cluster.local:9121/health

Metrics scrape test:

curl -sS http://valkey-exporter.forgejo.svc.cluster.local:9121/metrics | head -40
  1. 2nd is to create Zabbix macros and develop templates that will format the metrics data into allerts graphs and so on. This is described in investigation ticket #686
Implementation will consist of 2 parts. 1) 1st is to deploy valkey exporter that will export valkey info into a Prometheus-style metrics endpoint. https://forge.fedoraproject.org/infra/ansible/pulls/3548 To deploy only valkey changes use ```ansible-playbook playbooks/openshift-apps/forgejo.yml -t valkey``` To test changes use on `os_control_stg` machine. To chech if exported is deployed: ``` oc get deploy,pod,svc -n forgejo -l app=valkey-exporter ``` To check its health status: ``` curl -sS -w '\nHTTP %{http_code}\n' \ http://valkey-exporter.forgejo.svc.cluster.local:9121/health ``` Metrics scrape test: ``` curl -sS http://valkey-exporter.forgejo.svc.cluster.local:9121/metrics | head -40 ``` 2) 2nd is to create Zabbix macros and develop templates that will format the metrics data into allerts graphs and so on. This is described in investigation ticket https://forge.fedoraproject.org/forge/forge/issues/686
Member

PR with templates: infra/ansible#3553

PR with templates: https://forge.fedoraproject.org/infra/ansible/pulls/3553
Author
Member

Merged, will deploy tomorrow and verify before pushing ot the prod instance.

Merged, will deploy tomorrow and verify before pushing ot the prod instance.
dkirwan modified the project from Sprint 26 to Sprint 27 2026-08-10 10:10:23 +00:00
Author
Member

Verified working in staging and prod.

Verified working in staging and prod.
Sign in to join this conversation.
No milestone
No project
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
forge/forge#661
No description provided.