I like the idea. After a quick look, i think the code will print wrong information if the time till expire is below one hour. It would then print "minutes" as unit but stil print the hours_left. Also i am not a fan of cascaded if statements. I would at least break it on several lines.
-- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1336#issuecomment-95144537