Forum Discussion
byang_102573
Apr 01, 2010Historic F5 Account
Does LTM any advanced health monitor for RDP service?
Hi all
I have a customer use the LTM for windows terminal server load balancing . They met a problem that the tcp 3389 health check was ok but the server was not available for RDP service. Do we have any advanced health monitor or any solution for this problem.
Thanks and regards
baoquan
21 Replies
- JRahm
Admin
you could use the wmi monitor, but I think that requires IIS to be running on each of your terminal server instances, which isn't a very efficient use of resources. I've yet to find a *nix script to validate the service availability. If you find one, please post back, you aren't alone in this issue. - Yang_100106
Nimbostratus
Does any one resole this problem? - ScottB
Nimbostratus
We experienced the same thing today...has anyone come to a resolution on it? I am researching ways to do this, but please post back if you have the answers.
Thanks! - Helen_Johnson_1Historic F5 AccountByang and ScottB,
What kinds of send and receive strings have you tried thusfar? And just to be clear, what versions are you both using? - ScottB
Nimbostratus
I dont have any send or receive strings configured - just TCP:3389
running v9.4.7 HF2
Thank you for the quick reply, this is under the microscope of my management and would like to make them feel all wrm and fuzzy ;-) - nathe
Cirrocumulus
Old post I know but just thought I'd check if anyone did get a resolution to this - would be useful at my workplace.
Thanks
N - JRahm
Admin
You could work from the logic in this nagios check, which uses python to validate the x224 protocol. Still not a sure thing RDP is truly available, but closer than a tcp response, which especially wih RDP, is very misleading.
http://exchange.nagios.org/directory/Plugins/Remote-Access/check_x224/details Click Here - Mike_Sullivan_2
Nimbostratus
It would be great if F5 implemented a proper monitor for RDP! (hint hint) - rkra_77787
Nimbostratus
Hello,
did anyone found a solution ?
Thanks
R. - hwidjaja_37598
Altostratus
Try this alternative:
Download and build Zenoss' wmic on a CentOS system:
[root@CentOS ~] wget http://dev.zenoss.org/svn/trunk/inst/externallibs/wmi-1.3.14.tar.bz2
[root@CentOS ~] tar xfj wmi-1.3.14.tar.bz2
[root@CentOS ~] cd wmi-1.3.14
[root@CentOS wmi-1.3.14] make
Transfer wmic binary to your LTM:
[root@CentOS wmi-1.3.14] scp Samba/source/bin/wmic root@YourLTM:/usr/local/bin
Test wmic from your LTM:
[root@YourLTM] ~ wmic -U [domain/]adminuser%password //host "select State from Win32_Service where Name='TermService'"
CLASS: Win32_Service
Name|State
TermService|Running
Sample code on how to check whether or not RDP service is running:
wmic -U [domain/]adminuser%password //host \
"select State from Win32_Service where Name='TermService'" \
| egrep "^TermService\|Running$" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo "UP"
fi
Good luck ...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects