Skip to content

Prometheus rules, Grafana dashboard and Zabbix 7 template for DYODE 2.1.0 - #1

Merged
nc-intezra merged 1 commit into
mainfrom
initial-monitoring
Oct 29, 2026
Merged

nc-intezra merged 1 commit into
mainfrom
initial-monitoring

Conversation

@nc-intezra

Copy link
Copy Markdown
Owner

Prometheus alert rules, a Grafana dashboard and a Zabbix 7 template for DYODE 2.1.0's local API (nc-intezra/dyode_rust#6). Everything reads the output box, which reports both boxes; nothing connects to the input box or the OT network.

  • prometheus/rules/dyode.rules.yml: 14 alerts. The key one is DyodeInputSilent (dyode_status_age_seconds{side="in"} > 30, or no status yet). Others: configuration mismatch, aborted transfers, rejected/missing/failed files, module down or flapping, disk < 5 GB, static ARP entry, logs stale/gap, API refusals.
  • prometheus/scrape.yml: HTTPS job with bearer token file and the box's certificate.
  • grafana/dyode-overview.json: link health, throughput, modules, free space, API (datasource/job/instance variables).
  • zabbix/dyode_by_http.yaml: Zabbix 7.0 "DYODE by HTTP": one HTTP agent item on /v1/status, dependent items, module discovery for both boxes, triggers; macros for URL, token (secret), intervals.
  • examples/: real /metrics and /v1/status captured from a 2.1.0 loopback run.
  • tools/check.py (also in CI): parses everything, checks every metric and JSONPath against the examples, and that the generated dashboard and template are current. CI also runs promtool check rules.

Not yet imported into a live Grafana or Zabbix: promtool, Grafana and Zabbix were not reachable from the session, so those are checked by CI (promtool) or still need a first import.


Generated by Claude Code

….1.0

All read the output box's local API, which reports both boxes (the input
box from the status it sends through the diode).  tools/check.py checks
every metric and JSONPath against a real /metrics and /v1/status capture,
and that the generated dashboard and template are current; CI also runs
promtool check rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QXjQsiWnwLMndr5XU9g5LJ
@nc-intezra
nc-intezra merged commit 931a5de into main Oct 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants