check_gpg_key_expiration.sh
A check script for icinga2 to check for the expiration of GPG keys (local or online).
Check gpg expiration date. Arguments:
--url URL: Where to find the GPG key. Path to a local file or an URL to download from.
--warning DAYS: Warning threshold (integer in days)
--critical DAYS: Critical threshold (integer in days)