https://github.com/nemunaire/check_openpgpkey
Nagios/Icinga plugin for checking OPENPGPKEY records
https://github.com/nemunaire/check_openpgpkey
dane dnssec gpg icinga-plugin nagios-plugin pgp
Last synced: about 7 hours ago
JSON representation
Nagios/Icinga plugin for checking OPENPGPKEY records
- Host: GitHub
- URL: https://github.com/nemunaire/check_openpgpkey
- Owner: nemunaire
- License: gpl-3.0
- Created: 2017-08-23T18:27:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T21:37:32.000Z (over 5 years ago)
- Last Synced: 2025-10-14T18:38:49.919Z (about 7 hours ago)
- Topics: dane, dnssec, gpg, icinga-plugin, nagios-plugin, pgp
- Language: Python
- Size: 17.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
check_openpgpkey
================Nagios/Icinga plugin for checking OPENPGPKEY (TYPE61) records.
Those records are defined in [RFC7929](https://tools.ietf.org/html/rfc7929), as
a new way to lookup and retrieve PGP keys.This plugin check for the existance of a record for the given user and can
perform various other checks like expiration date.Usage
=====-h, --help show this help message and exit
--id ID, -I ID Hostname to check.
--remaining-days REMAINING_DAYS
Minimum remaining days before expiry.
Format: INTEGER[,INTEGER]. 1st is days for warning,
2nd is critical.
--no-dnssec Continue even if DNS replies aren't DNSSEC authenticated.
--resolver RESOLVER Use a custom resolver.
--timeout TIMEOUT Network timeone in sec. Default: 10
--version show program's version number and exitExamples
--------* `check_openpgpkey nemunaire@nemunai.re`
* `check_openpgpkey -I 0x842807A84573CC96 nemunaire@nemunai.re`
* `check_openpgpkey -R 60 -I 0x842807A84573CC96 nemunaire@nemunai.re`Requirements
============* Python >= 3.3
* [dnspython](http://www.dnspython.org/)
* `gpg` binary
* DNSSEC capable resolver (or use `--no-dnssec` but be aware of the security implications)