needrestart icon indicating copy to clipboard operation
needrestart copied to clipboard

Icinga check - add a mode that ignores any services that wouldn't be automatically restarted

Open calestyo opened this issue 2 years ago • 0 comments

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.

calestyo avatar Oct 28 '21 01:10 calestyo