- nrpe.cfg
- remote host nrpe.cfg file
- (12.18 KiB) Downloaded 373 times
Yes, I am running the nrpe under xinetd not standalone.
I ran below commands on remote host and please have a look at the output.
root@ubuntu:~$ ps -ef | grep xinetd
localad+ 16398 16242 0 05:37 pts/2 00:00:00 grep --color=auto xinetd
root 100279 1 0 May19 ? 00:00:00 /usr/sbin/xinetd -pidfile /run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
root@ubuntu:~$ ps -ef | grep nrpe
localad+ 16425 16242 0 05:37 pts/2 00:00:00 grep --color=auto nrpe
nagios 104360 1 0 May22 ? 00:00:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -f
Both the processes are running on remote host. I have uploaded nrpe.cfg file also. Please review the config once.
I checked /etc/xinetd.d/nrpe file also. I can see service disable option is "yes" Is it correct.?
service nrpe
{
disable = yes
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
only_from = 127.0.0.1,<ngios server ip>
log_on_success =
}