Hi all, I want to check if a certain kernel module is loaded under Linux, and tried this:
check file sasmodule with path /proc/modules
if not match "^g2sasfe.*Live" then alert
However, this appears to evaluate true (monit reports file as being
"accessible") even if the module is not listed in /proc/modules.
Any hints why this does not work, or how I can do this properly?
cu
Gerrit
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
