FS#64765 - [munin-node] ping_ plugin uses ping6 which does not exist
Attached to Project:
Arch Linux
Opened by solsTiCe (zebul666) - Saturday, 07 December 2019, 19:05 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 10 December 2019, 18:29 GMT
Opened by solsTiCe (zebul666) - Saturday, 07 December 2019, 19:05 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 10 December 2019, 18:29 GMT
|
Details
ping6 is not available on archlinux (has it ever been ?)
so the /usr/lib/munin/plugins/ping_ plugin of munin-node fails when using ipv6 like in /etc/munin/plugins/ping6_2606:4700:4700::1111 # munin-run "ping6_2606:4700:4700::1111" /etc/munin/plugins/ping6_2606:4700:4700::1111: line 94: ping6: command not found the fix is simple and it needs a one character patch: ``` --- /usr/lib/munin/plugins/ping_ 2019-12-07 20:04:17.263575467 +0100 +++ /usr/lib/munin/plugins/ping_ 2019-12-07 19:56:01.635908455 +0100 @@ -59,7 +59,7 @@ case $0 in *ping6_*) - PING=ping6 + PING=ping file_host=${0##*/ping6_} V=IPv6 ;; ``` |
This task depends upon
Comment by Doug Newgard (Scimmia) -
Sunday, 08 December 2019, 01:05 GMT
Comment by solsTiCe (zebul666) -
Monday, 09 December 2019, 10:12 GMT
This was a change made upstream years ago, ping6 became ping -6.
munin upstream should look into that.
I have opened that issue
https://github.com/munin-monitoring/munin/issues/1256
upstream