Hi,
I a host that has a fresh install of NRPE, I am receiving the following issue with check_ping on our Nagios gui (status shows as 'unknown'): /usr/sbin/ping6 -n -U -w 10 -c 5 localhost
I've installed the following rpms:
fping-3.8-1.el6.rf.x86_64.rpm
nagios-nrpe-2.14-1.el6.rf.x86_64.rpm
nagios-plugins-1.4.16-1.el6.rf.x86_64
nagios-plugins-nrpe-2.14-1.el6.rf.x86
perl-Crypt-DES-2.05-3.2.el6.rf.x86_64
perl-Digest-HMAC-1.01-22.el6.noarch.r
perl-Digest-SHA1-2.12-2.el6.x86_64.rp
perl-Net-SNMP-5.2.0-1.2.el6.rf.noarch
perl-Socket6-0.23-1.el6.rfx.x86_64.rp
and yum installed:
lm_sensors-3.1.1-17.el6.x86_64
net-snmp-5.5-44.el6.x86_64
net-snmp-perl.x86_64 1:5.5-44.el6
net-snmp-utils.x86_64 1:5.5-44.el6
Every other check is working fine. Any ideas? Did I miss an rpm/package?
Thank you.
'Check_ping' returns /usr/sbin/ping6 -n -U -w 10 -c 5 localh
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: 'Check_ping' returns /usr/sbin/ping6 -n -U -w 10 -c 5 lo
Can you show your command definition on the remote nrpe system? Also are you able to run the command from the cli as definied in the command on the remote system?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: 'Check_ping' returns /usr/sbin/ping6 -n -U -w 10 -c 5 lo
Hi,
Please see below:
Thank you.
Please see below:
Code: Select all
command[check_ping]=/usr/lib64/nagios/plugins/check_ping -H localhost -w 100.0,5% -c 500.0,10%Code: Select all
[root@eqpct-jisu7 plugins]# ./check_ping -H localhost -w 100.0,5% -c 500.0,10%
/usr/sbin/ping6 -n -U -w 10 -c 5 localhost
CRITICAL - Could not interpret output from ping command
[root@eqpct-jisu7 plugins]#Re: 'Check_ping' returns /usr/sbin/ping6 -n -U -w 10 -c 5 lo
Run the following commands and show us the output:
Code: Select all
ls -la /usr/sbin/ping6
which ping
./check_ping -VBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: 'Check_ping' returns /usr/sbin/ping6 -n -U -w 10 -c 5 lo
Code: Select all
# ls -la /usr/sbin/ping6
lrwxrwxrwx 1 root root 10 Dec 2 12:57 /usr/sbin/ping6 -> /bin/ping6
# which ping
/bin/ping
# ./check_ping -V
check_ping v1.4.16 (nagios-plugins 1.4.16)Re: 'Check_ping' returns /usr/sbin/ping6 -n -U -w 10 -c 5 lo
Run the following command and show the output:
Is SELinux enabled on this box?
Code: Select all
ls -la /bin/pingCode: Select all
sestatusBe sure to check out our Knowledgebase for helpful articles and solutions!