Check local debian version against a mirror and warn if a newer release is available.
Project description
check_deb_release
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa150be5b4cee7779648255f8b18964ecbeb00bfd451c4db7332641318850832
|
|
| MD5 |
2e27c5d988e8fb78a862afc1cdf269ef
|
|
| BLAKE2b-256 |
d50431be6576d7629d7f5dd5be4279988dbaf42c04e6668d7640dd56aee91cff
|
Provenance
The following attestation bundles were made for check_deb_release-0.1.2.tar.gz:
Publisher:
publish.yml on BonaFideIT/check_deb_release
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
check_deb_release-0.1.2.tar.gz -
Subject digest:
aa150be5b4cee7779648255f8b18964ecbeb00bfd451c4db7332641318850832 - Sigstore transparency entry: 227106997
- Sigstore integration time:
-
Permalink:
BonaFideIT/check_deb_release@da4297911ec3c767f8eea9b01ef544715cb451a0 -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/BonaFideIT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@da4297911ec3c767f8eea9b01ef544715cb451a0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file check_deb_release-0.1.2-py3-none-any.whl.
File metadata
- Download URL: check_deb_release-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4e62230e7ca12a420b914f86ffe5ad64f16531b0ed765feee63b8bdd67208f7
|
|
| MD5 |
7f15b3a02bf38636a4fe1f0c12fb9b55
|
|
| BLAKE2b-256 |
ee7a82d34a78b2ec570b3f090a440d989d5ada928c3e1aea4b77014099b70a25
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
check_deb_release-0.1.2-py3-none-any.whl -
Subject digest:
d4e62230e7ca12a420b914f86ffe5ad64f16531b0ed765feee63b8bdd67208f7 - Sigstore transparency entry: 227106999
- Sigstore integration time:
-
Permalink:
BonaFideIT/check_deb_release@da4297911ec3c767f8eea9b01ef544715cb451a0 -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/BonaFideIT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@da4297911ec3c767f8eea9b01ef544715cb451a0 -
Trigger Event:
release
-
Statement type: