[Bug 264342] net-mgmt/nagios-plugins: check_icmp broken on FreeBSD 13.1-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 May 2022 02:29:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264342

            Bug ID: 264342
           Summary: net-mgmt/nagios-plugins: check_icmp broken on FreeBSD
                    13.1-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat@FreeBSD.org
          Reporter: wcarson.bugzilla@disillusion.net
             Flags: maintainer-feedback?(mat@FreeBSD.org)
          Assignee: mat@FreeBSD.org

Overview: 

    All calls to check_icmp return 100% packetloss and an error saying 'invalid
argument'.

Steps to Reproduce:

    1) Install net-mgmt/nagios-plugins on FreeBSD 13.1-RELEASE

    2) Run command: 

       /usr/local/libexec/nagios/check_icmp -vvv -H 127.0.0.1

Actual Results: 

# /usr/local/libexec/nagios/check_icmp -vvvvvvH 127.0.0.1
address_family: 2 (IPv4 = 2; IPv6 = 10)
setsockopt failed
Setting alarm timeout to 10 seconds
packets: 5, targets: 1
target_interval: 0.000, pkt_interval 80.000
crit.rta: 500.000
max_completion_time: 3400.000
crit = {500000, 80%}, warn = {200000, 40%}
pkt_interval: 80000  target_interval: 0  retry_interval: 0
icmp_pkt_size: 76  timeout: 10
Sending ICMPv4 echo-request of len 24, id 4763, seq 0, cksum 0xF6CB to host
127.0.0.1
Failed to send ping to 127.0.0.1 = Invalid argument
Sending ICMPv4 echo-request of len 24, id 4763, seq 1, cksum 0xF5A6 to host
127.0.0.1
Failed to send ping to 127.0.0.1 = Invalid argument
Sending ICMPv4 echo-request of len 24, id 4763, seq 2, cksum 0xF4A1 to host
127.0.0.1
Failed to send ping to 127.0.0.1 = Invalid argument
Sending ICMPv4 echo-request of len 24, id 4763, seq 3, cksum 0xF39D to host
127.0.0.1
Failed to send ping to 127.0.0.1 = Invalid argument
Sending ICMPv4 echo-request of len 24, id 4763, seq 4, cksum 0xF29A to host
127.0.0.1
Failed to send ping to 127.0.0.1 = Invalid argument
finish(0) called
icmp_sent: 0  icmp_recv: 0  icmp_lost: 0
targets: 1  targets_alive: 1
CRITICAL -
127.0.0.1: rta nan, lost 100%|
rta=0.000ms;200.000;500.000;0; pl=100%;40;80;0;100 rtmax=0.000ms;;;;
rtmin=0.000ms;;;;
targets: 1, targets_alive: 0, hosts_ok: 0, hosts_warn: 0, min_hosts_alive: -1

Expected Results: 

    Should have received 0% packetloss.

Build Date & Hardware: 

    Built on FreeBSD 13.1-RELEASE on 2022-May-29. 

Additional Builds and Platforms: 

    Did not occur on FreeBSD 13.0-RELEASE-p11.

-- 
You are receiving this mail because:
You are the assignee for the bug.