<p>When using certain OIDs with check_snmp the performance data after the '|' (pipe) is not being written because of the "Timeticks(n)" label. Currently, it will see that the output it is not an integer and it will not be displayed.</p>

<p>$ /usr/lib/nagios/plugins/check_snmp -H localhost -C public -o .1.3.6.1.2.1.25.1.1.0<br>
SNMP OK - Timeticks: (112941395) 13 days, 1:43:33.95 |</p>

<p>See also <a href="https://github.com/nagios-plugins/nagios-plugins/issues/108" class="issue-link" title="[check_snmp] Timeticks are not being parsed correctly before performance data">nagios-plugins/nagios-plugins#108</a></p>

<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/1369'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1369</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Timeticks are not being parsed correctly before performance data</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1369/files#diff-0">plugins/check_snmp.c</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1369.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1369.patch</a></li>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1369.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1369.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/1369">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2blpxOy5Jd6SpKUi_HHBTBsDJD7zks5o4k43gaJpZM4GI5N_.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/1369"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>