[Nagiosplug-devel] [nagios-plugins] fixed small bug in previous applied certificate expiration patch (#13)

William Leibzon reply+i-5868003-8bc66ce72e88ea16e48c0b6efcef4e9decaa75c0-1651316 at reply.github.com
Fri Jul 27 03:05:30 CEST 2012


my previous certificate expiration check patch had a bug and would not have properly checked if warning threshold had numeric values, the actual threshold checking code had no problems

You can merge this Pull Request by running:

  git pull https://github.com/willixix/nagios-plugins master

Or you can view, comment on it, or merge it online at:

  https://github.com/nagios-plugins/nagios-plugins/pull/13

-- Commit Summary --

* applied patch that adds both critical and warning thresholds to certificate expiration checks of check_tcp, check_http, check_smtp
* manually merged latest update that added SSL version parameter into my code that adds warn and crit thresholds for SSL
* added test case for certificate checs with both warning and critical values
* fixing bug in certificate experiation patch checking for bad warning threshold data
* merging my bug fixes with master branch
* fixing usage function corrupted when merged
* another merge error I not noticed

-- File Changes --

M plugins/check_http.c (2)
M plugins/check_smtp.c (2)
M plugins/check_tcp.c (2)

-- Patch Links --

  https://github.com/nagios-plugins/nagios-plugins/pull/13.patch
  https://github.com/nagios-plugins/nagios-plugins/pull/13.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/nagios-plugins/nagios-plugins/pull/13




More information about the Devel mailing list