Skip to content

NethVoice: Monitor failed systemd units #8093

Description

@Amygos

Description

Implement the first backend slice of #8066 for service health
alerting: export systemd service state metrics from NethVoice components and
raise an alert when a monitored service unit is in failed state.

This sub-issue is intentionally limited to NethVoice and NethVoice Proxy
modules. The same pattern can later be generalized to all modules that publish
systemd unit state metrics with compatible labels.

Scope

  • Expose systemd service state metrics from NethVoice components.
  • Cover both nethvoice[0-9]* and nethvoice-proxy[0-9]* module IDs.
  • Add a built-in SystemdUnitFailed alert in ns8-metrics for failed service
    units.
  • Forward the alert through alert-proxy with a stable alert identifier.
  • Provide automated coverage that verifies Prometheus loads the rule.

Acceptance criteria

  • NethVoice and NethVoice Proxy publish systemd_unit_state metrics for their
    service units.
  • ns8-metrics generates a built-in alert for failed systemd services matching
    NethVoice and NethVoice Proxy module IDs.
  • Alert annotations clearly identify the failed unit, module ID, and node.
  • alert-proxy maps the alert to the portal notification flow.
  • CI validates image publication and module tests.

References

Metadata

Metadata

Assignees

Labels

nethvoiceBug or features releted to the NethVoice project

Fields

No fields configured for Backend.

Projects

Status
In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions