<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>send_nsca.pl</TITLE>
</HEAD>
<BODY>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Hi,</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Today I test</FONT><FONT SIZE=2 FACE="Arial">ed</FONT><FONT SIZE=2 FACE="Arial"> the</FONT> <FONT SIZE=2 FACE="Arial">send_nsca.pl</FONT><FONT SIZE=2 FACE="Arial"> and g</FONT><FONT SIZE=2 FACE="Arial">o</FONT><FONT SIZE=2 FACE="Arial">t the following error message.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Could not establish a connection</FONT> <FONT SIZE=2 FACE="Arial">......</FONT><FONT SIZE=2 FACE="Arial">! Are you an allowed_host</FONT><FONT SIZE=2 FACE="Arial">????</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">With the normal send_nsca it was</FONT> <FONT SIZE=2 FACE="Arial">successful</FONT><FONT SIZE=2 FACE="Arial"></FONT> <FONT SIZE=2 FACE="Arial">from the same machine</FONT><FONT SIZE=2 FACE="Arial"> and</FONT> <FONT SIZE=2 FACE="Arial">that's</FONT><FONT SIZE=2 FACE="Arial"> why</FONT> <FONT SIZE=2 FACE="Arial">I think the system has the permission.</FONT> <FONT SIZE=2 FACE="Arial">I</FONT> <FONT SIZE=2 FACE="Arial">tr</FONT><FONT SIZE=2 FACE="Arial">ied</FONT><FONT SIZE=2 FACE="Arial"> to find out more and think the problem is the following line:</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">read(SOCK,$timestamp, 4) || die $failure;</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Is it</FONT> <FONT SIZE=2 FACE="Arial">correct</FONT><FONT SIZE=2 FACE="Arial"> that</FONT> <FONT SIZE=2 FACE="Arial">send_nsca.pl</FONT><FONT SIZE=2 FACE="Arial"> gets the</FONT> <FONT SIZE=2 FACE="Arial">xor_key (password) from the server side?</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Environment:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">-      </FONT> <FONT SIZE=2 FACE="Arial">RedHat</FONT><FONT SIZE=2 FACE="Arial"> 8</FONT>
<BR><FONT SIZE=2 FACE="Arial">-      </FONT> <FONT SIZE=2 FACE="Arial">Nagios 1.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">-      </FONT> <FONT SIZE=2 FACE="Arial">NSCA 2.4</FONT>
</P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Please help!</FONT></P>

<P ALIGN=LEFT><A NAME="_MailAutoSig"><FONT COLOR="#000000" FACE="Arial">Best regards</FONT></A></P>

<P ALIGN=LEFT>Thomas Wiesner<BR>
 </P>

<P ALIGN=LEFT></P>

</BODY>
</HTML>