Package: nagios-nrpe-plugin
Version: 2.15-1
Severity: normal

Running from the shell:

root@monitoring2:/etc/icinga# /usr/lib/nagios/plugins/check_nrpe -H 
192.168.5.88 -p 5505 -n -c check_ntp
connect to address 192.168.5.88 port 5505: No route to host
connect to host 192.168.5.88 port 5505: No route to 
hostroot@monitoring2:/etc/icinga# echo $?
255

Firstly the stderr reports the problem twice, in different ways, and
doesn't terminate the second time with a new line.

Secondly, I needed to run this by hand as all I got reported was

Current Status: CRITICAL
Status Information: Return code 255 is out of bounds

It would have been helpful if the result had been:

Current Status: UNKNOWN
Status Information: No route to host


Note that this is a firewall issue, pinging the host *does* work,
which is why the service check is being done. Also IMHO the firewall
should reject the connection instead of reporting no route to host,
but that's not so relevant to the issue with check_nrps.


Thanks,
Paul


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.1-wurtel-ws (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Reply via email to