A great feature of the Stingray Traffic Manager is the ability to upload External Program Monitors. An External Program Monitor is a custom health monitor that can be written to monitor any service. An External Program Monitor for LDAP is available here. To use it first install ldapsearch onto the Stingray Traffic Manager:
apt-get install ldap-utils (For Ubuntu based distros)
The key is to install ldap-utils. Once that is installed, upload and install the monitor:
In the Stingray web interface navigate to Catalogs -> Extra Files -> Monitor Programs. Upload ldap.pl (in the ldap.zip file)
Navigate to Catalogs -> Monitors. Scroll down to Create new monitor. Give it a name and select External program monitor as the type.
Select ldap.pl from the drop down menu that appears.
Scroll down to program arguments and create four arguments: base, filter, pass, user. It should look like the below screenshot:
Fill in the fields appropriately: base is your LDAP search base, user and pass are your LDAP login credentials, and filter should be set to the CN associated with user. For the pass field, Stingray does not automatically insert asterisks, so please be aware of that.
Attach the monitor to the appropriate pool.
That completes the configuration of the LDAP Health Monitor for the Stingray Traffic Manager.
Note: If you are using the virtual appliance, then follow the instructions in this KB article instead.