Hi Chris, needrestart has already a simple nagios plugin mode (available since 2.1) - please take a look at README.nagios.md. Maybe you are looking for a nagios-plugin-needrestart package shipping the example config files?
HTH, Thomas On 05/31/2015 07:06 AM, Christoph Anton Mitterer wrote: > Package: needrestart > Version: 2.1-1 > Severity: wishlist > Tags: upstream > > > Hi. > > It would be great if a (ideally C or C++) Icinga/Nagios plugin > could be written, that can be used to check a system for > processes needed to be restarted. > > Ideas for that could include the following: > - Use the performance data field to report the number of: > - user processes > - root processes > - other system users (i.e. not normal users not root) processes > - "the number of" kernel(s) to be restarted (i.e. 0 or 1). > that are currently to be restarted. > This allows a site to monitor its node and the > up-to-date-or-not history > - option switches to the plugin that allows to enable/disable > checking for each: > - root processes > - user processes > - other system users (i.e. not normal users not root) processes > - and include/exclude list of uids and/or gids, which are checked > - the kernel > - perhaps things like the min. age of a process, before it would trigger > a warning/error for the plugin > - if it should ever become easily possible to determine whether the > process needed to be restarted contained security updates since, > one could e.g. make such process and Icinga/Nagios error, and all > other processes (needed to be restarted, but without security issues) > a warning. > > > Cheers, > Chris. > -- :: WWW: http://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: http://www.flickr.com/photos/laugufe/ :: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org