mirror of
https://github.com/Luzifer/mondash-checkgpg.git
synced 2024-11-08 08:30:03 +00:00
Watch over GPG keys uploaded to a keyserver and inform about their expiry using a MonDash dashboard
d37d36a73c
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20220310020820-b874c991c1a5 to 0.1.0. - [Release notes](https://github.com/golang/sys/releases) - [Commits](https://github.com/golang/sys/commits/v0.1.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.gitignore | ||
.repo-runner.yaml | ||
go.mod | ||
go.sum | ||
gpg.go | ||
History.md | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md |
Luzifer / mondash-checkgpg
mondash-checkgpg
is intended to watch over GPG keys uploaded to a keyserver and inform about their expiry using a MonDash dashboard.
Usage
# ./mondash-checkgpg --help
Usage of ./mondash-checkgpg:
-c, --crit-at duration Switch state to critical if key expires within X (default 168h0m0s)
-k, --key strings List of keys to check
--key-server string Lookup path to retrieve the key from (default "http://keyserver.ubuntu.com/pks/lookup")
--log-level string Log level (debug, info, warn, error, fatal) (default "info")
--mondash-board string ID of the Mondash board to send to
--mondash-metric string ID of the metric to submit to (default "checkgpg")
--mondash-metric-expiry duration Time in seconds when to remove the metric if there is no update (default 168h0m0s)
--mondash-metric-freshness duration Time in seconds when to switch to stale state of there is no update (default 168h0m0s)
--mondash-token string Token with write access to the board
--version Prints current version and exits
-w, --warn-at duration Switch state to warning if key expires within X (default 336h0m0s)
# ./mondash-checkgpg --mondash-board <boardid> --mondash-token <token> --key 0x43A4CD1C19DAE8558D40088E0066F03ED215AD7D