Repository navigation
Conversation
Generate a built-in rule for NethVoice systemd exporter targets. Map alerts to a stable ID so portal state follows each failed unit. Assisted-by: Codex:gpt-5.5-xhigh
Assert that Prometheus loads the generated SystemdUnitFailed rule. Keep coverage at the metrics module level without failing services. Assisted-by: Codex:gpt-5.5-xhigh
Document the new NethVoice systemd service failure alert. Keep the available alerts list aligned with generated rules. Assisted-by: Codex:gpt-5.5-xhigh
Extend the built-in failed systemd unit alert to match both nethvoice and nethvoice-proxy module IDs. This keeps proxy services covered by the same NethVoice alert flow. Update the Robot check and README list to reflect the wider scope. Assisted-by: Codex:gpt-5.5-xhigh
This was referenced Jul 8, 2026
Amygos
marked this pull request as ready for review
July 8, 2026 14:59
Amygos
requested review from
DavidePrincipi,
edospadoni and
gsanchietti
and removed request for
gsanchietti
July 8, 2026 14:59
Member
Author
|
This was closed in favor of a more complete solution: NethServer/dev#8100 |
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.
Summary
Add a built-in Prometheus alert for failed systemd service units exposed by
module exporters. The current selector is intentionally scoped to NethVoice and
NethVoice Proxy modules, matching
nethvoice[0-9]*andnethvoice-proxy[0-9]*module IDs.This solves the immediate NethVoice use case, but the approach can be
generalized later to cover systemd service failures for all modules that expose
the same metric labels.
The PR also wires the alert to alert-proxy with a stable legacy alert ID,
checks that Prometheus loads the rule in Robot tests, and documents the new
available alert.
Related issue
NethServer/dev#8093
How to test
Automated checks already passed on this branch:
Publish imagesTest moduleinstall scenarioTest moduleupdate scenarioManual/local validation performed before opening the PR:
On an NS8 cluster with NethVoice or NethVoice Proxy exposing
systemd_unit_state, put one of their service units infailedstate andverify that Prometheus fires
SystemdUnitFailedafter 2 minutes.Dependencies
Depends on the NethVoice exporter metric introduced by: