Bastian Blank <wa...@debian.org> writes: tags 827023 upstream,wontfix,fixed-upstream thanks
Hi Bastian, > Currently needrestart returns CRITICAL if any service needs restart, > even if they are included in override_rc. The following example just > have the already listed dbus. > Please reduce the severity to WARNING in this cases, as such services > should not be restarted and the message usualy gets ignored. Services in override_rc are not less critical than those not beeing listed. Services in override_rc are known to break something - like restarting NetworkManager interrupts the network connection. With needrestart 2.9 it will be possible to configure the status value for services (and kernel, containers, sessions). If you use the CLI options '-c' to use alternative config files it would be possible to build individual nagios services. Use the following config snippet to build a service check which ignores the services in override_rc completley: $nrconf{blacklist_rc} = $nrconf{override_rc}; HTH, Thomas -- :: WWW: https://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: https://www.flickr.com/photos/laugufe/ ::