Hi Bas!

On Thu 19.11.2026 16:12:04, Sebastiaan Couwenberg wrote:
> On 11/19/26 3:05 PM, Andre Klärner wrote:
> > I automatically installed monitoring-plugins-basic v3.0.3+ds-2 earlier
> > in the morning, and noticed that check_icmp now cannot be convinced to
> > execute any check, always with the following pattern:
> > 
> > kandre@mainframe(pts/2) ~ % /usr/lib/nagios/plugins/check_icmp -4 
> > 172.16.0.253 -v
> > add_target called with argument 172.16.0.253
> > add_target_ip called with: 172.16.0.253
> > check_icmp: No hosts to check
> 
> I can reproduce this, but -H <IP> should be used.
> 
> > kandre@mainframe(pts/2) ~ %
> > 
> > This does not change when hostnames are given as arguments, or when
> > explicitly using -H instead of relying on the positional arg. It happens
> > with hosts that resolve to IPv6, IPv4 or both. Also no kind of literal
> > IP helps.
> 
> -H <IP> works as expected for me:

Thanks, it indeed does. I scrolled up and found out that I never tried -H
before pivoting to check_ping to get misbehaving monitoring back into
shape. Sorry for stating a false information.

So indeed only giving the target as positional arguments is broken.

Best regards,
Andre

Attachment: signature.asc
Description: PGP signature

Reply via email to