check_load hardcodes path to 'uptime' (#1394)

zen2 notifications at github.com
Fri Nov 20 11:49:21 CET 2015


+1

Detection then use hardcoded path for system binaries at compilation time is
a real problem.
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.
But that means re-packaging and update for packages based distributions,
that is really problematic.

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.
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.


-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/issues/1394#issuecomment-158356629
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20151120/729086cf/attachment.html>


More information about the Devel mailing list