Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    nrpe 4.1: check_icmp broken

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 437 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dneuhaeuser
      last edited by dneuhaeuser

      with pfsense 2.7.0 and nrpe 4.1 the check_icmp plugin is no longer working.
      it always reports 100% packet loss.

      # ./check_icmp -H 127.0.0.1 -v
      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
      Failed to send ping to 127.0.0.1 = Invalid argument
      Failed to send ping to 127.0.0.1 = Invalid argument
      Failed to send ping to 127.0.0.1 = Invalid argument
      Failed to send ping to 127.0.0.1 = Invalid argument
      Failed to send ping to 127.0.0.1 = Invalid argument
      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
      

      According to the nagios-plugins project changelog this bug was already fixed with their release 2.4.1:

      But pfsense repo installs an ancient version of the plugins:

      # ./check_icmp -V
      check_icmp v (nagios-plugins 2.3.3)
      

      Can we update this to a recent version please?

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.