Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node

1.0.2

History Node

1.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
monitoring-plugins-apparmor-1.0.2.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Jul 26, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting