<p>Added socket_timeout to time* perfdata values, see issue <a href="https://github.com/monitoring-plugins/monitoring-plugins/issues/1350" class="issue-link" title="check_http: timeout as perf data max value">#1350</a></p>
<p><strong>Then</strong></p>
<pre><code># extended perfdata
./check_http -H 127.0.0.1 -t 30 -E
HTTP OK: HTTP/1.1 200 OK - 380 bytes in 1,334 second response time |time=1,334256s;;;0,000000 size=380B;;;0 time_connect=0,000235s;;; time_headers=0,000029s;;; time_firstbyte=1,333924s;;; time_transfer=1,333947s;;;
./check_http -H 127.0.0.1 -t 30
HTTP OK: HTTP/1.1 200 OK - 380 bytes in 0,001 second response time |time=0,000551s;;;0,000000 size=380B;;;0
</code></pre>
<p><strong>Now</strong></p>
<pre><code># extended perfdata
./check_http -H 127.0.0.1 -t 30 -E
HTTP OK: HTTP/1.1 200 OK - 380 bytes in 0,006 second response time |time=0,005946s;;;0,000000;30,000000 size=380B;;;0 time_connect=0,000059s;;;;30,000000 time_headers=0,000035s;;;;30,000000 time_firstbyte=0,005737s;;;;30,000000 time_transfer=0,005806s;;;;30,000000
./check_http -H 127.0.0.1 -t 30
HTTP OK: HTTP/1.1 200 OK - 380 bytes in 0,000 second response time |time=0,000499s;;;0,000000;30,000000 size=380B;;;0
</code></pre>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1374'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1374</a></p>
<h4>Commit Summary</h4>
<ul>
<li>* check_http: added timeout to perfdata as max val</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1374/files#diff-0">plugins/check_http.c</a>
(12)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1374.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1374.patch</a></li>
<li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1374.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1374.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1374">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2Q83YdjYpKKJ_2HObr18n_82oP6rks5o5L_pgaJpZM4GKVH2.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1374"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>