{"action":"opened","issue":{"url":"https://api.github.com/repos/nagios-plugins/nagios-plugins/issues/124","labels_url":"https://api.github.com/repos/nagios-plugins/nagios-plugins/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/nagios-plugins/nagios-plugins/issues/124/comments","events_url":"https://api.github.com/repos/nagios-plugins/nagios-plugins/issues/124/events","html_url":"https://github.com/nagios-plugins/nagios-plugins/issues/124","id":118015280,"number":124,"title":"check_load hardcodes path to 'uptime'","user":{"login":"zen2","id":9433239,"avatar_url":"https://avatars.githubusercontent.com/u/9433239?v=3","gravatar_id":"","url":"https://api.github.com/users/zen2","html_url":"https://github.com/zen2","followers_url":"https://api.github.com/users/zen2/followers","following_url":"https://api.github.com/users/zen2/following{/other_user}","gists_url":"https://api.github.com/users/zen2/gists{/gist_id}","starred_url":"https://api.github.com/users/zen2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zen2/subscriptions","organizations_url":"https://api.github.com/users/zen2/orgs","repos_url":"https://api.github.com/users/zen2/repos","events_url":"https://api.github.com/users/zen2/events{/privacy}","received_events_url":"https://api.github.com/users/zen2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-20T10:55:01Z","updated_at":"2015-11-20T10:55:01Z","closed_at":null,"body":"Detection then use hardcoded path for system binaries at compilation time is a real problem.\r\nThat 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 a compiled based distribution, monitoring-plugins re-installation will take care of it even if it's an annoying dependence.\r\nBut that means re-packaging then update for packages based distributions, that is eve more problematic.\r\n\r\nAnd 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.\r\nEven 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.\r\n\r\nSo system binaries path have to be detected at runtime.\r\n"}}