NAME
Monitoring::Sneck::Checks::systemd_failed - checks for failed systemd units
VERSION
Version 0.0.1
SYNOPSIS
failed_units|perl:systemd_failed
failed_units_most|perl:systemd_failed -x '^user@' -x 'flush\.service$'
DESCRIPTION
Lists the failed units through systemctl --failed, as a service that crashed and stayed down. By default any is CRITICAL.
systemctl not being there, as on a host without systemd, or failing, is UNKNOWN.
OPTIONS
- -x, --exclude :: A regex for units to leave out. May be given more than once.
- -w, --warning :: Range for the number of failed units.
- -c, --critical :: Range for the number of failed units. Default :: 0
METHODS
check
Does the check.