nrpe under xinetd
Posted: Thu Feb 25, 2021 2:35 pm
Newbie-ish question here.
I have 2 nagios servers and want to be able to monitor the same box (testing)
Is this possible using nrpe under xinetd? i want to add y.y.y.y to the config. can I use allow_from?
Details : ‘nrpe’ under /etc/xinetd.d/nrpe.cfg
# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
type = UNLISTED
port = 5666
socket_type = stream
wait = no
user = nagios
group = nagios
server = /usr/sbin/nrpe
server_args = -c /etc/nagios/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = x.x.x.x
}
I have 2 nagios servers and want to be able to monitor the same box (testing)
Is this possible using nrpe under xinetd? i want to add y.y.y.y to the config. can I use allow_from?
Details : ‘nrpe’ under /etc/xinetd.d/nrpe.cfg
# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
type = UNLISTED
port = 5666
socket_type = stream
wait = no
user = nagios
group = nagios
server = /usr/sbin/nrpe
server_args = -c /etc/nagios/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = x.x.x.x
}