Replies: 3 comments 2 replies
-
Makes sense. I created an issue (#348) and I will take a look |
Beta Was this translation helpful? Give feedback.
-
Is there a certificate that I could use for testing? I would like to see how OpenSSL reacts ... |
Beta Was this translation helpful? Give feedback.
-
I just released version 2.18.0 which would solve your issue. If the specified critical or warning limits are integers nothing changes, if fractional numbers are specified the output will also be fractional. The behaviour can be forced with the new command line option |
Beta Was this translation helpful? Give feedback.
-
I greatly appreciate being able to now use fractional days in
--critical
and--warning
. I was wondering, however, if it might not make sense, particularly if a fractional value was used for one or both, to report the current lifespan of the certificate in the performance data as a fractional value. For example, running against an internal CA (internal--so name obscured a bit) which believes in having 1-day certificates for its own HTTPS interface, I get the odd effect of:Given that there is >0.2 days left before expiration, the status is properly given as
OK
, but in the performance data the remaining lifespan is rounded down to 0, leading to my graphs, in Check_MK, being somewhat useless, not to mention the rather confusing matter of things being OK despite the reported value being below the alarm levels.Thanks for considering this!
Beta Was this translation helpful? Give feedback.
All reactions