Nagiosxi agent installation issue
Posted: Mon Dec 14, 2015 3:41 am
Hi,
After installation of nagios xi agent @ client - port 5666 is not listening (nrpe binary not available).
I followed the steps : https://assets.nagios.com/downloads/nag ... _Agent.pdf
Attached install.log as well. Please assist.
OS version : Oracle Linux Server release 6.7
After installation of nagios xi agent @ client - port 5666 is not listening (nrpe binary not available).
I followed the steps : https://assets.nagios.com/downloads/nag ... _Agent.pdf
Attached install.log as well. Please assist.
OS version : Oracle Linux Server release 6.7
Code: Select all
root@host1:~# netstat -nap |grep -i 5666
root@host1:~#
root@host1:~# /etc/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
root@host1:~#
root@host1:~# tail /var/log/messages
Dec 13 20:54:48 host1 xinetd[2922]: Server /usr/local/nagios/bin/nrpe is not executable [file=/etc/xinetd.d/nrpe] [line=9]
Dec 13 20:54:48 host1 xinetd[2922]: Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.d/nrpe] [line=9]
Dec 13 20:54:48 host1 xinetd[2922]: Must specify a server in nrpe
Dec 13 20:54:48 host1 xinetd[2922]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Dec 13 20:54:48 host1 xinetd[2922]: Started working: 1 available service
root@host1:~# ls -ld /usr/local/nagios/bin/nrpe
ls: cannot access /usr/local/nagios/bin/nrpe: No such file or directory
root@host1:~#
# locate nrpe
/etc/xinetd.d/nrpe
/usr/local/nagios/etc/nrpe
/usr/local/nagios/etc/nrpe.cfg
/usr/local/nagios/etc/nrpe/.svn
/usr/local/nagios/etc/nrpe/asterisk.cfg
/usr/local/nagios/etc/nrpe/common.cfg
/usr/share/augeas/lenses/dist/nrpe.aug
# cat /etc/xinetd.d/nrpe
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = <Nagios xi server IP>
}