Repository navigation
Prometheus rules, Grafana dashboard and Zabbix 7 template for DYODE 2.1.0 - #1
Merged
Merged
Conversation
….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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 isDyodeInputSilent(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/metricsand/v1/statuscaptured 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 runspromtool 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