Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-08 Thread Paul Weaver
 Yeah, I understand what you mean. The problem is that before 
 you can monitor, you have to identify what exactly needs to 
 be monitored. And that's where the troubleshooting comes in. 

I disagree. The OP would like to monitor remote desktop logins. As an
admin, I care that RDP is broken, not (neccersarilly) that the clock is
out of sync.

 From then on, it could be anything from an authentication 
 issue to a protocol issue to an encryption issue, clock skew 
 (I'm not sure if the encryption in RDP is time-sensitive. I 
 don't think it is, but wanted to mention it), and the 
 monitoring needs to reflect the specific problem you are 
 monitoring for. 
 If you don't know what exactly is going wrong, there is a 
 high likelihood that you are monitoring the wrong thing and 
 don't actually detect when the users are experiencing a 
 problem - just as you saw with the sockets.

An ideal check would be for some meatware to sit infront of a computer,
log in with a few user names, check that the login is succesful, and
push a button which sets the nagios state to green. If they have a
problem, push a different button to set the light to red.

You may be able to get a perl module that can control remote desktop,
have a system log in, run a command, and log out. A quick google doesn't
show anything up, and experimentation with rdesktop -u USER -d DOMAIN
-p PASS -s SOMETHING.EXE $HOSTADDRESS$ seems to leave the session
logged in. You could create SOMETHING.EXE which made a call back to
nagios to say I'm working, but you'd need to get windows to log out
afterwards. A bit of windows scripting would probably do that for you,
so you would have something like

nagiosside
$ok = 0;
$port = 2345;
while ($ok == 0) {
$port++;
$ok = listenOnPort($port)
}
run_in_foreground(rdesktop -u USER -d DOMAIN -p PASS -s
remote_check.wsh $nagiosaddress $port $HOSTADDRESS$);
my ($status, $info) = receivedMsg();
print $info;
exit $status;

windowsside
my ($nagiosaddress, $port) = shift;
open_socket($nagiosaddress:$port);
print_socket(OK,Remote Desktop OK for user $USER);
close_socket();
logout();

For already-written plugins, check_x224 will give a better check than
check_tcp. 
--
Paul Weaver 
Systems Development Engineer
News Production Facilities, BBC News

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-08 Thread Johannes Dagemark

 An ideal check would be for some meatware to sit infront of a computer,
 log in with a few user names, check that the login is succesful, and
 push a button which sets the nagios state to green. If they have a
 problem, push a different button to set the light to red.
   
a bit of topic perhaps but something I have been thinking of every time 
people ask me if it's possible to monitor this and that windows 
application is to simply create a plugin wrapper around a mouse/keyboard 
recorder such as www.autohotkey.com. This will let you record whatever 
user behavior and run it as a plugin from nsclient++. You could even 
create a macro starting an rdp session from a windows box :)

cheers
Johannes


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Massimo Balestra
Hi,

I did some googleing for this problem but with no success. Maybe somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and sometimes
the remote desktop stops answering and the nobody can login. To tell the
truth the whole server hangs but in this moment my concern is the remote
desktop.

I already setup a check on the remote desktop port (using check_tcp) but it
is not enough. The RD port answers to the socket connection but when I try
to connect with the client it hangs. So the port is open but the service is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote Desktop?


Thank you in advance
Massimo





--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Frost, Mark {PBG}


-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com]
Sent: Tuesday, July 07, 2009 12:52 PM
To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitor windows remote desktop from linux

Hi,

I did some googleing for this problem but with no success. Maybe
somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for
remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and
sometimes
the remote desktop stops answering and the nobody can login. To tell
the
truth the whole server hangs but in this moment my concern is the
remote
desktop.

I already setup a check on the remote desktop port (using check_tcp)
but
it
is not enough. The RD port answers to the socket connection but when I
try
to connect with the client it hangs. So the port is open but the
service
is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote
Desktop?


Thank you in advance
Massimo

Massimo,

I guess if the port is still listening it wouldn't solve the issue to
monitor the Windows service the provides Remote Desktop (although that
seems like it would be a good idea anyway).

