check_icmp with source address not working after Upgrade to 21.1

Started by christophm, April 09, 2021, 11:06:02 PM

Previous topic - Next topic
Hello,

today I tried to upgrade from 20.7 to 21.1.

I noticed a problem with the existing NRPE check "check_icmp" installed by os-nrpe.
With 21.1 setting a source address fails.

# /usr/local/libexec/nagios/check_icmp -H 10.10.10.1 -s 10.10.100.1
check_icmp: Cannot bind to IP address 10.10.100.1: Socket operation on non-socket
# /usr/local/libexec/nagios/check_icmp -H 10.10.10.1 -s em2
check_icmp: Cannot determine IP address of interface em2: Inappropriate ioctl for device

Any idea how that could be fixed?

Thank you,
Christoph