Skip to main content

Description

The service_mon probe checks the state of an OS service (systemd unit on Linux, Windows service on Windows). Supports expecting running or stopped state.

Config fields

Metrics

Example config

Notes

  • manager must match the host OS. Cross-OS (e.g. systemd on Windows) fails at construction.
  • restart_count is only available for systemd .service units.