Any chance there's a corresponding message in the Windows Event log
indicating something bad happening with Remote Desktop?  If so, you
could use one of several utilities (of which NSClient++ is one) to
trigger an alert when it sees that event in the Event Log.

Mark

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Massimo Balestra
Thank you Mark.

Unfortunately nothing is written in the event log that can help. The only
error I see is about printer drivers but there are a lot of them and they
normally does not affect the server behavior.

I was hoping somebody would know better than me the RD protocol in order to
send some commands to the port (I have no problem to make my own nagios
plugin) to monitor if it is working or not.

Thank you again.
Massimo

-Original Message-
From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com] 
Sent: Tuesday, July 07, 2009 10:05 AM
To: Massimo Balestra; Natxo Asenjo; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] monitor windows remote desktop from linux



-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com]
Sent: Tuesday, July 07, 2009 12:52 PM
To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitor windows remote desktop from linux

Hi,

I did some googleing for this problem but with no success. Maybe
somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for
remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and
sometimes
the remote desktop stops answering and the nobody can login. To tell
the
truth the whole server hangs but in this moment my concern is the
remote
desktop.

I already setup a check on the remote desktop port (using check_tcp)
but
it
is not enough. The RD port answers to the socket connection but when I
try
to connect with the client it hangs. So the port is open but the
service
is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote
Desktop?


Thank you in advance
Massimo

Massimo,

I guess if the port is still listening it wouldn't solve the issue to
monitor the Windows service the provides Remote Desktop (although that
seems like it would be a good idea anyway).

Any chance there's a corresponding message in the Windows Event log
indicating something bad happening with Remote Desktop?  If so, you
could use one of several utilities (of which NSClient++ is one) to
trigger an alert when it sees that event in the Event Log.

Mark


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread John Andrunas
It seems like you ought to be able to create a check that actually
connects to rdp, not that this is an ideal solution.

rdesktop -u username -d domain -p password



On Tue, Jul 7, 2009 at 10:10 AM, Massimo
Balestramassimobales...@hotmail.com wrote:
 Thank you Mark.

 Unfortunately nothing is written in the event log that can help. The only
 error I see is about printer drivers but there are a lot of them and they
 normally does not affect the server behavior.

 I was hoping somebody would know better than me the RD protocol in order to
 send some commands to the port (I have no problem to make my own nagios
 plugin) to monitor if it is working or not.

 Thank you again.
 Massimo

 -Original Message-
 From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com]
 Sent: Tuesday, July 07, 2009 10:05 AM
 To: Massimo Balestra; Natxo Asenjo; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] monitor windows remote desktop from linux



-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com]
Sent: Tuesday, July 07, 2009 12:52 PM
To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitor windows remote desktop from linux

Hi,

I did some googleing for this problem but with no success. Maybe
somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for
remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and
sometimes
the remote desktop stops answering and the nobody can login. To tell
 the
truth the whole server hangs but in this moment my concern is the
 remote
desktop.

I already setup a check on the remote desktop port (using check_tcp)
 but
it
is not enough. The RD port answers to the socket connection but when I
try
to connect with the client it hangs. So the port is open but the
 service
is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote
Desktop?


Thank you in advance
Massimo

 Massimo,

 I guess if the port is still listening it wouldn't solve the issue to
 monitor the Windows service the provides Remote Desktop (although that
 seems like it would be a good idea anyway).

 Any chance there's a corresponding message in the Windows Event log
 indicating something bad happening with Remote Desktop?  If so, you
 could use one of several utilities (of which NSClient++ is one) to
 trigger an alert when it sees that event in the Event Log.

 Mark


 --
 Enter the BlackBerry Developer Challenge
 This is your chance to win up to $100,000 in prizes! For a limited time,
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize
 details at: http://p.sf.net/sfu/blackberry
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
John

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Frost, Mark {PBG}


-Original Message-
From: John Andrunas [mailto:j...@andrunas.net]
Sent: Tuesday, July 07, 2009 1:28 PM
To: Massimo Balestra
Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] monitor windows remote desktop from linux

