wiki:check_enforce
Last modified 15 months ago Last modified on 02/27/2011 01:18:55 AM

check_enforce

monitor ~ $ check_enforce --help
check_enforce v0.1 (monitorplug 0.0)
Copyright (c) 2011 Marius Rieder <marius.rieder@durchmesser.ch>
Copyright (c) 2010-2011 Monitoring Plugins

This plugin test the selinux state and policy.

Usage:
 check_enforce [--enforcing|--permissive|--disabled]

Options:
 -h, --help
      Print detailed help screen.
 -V, --version
      Print version information.
 -v, --verbose
      Show details for command-line debugging.
 -t, --timeout=INTEGER
      Seconds before the check return with a timeout alert.
     --eopt=[section][@file]
      Read additional opts from section in ini-File.
     --perfdata
      Print performance data (if available).
 -e, --enforcing
      SELinux should be enforcing.
 -p, --permissive
      SELinux should be permissive.
 -d, --disabled
      SELinux should be disabled.
 -P, --policy=POLICY
      SELinux should run with POLICY loaded.