passify
An icinga check_command wrapper to icinga api for submitting passive check results. Call any nagios/icinga compatible check executable to submit results as a passive result.
usage
usage: passify.py [-h] [--config CONFIG] [--timeout TIMEOUT] -s SERVICE NAME [--ttl TTL] ...
Deploy passify.py on your server, this can be done locally or in your path. Call it with
python3 passify.py -s "Example Service" check_example <check_arguments>
or give it execution rights and call it like this:
./passify.py -s "Example Service" check_example <check_arguments>
Or in path like this:
passify -s "Example Service" check_example <check_arguments>
installation
- copy passify.py to your server.
- Install to path for full convenience if you like, call as seen above:
ln -s /usr/local/bin/passify /location/to/passify.py
-
Upon first run, you will be asked several configuration questions:
- the icinga master url submissions are only possible through the currently active master
- verify the fingerprint (hint:
openssl x509 -in /var/lib/icinga2/certs/<hostname>.crt -noout -fingerprint -sha256) - username and password for api submission (only basic-auth is currently supported)
-
alternatively you can deploy a config file (default: config.ini) with the script:
[DEFAULT]
url = https://localhost:5665/v1/actions/process-check-result
check_source = example.com
user = <api_user>
password = <api_password>
[TLS]
fingerprint = d163f22c2021a498926ff8c30da0288ac20d1b9edaa80d1dbb14c0aebf85245b
Metadata
Release files for icinga-passify 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| icinga_passify-0.1.tar.gz | 6.7 kB | Without provenance | Details for icinga_passify-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| icinga_passify-0.1-py3-none-any.whl | Python 3 | none | any | Details for icinga_passify-0.1-py3-none-any.whl |
Total release size: 14.4 kB
Release files / icinga_passify-0.1.tar.gz
| Download URL | icinga_passify-0.1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5f4dd740cfa0f62b2bc7d8b7b52efcddaabfa11cfb3e19e8c59dbeda4ff2c4d
|
|
BLAKE2b-256 checksum How to use checksums |
de24c49dbdf376b3621ecf687064d84217a1f7be311b226b133c9237dd721f22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.2
|
Release files / icinga_passify-0.1-py3-none-any.whl
| Download URL | icinga_passify-0.1-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0360fb06aa66620f12802db2a28f53ec2c1c8cdcc645c65ead7590c6714bb6c0
|
|
BLAKE2b-256 checksum How to use checksums |
7e9d044e03ad6bb9fa593f0b171e8390ac377d64d043ae62abec7efcc12fb6b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.2
|
Security for icinga-passify 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.