It seems like you ought to be able to create a check that actually
connects to rdp, not that this is an ideal solution.

rdesktop -u username -d domain -p password



-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com]
Sent: Tuesday, July 07, 2009 12:52 PM
To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitor windows remote desktop from linux

Hi,

I did some googleing for this problem but with no success. Maybe
somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for
remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and
sometimes
the remote desktop stops answering and the nobody can login. To tell
 the
truth the whole server hangs but in this moment my concern is the
 remote
desktop.

I already setup a check on the remote desktop port (using check_tcp)
 but
it
is not enough. The RD port answers to the socket connection but when
I
try
to connect with the client it hangs. So the port is open but the
 service
is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote
Desktop?


Thank you in advance
Massimo

Unfortunately, I don't think rdesktop will run without having a
corresponding X display to send output to.  If only it did, this would
be the best route, methinks.

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread John Andrunas
On Tue, Jul 7, 2009 at 10:38 AM, Frost, Mark {PBG}mark.fro...@pepsi.com wrote:


-Original Message-
From: John Andrunas [mailto:j...@andrunas.net]
Sent: Tuesday, July 07, 2009 1:28 PM
To: Massimo Balestra
Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] monitor windows remote desktop from linux

It seems like you ought to be able to create a check that actually
connects to rdp, not that this is an ideal solution.

rdesktop -u username -d domain -p password



-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com]
Sent: Tuesday, July 07, 2009 12:52 PM
To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitor windows remote desktop from linux

Hi,

I did some googleing for this problem but with no success. Maybe
somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for
remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and
sometimes
the remote desktop stops answering and the nobody can login. To tell
 the
truth the whole server hangs but in this moment my concern is the
 remote
desktop.

I already setup a check on the remote desktop port (using check_tcp)
 but
it
is not enough. The RD port answers to the socket connection but when
 I
try
to connect with the client it hangs. So the port is open but the
 service
is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote
Desktop?


Thank you in advance
Massimo

 Unfortunately, I don't think rdesktop will run without having a
 corresponding X display to send output to.  If only it did, this would
 be the best route, methinks.


True, not sure if there is a way to script it in windows and do a passive check.

-- 
John

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread John Andrunas
On Tue, Jul 7, 2009 at 10:41 AM, Massimo
Balestramassimobales...@hotmail.com wrote:

 Thank you John,

 I thought that, but rdesktop needs an xwindows server and, also, I did not
 find any command in rdesktop that make a conencion and exits immediately.

 Do you know how I could do this?

 Thank you
 Massimo


 -Original Message-
 From: John Andrunas [mailto:j...@andrunas.net]
 Sent: Tuesday, July 07, 2009 10:28 AM
 To: Massimo Balestra
 Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] monitor windows remote desktop from linux

 It seems like you ought to be able to create a check that actually
 connects to rdp, not that this is an ideal solution.

 rdesktop -u username -d domain -p password



 On Tue, Jul 7, 2009 at 10:10 AM, Massimo
 Balestramassimobales...@hotmail.com wrote:
 Thank you Mark.

 Unfortunately nothing is written in the event log that can help. The only
 error I see is about printer drivers but there are a lot of them and they
 normally does not affect the server behavior.

 I was hoping somebody would know better than me the RD protocol in order
 to
 send some commands to the port (I have no problem to make my own nagios
 plugin) to monitor if it is working or not.

 Thank you again.
 Massimo

 -Original Message-
 From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com]
 Sent: Tuesday, July 07, 2009 10:05 AM
 To: Massimo Balestra; Natxo Asenjo; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] monitor windows remote desktop from linux



-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com]
Sent: Tuesday, July 07, 2009 12:52 PM
To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitor windows remote desktop from linux

Hi,

I did some googleing for this problem but with no success. Maybe
somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for
remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and
sometimes
the remote desktop stops answering and the nobody can login. To tell
 the
truth the whole server hangs but in this moment my concern is the
 remote
desktop.

I already setup a check on the remote desktop port (using check_tcp)
 but
