We are in the process of re IPing our network and when when we changed the Nagios IP all hell broke loose and I have lovely red dots all over my screen.
When I setup NRPE on client machines I allowed FQDN as well as IP's. What I am noticing is that agent is only calling with a weird IP. FF:ip as seen in the following error:
Mar 28 10:21:14 XXXXXX xinetd[11093]: FAIL: nrpe address from=::ffff:192.168.XXX.XXX
Mar 28 10:21:14 XXXXXX xinetd[14425]: EXIT: nrpe status=0 pid=11093 duration=0(sec)
So my question is how do I get it to use the FQDN in the call which I've all ready allowed.
/etc/xined.d/nrpe
Code: Select all
# default: on
# description: NRPE (Nagios Remote Plugin Executor)
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.XXXXXXXX.com ::ffff:10.XXX.XXX.XXX
}