#929310 monitoring-plugins-basic: check_ntp_peer does not allow unix socket for "-H"

Package:
monitoring-plugins-basic
Source:
monitoring-plugins
Description:
Plugins for nagios compatible monitoring systems (basic)
Submitter:
Ronny Lindner
Date:
2025-12-01 17:39:03 UTC
Severity:
normal
Tags:
#929310#5
Date:
2019-05-21 12:44:00 UTC
From:
To:
Dear Maintainer,

the help text for the "-H" option states:
 -H, --hostname=ADDRESS
     Host name, IP Address, or unix socket (must be an absolute path)

but it uses "is_host()" to test for a valid ip address or dns-hostname.
This behavior has not changed between 2.2-3 (stretch) and 2.2-6 (sid).

It should either not say "unix socket" in the help text or allow the
usage of unix sockets.