needrestart
needrestart copied to clipboard
Icinga check - add a mode that ignores any services that wouldn't be automatically restarted
Hey.
For the Icinga check, it would be nice if there were some additional ways to change the behaviour.
E.g. that one could specify which services are ignored with respect to the check, or merely cause a warning.
Maybe similar to:
$nrconf{override_rc} = {
# DBus
qr(^dbus) => 0,
# display managers
qr(^gdm) => 0,
qr(^kdm) => 0,
qr(^nodm) => 0,
where one could specify whether that service would be considered a warning, error or ignored (or default).
Cheers, Chris.