Skip to main content

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

This version

1.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for monitoring-plugins-apparmor, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size monitoring-plugins-apparmor-1.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page