This script checks the state AppArmor status and profiles.
Project description
monitoring-plugins-apparmor
Python Nagios-compatible App Armor checks.
Description
These Nagios-compatible checks aim to monitor apparmor-related behaviours (status, profiles).
Usage
Checks if App Armor is enabled: /usr/lib/nagios/plugins/check_aa_status. This plugin requires a sudo configuration, such as:
User_Alias NAGIOS = nagios Cmd_Alias NAGIOS_CMD = /usr/sbin/aa-status --enabled NAGIOS ALL = (root) NOPASSWD: NOEXEC: NAGIOS_CMD
Checks if the given binary is enforced: /usr/lib/nagios/plugins/check_aa_profile --process=libvirtd
Help
/usr/lib/nagios/plugins/check_aa_status --help Usage: check_aa_status [options] Options: -v, --verbose -H HOSTNAME, --hostname=HOSTNAME -w WARNING, --warning=WARNING -c CRITICAL, --critical=CRITICAL -t TIMEOUT, --timeout=TIMEOUT -h, --help show this help message and exit
The process is mandatory.
/usr/lib/nagios/plugins/check_aa_profile --help Usage: check_aa_profile [options] Options: --process=PROCESS The name of the process to find -v, --verbose -H HOSTNAME, --hostname=HOSTNAME -w WARNING, --warning=WARNING -c CRITICAL, --critical=CRITICAL -t TIMEOUT, --timeout=TIMEOUT -h, --help show this help message and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file monitoring-plugins-apparmor-1.0.1.tar.gz
.
File metadata
- Download URL: monitoring-plugins-apparmor-1.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d82bf5e7199c3feb919033f75ff70517efb5e96a35a3c7a969d32756c76a4db6 |
|
MD5 | 01ca38647b68fa8b70a7cb5143f3f65d |
|
BLAKE2b-256 | d438319176245d904d4e4d5502ac60019455ef86863c62c21d11703f828a750f |