Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Checks that the most basic parts of a Remote Desktop connection succeeds.
Current Version
Last Release Date
March 25, 2025
Owner
Troels Arvin
Website
http://troels.arvin.dk/code/nagios/check_x224
License
BSD
The Remote Desktop protocol builds on a protocol called x224. This plugin checks that the initial and most basic parts of a Remote Desktop connection - the part which is specified by x224 - succeeds. I.e., it does a bit more than a TCP connection test at port 3389.
There is a python2 verson available at https://troels.arvin.dk/code/nagios/check_x224.python2
And Checkmk users may find the following packaging more useful: https://exchange.checkmk.com/p/rdp-active-check
We gratefully use this plugin to monitor our servers, from 2008 to 2012. However with 2016 we receive the error message: "x224 CRITICAL: Could not set up connection on port 3389: [Errno 104] Connection reset by peer" We made sure that NLA is not activated on the server. Are there any plans on your side to make this plugin compatible for 2016 as well?
I have recently tested this towards Windows versions up to Windows Server 2022, and it worked well. So unfortunately, I cannot reproduce the error, and hence I cannot try to fix it.
Very handy, thank you. By the way, to the first person who posted; this plugin runs on the Nagios server.
Hello, I'm having some trouble installing this check. How do I install the check_x224 plugin? I've added a few lines to my commands.cfg, and added the check to a host, but I guess that the check_x224 needs to be installed on the server?
This plugin is working great, and has been for some time to ensure I can always get access to my servers. Nothing worse than finding out something failed and /then/ finding out you can't remote into the thing! Unfortunately I started adding 2012 servers and immediately get connection refusal errors. 0 for 3 on the 2012 ones, and working just fine on all the others, and I can RDP into the servers. Guessing MS changed something. Attempting to look over the packet structure and find the issue...
Maybe you were an early Windows Server 2012 adopter and tested the plugin before it was ready for Windows Server 2012. The plugin supports checking Windows Server 2012; I suggest you try again.
Thanks, this is the first usable RDP check script I've found which does some actual protocol checking :-)
Downloaded and configured in minutes, has performance data, all good! Thanks!
Requires Python2. If you have Python3 and Python2 installed, open the file, and make sure the first line lists Python2 as the env
There is now a Python 3 version at http://troels.arvin.dk/code/nagios/check_x224.python3
python script works perfect - much better solution than simple tcp check...
Simply and fast Many many tanks
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!