<div dir="ltr">Thanks for the suggestion on the protocols.  Tested by changing the port and got it working.  So now I'm trying to figure out my configure and Makefile and the configure file finds the OpenLDAP library:<div>
<br></div><div><div>Checking for LDAP ...</div><div>Compiling with LDAP works OK</div><div>LBER library not needed</div><div>Linking with LDAP works OK</div><div><br></div><div>Xymonnet report below. </div><div>xymonnet version 4.3.12</div>
<div>SSL library : OpenSSL 1.0.0 29 Mar 2010</div><div>LDAP library: OpenLDAP 20423</div><div><br></div></div><div>So what am I missing here?  This is also checking my external LDAP that does run on 389.  </div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 11:57 AM, John Thurston <span dir="ltr"><<a href="mailto:john.thurston@alaska.gov" target="_blank">john.thurston@alaska.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">>> On Thu, Dec 5, 2013, at 10:56, Ryan Davis wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am running ApacheDS as my internal LDAP on a non standard port.<br>
I seem to not be able to monitor that port via Xymon. A tcpdump<br>
of the destination server shows Xymon still attempting to monitor<br>
port 389 even though I have told my hosts.cfg file to use the<br>
port it is listening on.<br>
</blockquote></blockquote></blockquote>
<br></div><div class="im">
On 12/6/2013 5:10 AM, Ryan Davis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes here is the complete line from my hosts.cfg<br>
<br>
192.168.1.5   ldapserver                     #<br>
  ldaplogin="uid=someid,ou=<u></u>someou:somepass"<br>
ldap://ldapserver:1389/dc=<u></u>home,dc=lan??sub?(sn=<u></u>actualuser)<br>
</blockquote>
<br></div>
I suspect that you are not actually performing the extended ldap test, but are performing the basic test on the port defined in protocols.cfg. One way to confirm this would be to change the definition in procols.cfg and see if the test against 'ldapserver' is then performed on the new port.<br>

<br>
The man page for hosts.cfg contains the following line:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

This type of LDAP test requires that xymonnet(1) was built with support for LDAP, e.g. via the OpenLDAP library.<br>
</blockquote></blockquote></blockquote>
<br>
If your xymon was not built with OpenLDAP libraries, you will have only the basic ldap test available.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
   Do things because you should, not just because you can.<br>
<br>
John Thurston    <a href="tel:907-465-8591" value="+19074658591" target="_blank">907-465-8591</a><br>
<a href="mailto:John.Thurston@alaska.gov" target="_blank">John.Thurston@alaska.gov</a><br>
Enterprise Technology Services<br>
Department of Administration<br>
State of Alaska</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/<u></u>mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br></div>