<div dir="ltr"><div><br></div>If you clone nagios-plugins then simply do pull request from a clean copy. Otherwise send a patch to this mail list and I'll commit it being as I'm the last one to work on certificate certificate check for check_http.
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 17, 2013 at 11:37 AM, Niall O Broin <span dir="ltr"><<a href="mailto:niall@makalumedia.com" target="_blank">niall@makalumedia.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Making the date format for check_http --ssl configurable has been requested for quite a while now, but it hasn't seemed to bother any committers enough to ever fix it.<br>


<br>
I fixed it a while ago on my local copy of check_http (didn't make it configurable - just hard coded what I wanted in place of the hard coded us format) but today I decided I'd make it configurable.<br>
<br>
It'd be nice if it'd just read a  date_format=  line from nagios.cfg but it seems that nagios plugins exist in quite a separate universe from nagios and that isn't easy - I'd be delighted if somebody would tell me I'm wrong.<br>


<br>
So, I've made each of check_http, check_smtp and check_tcp now take a --date-format flag, with allowed values the same as those in the nagios config file i.e.<br>
<br>
us              (MM-DD-YYYY HH:MM)<br>
euro            (DD-MM-YYYY HH:MM)<br>
iso8601         (YYYY-MM-DD HH:MM)<br>
strict-iso8601  (YYYY-MM-DDTHH:MM)<br>
<br>
Note that I've dropped the seconds value as it's apparently not available.<br>
<br>
They also take a short option of -o which was decided on from the few available in each of check_http, check_smtp and check_tcp .<br>
<br>
Is there any interest in taking these changes back into the plugins source? If so, who would I send them to?<br>
<br>
I made the changes in a copy of nagios-plugins-1.4.16-89-gbfe6 and I just cloned the git repository and see there are quite some changes in that compared to nagios-plugins-1.4.16-89-gbfe6, but I doubt it'd be too much effort for me to redo my changes in the current git tree.<br>


<br>
<br>
<br>
<br>
Kindest regards,<br>
<br>
<br>
<br>
Niall  O Broin<br>
<br>
<br>
<br>
<br>------------------------------------------------------------------------------<br>
Get 100% visibility into Java/.NET code with AppDynamics Lite!<br>
It's a free troubleshooting tool designed for production.<br>
Get down to code-level detail for bottlenecks, with <2% overhead.<br>
Download for free and get started troubleshooting in minutes.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>


Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div>