it
is not enough. The RD port answers to the socket connection but when I
try
to connect with the client it hangs. So the port is open but the
 service
is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote
Desktop?


Thank you in advance
Massimo

 Massimo,

 I guess if the port is still listening it wouldn't solve the issue to
 monitor the Windows service the provides Remote Desktop (although that
 seems like it would be a good idea anyway).

 Any chance there's a corresponding message in the Windows Event log
 indicating something bad happening with Remote Desktop?  If so, you
 could use one of several utilities (of which NSClient++ is one) to
 trigger an alert when it sees that event in the Event Log.

 Mark



 
 --
 Enter the BlackBerry Developer Challenge
 This is your chance to win up to $100,000 in prizes! For a limited time,
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full
 prize
 details at: http://p.sf.net/sfu/blackberry
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




 --
 John



you can use -s and run a specific application (a batch file or
something) to log you out, but yes you would need X.

-- 
John

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Massimo Balestra

Thank you John,

I thought that, but rdesktop needs an xwindows server and, also, I did not
find any command in rdesktop that make a conencion and exits immediately.

Do you know how I could do this?

Thank you
Massimo


-Original Message-
From: John Andrunas [mailto:j...@andrunas.net] 
Sent: Tuesday, July 07, 2009 10:28 AM
To: Massimo Balestra
Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] monitor windows remote desktop from linux

It seems like you ought to be able to create a check that actually
connects to rdp, not that this is an ideal solution.

rdesktop -u username -d domain -p password



On Tue, Jul 7, 2009 at 10:10 AM, Massimo
Balestramassimobales...@hotmail.com wrote:
 Thank you Mark.

 Unfortunately nothing is written in the event log that can help. The only
 error I see is about printer drivers but there are a lot of them and they
 normally does not affect the server behavior.

 I was hoping somebody would know better than me the RD protocol in order
to
 send some commands to the port (I have no problem to make my own nagios
 plugin) to monitor if it is working or not.

 Thank you again.
 Massimo

 -Original Message-
 From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com]
 Sent: Tuesday, July 07, 2009 10:05 AM
 To: Massimo Balestra; Natxo Asenjo; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] monitor windows remote desktop from linux



-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com]
Sent: Tuesday, July 07, 2009 12:52 PM
To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitor windows remote desktop from linux

Hi,

I did some googleing for this problem but with no success. Maybe
somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for
remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and
sometimes
the remote desktop stops answering and the nobody can login. To tell
 the
truth the whole server hangs but in this moment my concern is the
 remote
desktop.

I already setup a check on the remote desktop port (using check_tcp)
 but
it
is not enough. The RD port answers to the socket connection but when I
try
to connect with the client it hangs. So the port is open but the
 service
is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote
Desktop?


Thank you in advance
Massimo

 Massimo,

 I guess if the port is still listening it wouldn't solve the issue to
 monitor the Windows service the provides Remote Desktop (although that
 seems like it would be a good idea anyway).

 Any chance there's a corresponding message in the Windows Event log
 indicating something bad happening with Remote Desktop?  If so, you
 could use one of several utilities (of which NSClient++ is one) to
 trigger an alert when it sees that event in the Event Log.

 Mark




--
 Enter the BlackBerry Developer Challenge
 This is your chance to win up to $100,000 in prizes! For a limited time,
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full
prize
 details at: http://p.sf.net/sfu/blackberry
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
John


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Massimo Balestra
Yes probably I found the solution.

I can run rdesktop with the option -s to run a batch that runs shutdown
/l.

I have to set the rdesktop in order to use xvfb as xwindows server.

I can set a timeout in the command so I kill rdesktop if it does not answer
after ... 1 minute and let nagios raise an alarm.

It is a little complicated but it could work.

I have something to begin to write my custom plugin.

I will let you know and I will post the (perl) plugin if it works

Thank you to everybody.

Massimo

-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com] 
Sent: Tuesday, July 07, 2009 10:42 AM
To: 'John Andrunas'
Cc: 'Frost, Mark {PBG}'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] monitor windows remote desktop from linux


