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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Antonio Rojas (arojas)
Tuesday, 10 December 2019, 18:29 GMT
Reason for closing:  Upstream
Comment by Doug Newgard (Scimmia) - Sunday, 08 December 2019, 01:05 GMT
This was a change made upstream years ago, ping6 became ping -6. munin upstream should look into that.
Comment by solsTiCe (zebul666) - Monday, 09 December 2019, 10:12 GMT

Loading...