Skip to main content

No project description provided

Project description

This package on the Python Package Index Tests

Command line interface

check_unattended_upgrades v1.4
Copyright (c) 2015-2026 Josef Friedrich <josef@friedrich.rocks>

Monitoring plugin to check automatic updates (unattended-upgrades) on Debian / Ubuntu.

Usage: check_unattended_upgrades <options>

Options:
 -A, --anacron
    Check if the package 'anacron' is installed.
 -a, --autoclean
    Check if the configuration 'APT::Periodic::AutocleanInterval' is set
    properly.
 -c, --critical
    Time interval since the last execution to result in a critical state
    (seconds).
 -D, --short-description
    Show a short description of this check plugin.
 -d, --download
    Check if the configuration 'APT::Periodic:Download-Upgradeable-Packages'
    is set properly.
 -e, --enable
    Check if the configuration 'APT::Periodic::Enable' is set properly.
 -h, --help
    Show this help message.
 -l, --lists
    Check if the configuration 'APT::Periodic::Update-Package-Lists' is set
    properly.
 -m, --mail
    Check if the configuration 'Unattended-Upgrade::Mail' is set properly.
 -n, --dry-run
    Check if 'unattended-upgrades --dry-run' is working. Warning: If you use
    this option the performance data last_ago is always 0 or near to 0.
 -p, --repo
    Check if 'Unattended-upgrades' is configured to include the specified
    custom repository.
 -R, --reboot
    Check if the machine needs a reboot.
 -r, --remove
    Check if the configuration 'Unattended-Upgrade::Remove-Unused-
    Dependencies' is set properly.
 -S, --security
    Check if 'Unattended-upgrades' is configured to handle security updates.
 -s, --sleep
    Check if the configuration 'APT::Periodic::RandomSleep' is set properly.
 -t, --systemd-timers
    Check if the appropriate Systemd timers are enabled ( apt-daily-upgrade.timer, apt-daily.timer ).
 -u, --unattended
    Check if the configuration 'APT::Periodic::Unattended-Upgrade' is set
    properly.
 -v, --version
    Show the version number.
 -w, --warning
    Time interval since the last execution to result in a warning state
    (seconds).

Performance data:
  - last_ago
      Time interval in seconds for last unattended-upgrades execution.
  - warning
      Interval in seconds.
  - critical
      Interval in seconds.

About file system permissions:
    The user which executes this plugin must have read permissions to this
    log file:

            /var/log/unattended-upgrades/unattended-upgrades.log

    To allow every user on your system to read the mentioned log file this
    permissions are recommended:

            751 (drwxr-x--x) /var/log/unattended-upgrades
            644 (-rw-r--r--) /var/log/unattended-upgrades/unattended-upgrades.log

Project pages

Project details


Download files

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

Source Distribution

check_unattended_upgrades-2.0.0a0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

check_unattended_upgrades-2.0.0a0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file check_unattended_upgrades-2.0.0a0.tar.gz.

File metadata

  • Download URL: check_unattended_upgrades-2.0.0a0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for check_unattended_upgrades-2.0.0a0.tar.gz
Algorithm Hash digest
SHA256 aea346d0e6462bba8a33c3372134ca13f3018ce1f9b663847e0836d3357b3b44
MD5 f3fe07b75e8bece4f897b381d335afba
BLAKE2b-256 4511c7e31a9e9162ee68528a81b7e635a459df3339f2d35f31af1145fc95744d

See more details on using hashes here.

File details

Details for the file check_unattended_upgrades-2.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: check_unattended_upgrades-2.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for check_unattended_upgrades-2.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 7941917861b94503b65ea3d34e65963acb712b89207cfaf7d86606cf5c219284
MD5 8371c7cf59a2acd177fcf4f88e92e4ee
BLAKE2b-256 c2beb6db055e4548a863caae5b1544738f60321401aa2dabb4ec101fccf53398

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page