check_dnssec_expiry icon indicating copy to clipboard operation
check_dnssec_expiry copied to clipboard

Input and output changes

Open f-froehlich opened this issue 4 years ago • 1 comments

Now you can specify time units (days (d), hours (h), minutes (m), seconds (s), percent (%)) for warning and critical bounds. If no unit is given default unit is percent due compatibility reasons. Changing default values to 10d (warning) and 5d (critical). Output remaining time in human readable format (d h m s) and percentage Output expiring at time in human readable format e.g. WARNING: DNSSEC signature for [DOMAIN] is short before expiration! (8d 11h 7m 40s / 28% remaining; expire at So 23 Aug 2020 18:55:00 UTC) | sig_lifetime=731260 sig_lifetime_percentage=28%;864000;432000

f-froehlich avatar Aug 15 '20 07:08 f-froehlich

Thanks for your contribution! By reading this looks fine. I'd like to test that before merging.

mrimann avatar Mar 15 '21 20:03 mrimann