<p>+1</p>

<p>Detection then use hardcoded path for system binaries at compilation time is a real problem.<br>
That forces monitoring-plugins to be recompiled/reinstalled each time a binary path change as procps have done with uptime. So it have been detected on gentoo system but since it's compiled based distribution, monitoring-plugins re-installation will take care of it even if it's an annoying dependence.<br>
But that means re-packaging and update for packages based distributions, that is really problematic.</p>

<p>And finally the most important: each time a system binary have a new PATH, we got no result or unknown result from monitoring probes creating unneeded alerts on monitoring systems.<br>
Even worst, that could lead to an acceptable result (result is ok but with problems displayed on stderr) along bad performances data so you lose data without be aware of it.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/issues/1394#issuecomment-158356629">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2YJlgXJ0So2PiReGF2fP01SSGSD-ks5pHvIxgaJpZM4GmI8l.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/issues/1394#issuecomment-158356629"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>