I'm taking a look at the --format option and it seems to be impossible to remove the "days_chain_elem" stuff, I would like to suggest adding this as an option
# check_ssl_cert -H 1.1.1.1 --format "%STATUS%"
OK|days_chain_elem1=205;20;15;; days_chain_elem2=2834;20;15;;
I'm taking a look at the
--formatoption and it seems to be impossible to remove the "days_chain_elem" stuff, I would like to suggest adding this as an option