From: Jacob Lundqvist <jaclu@galdrion.com>
Date: Mon, 17 Jul 2000 15:13:42 +0200
check_modules plugin for NetSaint
Copyright (c) 2000 Jacob Lundqvist (jaclu@galdrion.com)
License: GPL
Version: 0.9
Location: http://mooner.galdrion.com/download/
Usage: check_modules [-v] [-h] [-m mod1,mod2,mod3,...] [-o
mod1,mod2,mod3,...]
[-l] [-t timeout] [-O tmp_path] [-V]
Options:
-v --debug = debug mode, show some extra output
-h = help (this screen ;-)
-m --modules mod,mod = modules that should be running
-o --optional mod,mod = modules that could be running
-l --lsmod = run lsmod in shell, instead of examinig
/proc/modules
-O --outpout path = basename for tempfile used by lsmod
pointless if -l is not used
-t --timeout timeout = timeout in seconds, default 10
-V --version = Version info
This plugin attempts to verify that given kernel modules are loaded.
If all specified modules are loaded, OK is returned.
If any of them are missing, WARNING is returned (except for optional
modules)
If other modules are loaded, CRITICAL is returned