[Pkg-nagios-devel] Bug#1154479: Bug#1154479: monitoring-plugins-basic: check_icmp always reports "No hosts to check"
Andre Klärner
kandre at ak-online.be
Thu Nov 19 16:25:01 GMT 2026
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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-devel/attachments/20261119/be1ee837/attachment.sig>
More information about the Pkg-nagios-devel
mailing list