Thank you John,

I thought that, but rdesktop needs an xwindows server and, also, I did not
find any command in rdesktop that make a conencion and exits immediately.

Do you know how I could do this?

Thank you
Massimo


-Original Message-
From: John Andrunas [mailto:j...@andrunas.net] 
Sent: Tuesday, July 07, 2009 10:28 AM
To: Massimo Balestra
Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] monitor windows remote desktop from linux

It seems like you ought to be able to create a check that actually
connects to rdp, not that this is an ideal solution.

rdesktop -u username -d domain -p password



On Tue, Jul 7, 2009 at 10:10 AM, Massimo
Balestramassimobales...@hotmail.com wrote:
 Thank you Mark.

 Unfortunately nothing is written in the event log that can help. The only
 error I see is about printer drivers but there are a lot of them and they
 normally does not affect the server behavior.

 I was hoping somebody would know better than me the RD protocol in order
to
 send some commands to the port (I have no problem to make my own nagios
 plugin) to monitor if it is working or not.

 Thank you again.
 Massimo

 -Original Message-
 From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com]
 Sent: Tuesday, July 07, 2009 10:05 AM
 To: Massimo Balestra; Natxo Asenjo; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] monitor windows remote desktop from linux



-Original Message-
From: Massimo Balestra [mailto:massimobales...@hotmail.com]
Sent: Tuesday, July 07, 2009 12:52 PM
To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitor windows remote desktop from linux

Hi,

I did some googleing for this problem but with no success. Maybe
somebody in
this list can help me to figure how to do this check.

My nagios is running on linux and I have two windows servers used for
remote
desktop (terminal service).

One of this servers has some problems (we will reinstall it) and
sometimes
the remote desktop stops answering and the nobody can login. To tell
 the
truth the whole server hangs but in this moment my concern is the
 remote
desktop.

I already setup a check on the remote desktop port (using check_tcp)
 but
it
is not enough. The RD port answers to the socket connection but when I
try
to connect with the client it hangs. So the port is open but the
 service
is
frozen.

Is there anybody who knows what to do to monitor the Windows Remote
Desktop?


Thank you in advance
Massimo

 Massimo,

 I guess if the port is still listening it wouldn't solve the issue to
 monitor the Windows service the provides Remote Desktop (although that
 seems like it would be a good idea anyway).

 Any chance there's a corresponding message in the Windows Event log
 indicating something bad happening with Remote Desktop?  If so, you
 could use one of several utilities (of which NSClient++ is one) to
 trigger an alert when it sees that event in the Event Log.

 Mark




--
 Enter the BlackBerry Developer Challenge
 This is your chance to win up to $100,000 in prizes! For a limited time,
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full
prize
 details at: http://p.sf.net/sfu/blackberry
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
John



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list

Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Onotsky, Steve x55328

 -Original Message-
 From: John Andrunas [mailto:j...@andrunas.net]
 Sent: July 7, 2009 13:46
 To: Massimo Balestra
 Cc: Frost, Mark {PBG}; nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] monitor windows remote desktop from linux
 
 you can use -s and run a specific application (a batch file or
 something) to log you out, but yes you would need X.

Couldn't you use a virtual framebuffer X server to allow for clients to
connect back, thereby redirecting screen output to the bitbucket?

That way, the logout script (a batch file with shutdown -l -f in it,
most likely) could accomplish the user-less session quite nicely, I
would think.

Cheers
Steve

This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Marc Powell

On Jul 7, 2009, at 11:52 AM, Massimo Balestra wrote:

 Hi,

 I did some googleing for this problem but with no success. Maybe  
 somebody in
 this list can help me to figure how to do this check.

Try googleing for 'nagios check x224'.

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Kevin Keane
In my mind, Nagios really isn't a good tool for troubleshooting - it's a 
good tool for monitoring. In this case, it seems you aren't really 
entirely certain what to monitor?

