check status of selinux
lib/python3/cmk/base | ||
share/check_mk | ||
.gitignore | ||
.info.swp | ||
info | ||
LICENSE | ||
README.md | ||
selinux-1.0.mkp | ||
selinux-1.1.1.mkp |
check_mk-check-selinux
Check status of selinux based on the output of the sestatus command. Updated for Checkmk 2.2 including a bakery plugin (so you can package and deploy).
SELinux reference
The following (link)[97fa708d86/policycoreutils/sestatus/sestatus.c (L4)
] defines the output of the sestatus command.
State of booleans
sestatus accepts a -b flag which display the state of all selinux booleans. This is not covered but may be of interest in the future.