Skip to main content

Check local debian version against a mirror and warn if a newer release is available.

Project description

check_deb_release

Tests

A Nagios/Icinga plugin to monitor the installed Debian or Ubuntu release against a specified target (e.g., "stable").

installation

pip install check-deb-release

usage

usage: check_deb_release [-h] [--mirror MIRROR] [TARGET]

Nagios plugin to monitor if the currently running release of debian matches the desired target distribution

positional arguments:
  TARGET           Default: "stable", supported: "oldoldstable", "oldstable", "stable", "testing", "experimental"

options:
  -h, --help       show this help message and exit
  --mirror MIRROR  Debian Mirror to use as release reference. Default: https://deb.debian.org/debian/

contributions

Install locally:

  • fork
  • clone
  • create/checkout feature branch
  • optional: virtual env
  • install uv
  • uv sync --dev
  • do work
  • create pull request where all tests pass
  • changes will be merged after careful review

Run tests:

uv run pytest

Works for:

  • debian bullseye
  • debian bookworm

Does not currently work:

  • debian buster ~ due to broken dependencies for old python version

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_deb_release-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

check_deb_release-0.1.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file check_deb_release-0.1.2.tar.gz.

File metadata

  • Download URL: check_deb_release-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for check_deb_release-0.1.2.tar.gz
Algorithm Hash digest
SHA256 aa150be5b4cee7779648255f8b18964ecbeb00bfd451c4db7332641318850832
MD5 2e27c5d988e8fb78a862afc1cdf269ef
BLAKE2b-256 d50431be6576d7629d7f5dd5be4279988dbaf42c04e6668d7640dd56aee91cff

See more details on using hashes here.

Provenance

The following attestation bundles were made for check_deb_release-0.1.2.tar.gz:

Publisher: publish.yml on BonaFideIT/check_deb_release

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file check_deb_release-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for check_deb_release-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e62230e7ca12a420b914f86ffe5ad64f16531b0ed765feee63b8bdd67208f7
MD5 7f15b3a02bf38636a4fe1f0c12fb9b55
BLAKE2b-256 ee7a82d34a78b2ec570b3f090a440d989d5ada928c3e1aea4b77014099b70a25

See more details on using hashes here.

Provenance

The following attestation bundles were made for check_deb_release-0.1.2-py3-none-any.whl:

Publisher: publish.yml on BonaFideIT/check_deb_release

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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