That said, I have seen this behavior in Windows 2008 64-bit in some 
cases (Vista is supposed to also be affected. Not sure if 32-bit 
versions are). What makes this problem even more insidious is that the 
symptoms are all over the place. Sometimes, RDP isn't responsive. Other 
times, it could be completely different services that are affected. If 
yours is the same problem that I'm thinking of, it's actually caused by 
a resource leak deep in Windows that is triggered by the TDI interface 
(which is what many antivirus applications are using). Microsoft fixed 
this bug in the latest service pack.

It isn't actually the remote desktop protocol at all that crashes. 
Rather, many services will stall in more-or-less unpredictable ways. The 
most obvious sign is often that logging in no longer works (locally as 
well as remotely). Also, if you are logged in, it is entirely possible 
that the keyboard and mouse no longer work (although you can usually 
still move the mouse pointer).

There are other problems that can cause the same symptoms, too. 
Unplugging a USB drive without safely remove hardware will also 
sometimes do it (again, it might be caused by the antivirus software; 
I've been working with Microsoft support on this problem but so far 
haven't figured it out).

Massimo Balestra wrote:
 Thank you Mark.

 Unfortunately nothing is written in the event log that can help. The only
 error I see is about printer drivers but there are a lot of them and they
 normally does not affect the server behavior.

 I was hoping somebody would know better than me the RD protocol in order to
 send some commands to the port (I have no problem to make my own nagios
 plugin) to monitor if it is working or not.

 Thank you again.
 Massimo

 -Original Message-
 From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com] 
 Sent: Tuesday, July 07, 2009 10:05 AM
 To: Massimo Balestra; Natxo Asenjo; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] monitor windows remote desktop from linux



   
 -Original Message-
 From: Massimo Balestra [mailto:massimobales...@hotmail.com]
 Sent: Tuesday, July 07, 2009 12:52 PM
 To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] monitor windows remote desktop from linux

 Hi,

 I did some googleing for this problem but with no success. Maybe
 somebody in
 this list can help me to figure how to do this check.

 My nagios is running on linux and I have two windows servers used for
 remote
 desktop (terminal service).

 One of this servers has some problems (we will reinstall it) and
 sometimes
 the remote desktop stops answering and the nobody can login. To tell
 
 the
   
 truth the whole server hangs but in this moment my concern is the
 
 remote
   
 desktop.

 I already setup a check on the remote desktop port (using check_tcp)
 
 but
   
 it
 is not enough. The RD port answers to the socket connection but when I
 try
 to connect with the client it hangs. So the port is open but the
 
 service
   
 is
 frozen.

 Is there anybody who knows what to do to monitor the Windows Remote
 Desktop?


 Thank you in advance
 Massimo
 

 Massimo,

 I guess if the port is still listening it wouldn't solve the issue to
 monitor the Windows service the provides Remote Desktop (although that
 seems like it would be a good idea anyway).

 Any chance there's a corresponding message in the Windows Event log
 indicating something bad happening with Remote Desktop?  If so, you
 could use one of several utilities (of which NSClient++ is one) to
 trigger an alert when it sees that event in the Event Log.

 Mark
   

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo

Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Massimo Balestra
Hi Kevin,

I am trying to monitor, not to troubleshoot.

We bought a new server to replace the one we have and we will reinstall
everything. This is the solution.

What I want to do is monitor the current server to avoid the users to call
us. If we see it frozen we reboot it.

Thank you for your suggestion.
I will use what you wrote to try to understand what happened but I really
think that the best solution is format the server. 

Massimo
 


-Original Message-
From: Kevin Keane [mailto:subscript...@kkeane.com] 
Sent: Tuesday, July 07, 2009 11:43 AM
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] monitor windows remote desktop from linux

In my mind, Nagios really isn't a good tool for troubleshooting - it's a 
good tool for monitoring. In this case, it seems you aren't really 
entirely certain what to monitor?

That said, I have seen this behavior in Windows 2008 64-bit in some 
cases (Vista is supposed to also be affected. Not sure if 32-bit 
versions are). What makes this problem even more insidious is that the 
symptoms are all over the place. Sometimes, RDP isn't responsive. Other 
times, it could be completely different services that are affected. If 
yours is the same problem that I'm thinking of, it's actually caused by 
a resource leak deep in Windows that is triggered by the TDI interface 
(which is what many antivirus applications are using). Microsoft fixed 
this bug in the latest service pack.

