FS#48338 - [monitoring-plugins] breaks with missing ping6

Attached to Project: Community Packages
Opened by Christian Hesse (eworm) - Thursday, 25 February 2016, 13:35 GMT
Last edited by Jonathan Steel (jsteel) - Thursday, 25 February 2016, 20:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
New package iputils dropped ping6 command. That breaks check_ping, which does not find its executable.
Additionally we need to fix check_ping for IPv4 as ping does prefer IPv6 now.

# /usr/lib/monitoring-plugins/check_ping -6 -H localhost -w 500.0,20% -c 1000.0,60% -p 5
/usr/bin/ping6 -n -U -w 10 -c 5 localhost
CRITICAL - Could not interpret output from ping command

Additional info:
iputils 20150815.1c59920-3
monitoring-plugins 2.1.2-1
This task depends upon

Closed by  Jonathan Steel (jsteel)
Thursday, 25 February 2016, 20:06 GMT
Reason for closing:  Implemented
Additional comments about closing:  2.1.2-2
Comment by Christian Hesse (eworm) - Thursday, 25 February 2016, 13:49 GMT
Looks like we have to add

--with-ping-command='/usr/bin/ping -4 -n -U -w %d -c %d %s' --with-ping6-command='/usr/bin/ping -6 -n -U -w %d -c %d %s'

to configure.
Comment by Christian Hesse (eworm) - Thursday, 25 February 2016, 14:01 GMT

Loading...