check_http SSL cert. date format

William Leibzon william at leibzon.org
Sat Aug 17 23:08:50 CEST 2013


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.


On Sat, Aug 17, 2013 at 11:37 AM, Niall O Broin <niall at makalumedia.com>wrote:

> 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.
>
> 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.
>
> 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.
>
> 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.
>
> us              (MM-DD-YYYY HH:MM)
> euro            (DD-MM-YYYY HH:MM)
> iso8601         (YYYY-MM-DD HH:MM)
> strict-iso8601  (YYYY-MM-DDTHH:MM)
>
> Note that I've dropped the seconds value as it's apparently not available.
>
> 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 .
>
> Is there any interest in taking these changes back into the plugins
> source? If so, who would I send them to?
>
> 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.
>
>
>
>
> Kindest regards,
>
>
>
> Niall  O Broin
>
>
>
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130817/7ffff55f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list