It isn't actually the remote desktop protocol at all that crashes. 
Rather, many services will stall in more-or-less unpredictable ways. The 
most obvious sign is often that logging in no longer works (locally as 
well as remotely). Also, if you are logged in, it is entirely possible 
that the keyboard and mouse no longer work (although you can usually 
still move the mouse pointer).

There are other problems that can cause the same symptoms, too. 
Unplugging a USB drive without safely remove hardware will also 
sometimes do it (again, it might be caused by the antivirus software; 
I've been working with Microsoft support on this problem but so far 
haven't figured it out).

Massimo Balestra wrote:
 Thank you Mark.

 Unfortunately nothing is written in the event log that can help. The only
 error I see is about printer drivers but there are a lot of them and they
 normally does not affect the server behavior.

 I was hoping somebody would know better than me the RD protocol in order
to
 send some commands to the port (I have no problem to make my own nagios
 plugin) to monitor if it is working or not.

 Thank you again.
 Massimo

 -Original Message-
 From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com] 
 Sent: Tuesday, July 07, 2009 10:05 AM
 To: Massimo Balestra; Natxo Asenjo; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] monitor windows remote desktop from linux



   
 -Original Message-
 From: Massimo Balestra [mailto:massimobales...@hotmail.com]
 Sent: Tuesday, July 07, 2009 12:52 PM
 To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] monitor windows remote desktop from linux

 Hi,

 I did some googleing for this problem but with no success. Maybe
 somebody in
 this list can help me to figure how to do this check.

 My nagios is running on linux and I have two windows servers used for
 remote
 desktop (terminal service).

 One of this servers has some problems (we will reinstall it) and
 sometimes
 the remote desktop stops answering and the nobody can login. To tell
 
 the
   
 truth the whole server hangs but in this moment my concern is the
 
 remote
   
 desktop.

 I already setup a check on the remote desktop port (using check_tcp)
 
 but
   
 it
 is not enough. The RD port answers to the socket connection but when I
 try
 to connect with the client it hangs. So the port is open but the
 
 service
   
 is
 frozen.

 Is there anybody who knows what to do to monitor the Windows Remote
 Desktop?


 Thank you in advance
 Massimo
 

 Massimo,

 I guess if the port is still listening it wouldn't solve the issue to
 monitor the Windows service the provides Remote Desktop (although that
 seems like it would be a good idea anyway).

 Any chance there's a corresponding message in the Windows Event log
 indicating something bad happening with Remote Desktop?  If so, you
 could use one of several utilities (of which NSClient++ is one) to
 trigger an alert when it sees that event in the Event Log.

 Mark
   

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think
About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or
proprietary information. Please be advised that the unauthorized use or
disclosure of the information is strictly prohibited. The information herein
is intended only for use by the intended recipient(s) named above. If you
have received this transmission in error

Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Massimo Balestra
Thank you Mark

I did not know that the protocol was called x224.

I think I found an interesting tool for my needs check_x224

Thank you very much.
Massimo


-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: Tuesday, July 07, 2009 11:40 AM
To: Nagios Users Mail-list
Subject: Re: [Nagios-users] monitor windows remote desktop from linux


On Jul 7, 2009, at 11:52 AM, Massimo Balestra wrote:

 Hi,

 I did some googleing for this problem but with no success. Maybe  
 somebody in
 this list can help me to figure how to do this check.

Try googleing for 'nagios check x224'.

--
Marc



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] monitor windows remote desktop from linux

