The check_ping binary looks for ping at /bin/ping. But (perhaps due to a recent change in other gentoo packages) ping now resides at /usr/bin/ping. root@sphinkpad:/usr/lib64/nagios/plugins # ./check_ping -H 192.168.43.2 -4 -w 170,170% -c 250,250% /bin/ping -4 -n -U -w 10 -c 5 192.168.43.2 CRITICAL - Could not interpret output from ping command root@sphinkpad:/usr/lib64/nagios/plugins # which ping /usr/bin/ping Reproducible: Always
Yeah, net-misc/iputils moved it out from under us. A new version of monitoring-plugins went stable today and if you emerge that, it will pick up the correct path. Or if you had the ~arch monitoring-plugins keyworded already, just re-emerge it. The stabilization of iputils today is what caused the issue, and there's really no good way for us to trigger a rebuild of monitoring-plugins (and nagios-plugins, which has the same problem). We tried to stabilize them at the same time, but it's not foolproof.
When iputils is stable everywhere, we can add >= deps in them, I guess.
(In reply to Sam James from comment #2) > When iputils is stable everywhere, we can add >= deps in them, I guess. The ping command path is detected during package configuration: https://github.com/gentoo/gentoo/blob/master/net-analyzer/monitoring-plugins/monitoring-plugins-2.3.2-r1.ebuild#L77 How about we add a slot to net-misc/iputils and add DEPEND="net-misc/iputils:=" to monitoring-plugins? We would need to bump the slot in iputils when paths change.
I don't anticipate the paths changing again so a oke off revbump to >= should work
Ugh, I forgot that we don't actually depend on iputils in the ebuild right now, as we might be using another ping...
Appears to be fixed in 2.3.5
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80b374043945c811c758e13516f1c9f98f1fe3f commit f80b374043945c811c758e13516f1c9f98f1fe3f Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2024-06-26 06:25:37 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2024-06-26 11:21:02 +0000 net-analyzer/monitoring-plugins: drop 2.3.3-r2 We have 2.3.5 that fixed those errors and is stable. Closes: https://bugs.gentoo.org/871519 Closes: https://bugs.gentoo.org/892471 Closes: https://github.com/gentoo/gentoo/pull/37306 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org> net-analyzer/monitoring-plugins/Manifest | 1 - .../monitoring-plugins-2.3.3-r2.ebuild | 110 --------------------- 2 files changed, 111 deletions(-)