monitor windows remote desktop from linux

John Andrunas john at andrunas.net
Tue Jul 7 19:40:55 CEST 2009


On Tue, Jul 7, 2009 at 10:38 AM, Frost, Mark {PBG}<mark.frost1 at pepsi.com> wrote:
>
>
>>-----Original Message-----
>>From: John Andrunas [mailto:john at andrunas.net]
>>Sent: Tuesday, July 07, 2009 1:28 PM
>>To: Massimo Balestra
>>Cc: Frost, Mark {PBG}; Natxo Asenjo; nagios-users at 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:massimobalestra at hotmail.com]
>>>>Sent: Tuesday, July 07, 2009 12:52 PM
>>>>To: 'Natxo Asenjo'; nagios-users at 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 at 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





More information about the Users mailing list