2009-07-07 Thread Kevin Keane
Yeah, I understand what you mean. The problem is that before you can 
monitor, you have to identify what exactly needs to be monitored. And 
that's where the troubleshooting comes in. From then on, it could be 
anything from an authentication issue to a protocol issue to an 
encryption issue, clock skew (I'm not sure if the encryption in RDP is 
time-sensitive. I don't think it is, but wanted to mention it), and the 
monitoring needs to reflect the specific problem you are monitoring for. 
If you don't know what exactly is going wrong, there is a high 
likelihood that you are monitoring the wrong thing and don't actually 
detect when the users are experiencing a problem - just as you saw with 
the sockets.

Massimo Balestra wrote:
 Hi Kevin,

 I am trying to monitor, not to troubleshoot.

 We bought a new server to replace the one we have and we will reinstall
 everything. This is the solution.

 What I want to do is monitor the current server to avoid the users to call
 us. If we see it frozen we reboot it.

 Thank you for your suggestion.
 I will use what you wrote to try to understand what happened but I really
 think that the best solution is format the server. 

 Massimo
  


 -Original Message-
 From: Kevin Keane [mailto:subscript...@kkeane.com] 
 Sent: Tuesday, July 07, 2009 11:43 AM
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] monitor windows remote desktop from linux

 In my mind, Nagios really isn't a good tool for troubleshooting - it's a 
 good tool for monitoring. In this case, it seems you aren't really 
 entirely certain what to monitor?

 That said, I have seen this behavior in Windows 2008 64-bit in some 
 cases (Vista is supposed to also be affected. Not sure if 32-bit 
 versions are). What makes this problem even more insidious is that the 
 symptoms are all over the place. Sometimes, RDP isn't responsive. Other 
 times, it could be completely different services that are affected. If 
 yours is the same problem that I'm thinking of, it's actually caused by 
 a resource leak deep in Windows that is triggered by the TDI interface 
 (which is what many antivirus applications are using). Microsoft fixed 
 this bug in the latest service pack.

 It isn't actually the remote desktop protocol at all that crashes. 
 Rather, many services will stall in more-or-less unpredictable ways. The 
 most obvious sign is often that logging in no longer works (locally as 
 well as remotely). Also, if you are logged in, it is entirely possible 
 that the keyboard and mouse no longer work (although you can usually 
 still move the mouse pointer).

 There are other problems that can cause the same symptoms, too. 
 Unplugging a USB drive without safely remove hardware will also 
 sometimes do it (again, it might be caused by the antivirus software; 
 I've been working with Microsoft support on this problem but so far 
 haven't figured it out).

 Massimo Balestra wrote:
   
 Thank you Mark.

 Unfortunately nothing is written in the event log that can help. The only
 error I see is about printer drivers but there are a lot of them and they
 normally does not affect the server behavior.

 I was hoping somebody would know better than me the RD protocol in order
 
 to
   
 send some commands to the port (I have no problem to make my own nagios
 plugin) to monitor if it is working or not.

 Thank you again.
 Massimo

 -Original Message-
 From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com] 
 Sent: Tuesday, July 07, 2009 10:05 AM
 To: Massimo Balestra; Natxo Asenjo; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] monitor windows remote desktop from linux



   
 
 -Original Message-
 From: Massimo Balestra [mailto:massimobales...@hotmail.com]
 Sent: Tuesday, July 07, 2009 12:52 PM
 To: 'Natxo Asenjo'; nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] monitor windows remote desktop from linux

 Hi,

 I did some googleing for this problem but with no success. Maybe
 somebody in
 this list can help me to figure how to do this check.

 My nagios is running on linux and I have two windows servers used for
 remote
 desktop (terminal service).

 One of this servers has some problems (we will reinstall it) and
 sometimes
 the remote desktop stops answering and the nobody can login. To tell
 
   
 the
   
 
 truth the whole server hangs but in this moment my concern is the
 
   
 remote
   
 
 desktop.

 I already setup a check on the remote desktop port (using check_tcp)
 
   
 but
   
 
 it
 is not enough. The RD port answers to the socket connection but when I
 try
 to connect with the client it hangs. So the port is open but the
 
   
 service
   
 
 is
 frozen.

 Is there anybody who knows what to do to monitor the Windows Remote
 Desktop?


 Thank you in advance
 Massimo
 
   
 Massimo,

 I guess if the port is still listening it wouldn't solve the issue to
 monitor the Windows