Not SELinux:
Code: Select all
(TEST-BOYERS-3|jenglish@coralsea ~)$ getenforce
Permissive
(TEST-BOYERS-3|jenglish@coralsea ~)$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_multipath
NRPE: Unable to read outputCode: Select all
(TEST-BOYERS-3|jenglish@coralsea ~)$ sudo grep nrpe /etc/sudoers
nrpe ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli, /bin/ping, /usr/sbin/dmidecode, /usr/bin/openssl, /bin/egrep, /sbin/ethtool -S *, /sbin/service * restart, /usr/lib/nagios/plugins/check_fts_t1.sh, /usr/lib/nagios/plugins/check_zero_length_files.sh, /usr/lib/nagios/plugins/check_file_age, /usr/bin/radwho, /usr/bin/radlast, /usr/sbin/postqueue, /bin/cat, /bin/ls, /usr/bin/find, /usr/lib/nagios/plugins/check_dir, /sbin/multipath -ll, /sbin/service iptables status, /usr/sbin/hpacucli, /bin/ping, /usr/sbin/dmidecode, /usr/bin/openssl, /bin/egrep, /usr/sbin/ethtool -S, /usr/openv/volmgr/bin/vmquery, /usr/openv/volmgr/bin/tpconfig, /var/ossec/bin/list_agents, /usr/openv/netbackup/bin/admincmd/bpplclients, /usr/openv/volmgr/bin/vmoprcmd, /usr/lib/nagios/plugins/check_multipath.sh *, /usr/lib64/nagios/plugins/, /usr/lib/nagios/plugins/
I ran strace with it this time. I'm not a developer, but not sure if this is expected:
Code: Select all
shutdown(3, SHUT_WR) = -1 ENOTCONN (Transport endpoint is not connected)
select(4, [3], NULL, NULL, {1, 0}) = 1 (in [3], left {0, 999998})
recvfrom(3, "\25\3\3\0\32\270\332\377F\240\233$\0254\364<\27\301\342lG#\356\221\270_6\236dtG", 1000, 0, NULL, NULL) = 31
select(4, [3], NULL, NULL, {1, 0}) = 1 (in [3], left {0, 999999})
recvfrom(3, "", 1000, 0, NULL, NULL) = 0
close(3) = 0
fstat(1, {st_mode=S_IFREG|0640, st_size=41883, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f83ae7d1000
write(1, "NRPE: Unable to read output\n", 28NRPE: Unable to read outputCode: Select all
Oct 29 14:42:57 coralsea.eqip.opm nrpe[37665]: socket: Address family not supported by protocol