<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
Hello there !<BR>
<BR>
I'm new to the list and rather new to Nagios also... I have the following question :<BR>
<BR>
I have the NRPE-plugin for Nagios running as part of the Xinetd-service on a remote server, this is its config :<BR>
<BR>
bash-3.2# cat /etc/xinetd.d/nrpe <BR>
# default: on<BR>
# description: NRPE (Nagios Remote Plugin Executor)<BR>
service nrpe<BR>
{<BR>
flags = REUSE<BR>
socket_type = stream <BR>
port = 5666 <BR>
wait = no<BR>
user = nagios<BR>
group = nagios<BR>
server = /usr/local/nagios/bin/nrpe<BR>
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd<BR>
log_on_failure += USERID<BR>
disable = no<BR>
only_from = 127.0.0.1 host.no-ip.biz<BR>
}<BR>
<BR>
host.no-ip.biz = domain name of my Nagios Monitoring server, who has a dynamic IP-address<BR>
<BR>
When I put the dynamic DNS-name there, the plugin will not work. I get the following error on the Nagios Monitoring server :<BR>
<BR>
[<A HREF="mailto:root@nagios">root@nagios</A> nagios]# /usr/local/nagios/libexec/check_nrpe -H <ip_of_remote_server><BR>
CHECK_NRPE: Error - Could not complete SSL handshake.<BR>
<BR>
When I put the current IP-address of the Nagios Monitoring server in /etc/xinetd.d/nrpe on the remote server, I get the following output on the Nagios Monitoring server :<BR>
<BR>
[<A HREF="mailto:root@nagios">root@nagios</A> nagios]# /usr/local/nagios/libexec/check_nrpe -H <ip_of_remote_server><BR>
NRPE v2.12<BR>
<BR>
Question : How can I enable the lookup of a dynamic IP-address via the DynDNS-domainname ?? How can I put my "host.no-ip.biz" into the NRPE-service ??<BR>
<BR>
Tomorrow the IP-address may have changed and I need to manually edit /etc/xinetd.d/nrpe on the remote server again.<BR>
<BR>
Thanks for the help !<BR>
<BR>
Jonas.
</BODY>
</HTML>