[nagios-plugins] Misleading wording around timeouts (#1206)

awiddersheim <notifications-9UaJU3cA/F/[email protected]> Fri, 18 Oct 2013 07:21:57 -0700
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <nagios-plugins/nagios-plugins/issues/[email protected]>
--===============8753506638966827105==
Content-Type: multipart/alternative;
	boundary="--==_mimepart_52614405b77f_28c647d3c27819";
	charset=UTF-8
Content-Transfer-Encoding: 7bit


----==_mimepart_52614405b77f_28c647d3c27819
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

Noticed in the help output of check_procs, check_disk and potentially more has some misleading wording when describing the timeout parameter.

 -t, --timeout=INTEGER
    Seconds before connection times out (default: 10)

Replacing the word "connection" with "plugin" makes more sense to me. You might also argue that this change is suitable for all plugins if they all use alarms to enforce timeouts.

---
Reply to this email directly or view it on GitHub:
https://github.com/nagios-plugins/nagios-plugins/issues/1206
----==_mimepart_52614405b77f_28c647d3c27819
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p>Noticed in the help output of check_procs, check_disk and potentially more has some misleading wording when describing the timeout parameter.</p>

<p>-t, --timeout=INTEGER<br>
    Seconds before connection times out (default: 10)</p>

<p>Replacing the word "connection" with "plugin" makes more sense to me. You might also argue that this change is suitable for all plugins if they all use alarms to enforce timeouts.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/nagios-plugins/nagios-plugins/issues/1206'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/_EHT0K2RMtzboqJPrl-P-PxhxER_A9Dts0y9Hn-wCN7RV2Fw728aP3kN2XhI_8ON.gif' height='1' width='1'></p>
----==_mimepart_52614405b77f_28c647d3c27819--


--===============8753506638966827105==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
--===============8753506638966827105==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
--===============8753506638966827105==--