[Xymon] LDAP test will not use nonstandard port

John Thurston john.thurston at alaska.gov
Thu Sep 17 22:33:36 CEST 2015


On 9/17/2015 12:11 PM, Scot Kreienkamp wrote:
- snip -
> The test results say:
> ldap://lzbvidmdvoud1.na.lzb.hq:1389/DC=example,DC=com - failed
>
> So it seems to be picking up the entire LDAP URL without it in quotes.  I have two to test; the first is now surrounded by double quotes, the second is not.  Neither are working.  A simple port check works just fine.  I tried the anonymous bind also, which results in failure also.  Anonymous bind from command line works fine.

a'write then. What if you ask for this test to be performed 
interactively in debug mode? Try the following, substituting the 
hostname from hosts.cfg for foo.bar.com.

   xymoncmd xymonnet --noping --debug foo.bar.com

It should spill everything xymonnet is trying to do and give you an idea 
where the problem is. When I try it, I see (among the debris) the 
following interesting lines:
> Adding tcp test IP=10.2.3.4, port=389, service=ldap, silent=0
> . . .
> Initiating LDAP session for host foo.bar.com port 389

-- 
    Do things because you should, not just because you can.

John Thurston    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska



More information about the Xymon mailing list