RDP services monitoring
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
RDP services monitoring
Hi All,
I have configured the windows server 2008 std r2 with basic montoring device (CPU, Hard disk, RAM, Page-file), Please can someone help how to monitoring the RDP services or RDP port 3389 on Nagios XI.
Thanks,
Sjain
I have configured the windows server 2008 std r2 with basic montoring device (CPU, Hard disk, RAM, Page-file), Please can someone help how to monitoring the RDP services or RDP port 3389 on Nagios XI.
Thanks,
Sjain
Re: RDP services monitoring
There is no specific RDP check. If you want to just check that the port is open and available, use check_tcp using the port 3389.
Otherwise you could check out the following monitoring plugin in our exchange:
http://exchange.nagios.org/directory/Pl ... tocols/RDP
Otherwise you could check out the following monitoring plugin in our exchange:
http://exchange.nagios.org/directory/Pl ... tocols/RDP
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: RDP services monitoring
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
Re: RDP services monitoring
Can we get the RDP login user name during rdp on server or desktop through Nagios XI Alert.
Thanks,
Sjain
Thanks,
Sjain
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: RDP services monitoring
Yes, you would need to write a custom script.
Have a look at the plugin I pointed you to, it uses a command qwinsta that includes that information.
Have a look at the plugin I pointed you to, it uses a command qwinsta that includes that information.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: RDP services monitoring
sjain, let us know if that linked plugin works for you.
Former Nagios employee
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
Re: RDP services monitoring
Hi Tmcdonald,
I have tried to deployed the RDP configured in Nagios Core 4.0.5 but it given error (screen shot attached) and please can you help how i can deployed in Nagios XI.
Thanks,
Sjain
I have tried to deployed the RDP configured in Nagios Core 4.0.5 but it given error (screen shot attached) and please can you help how i can deployed in Nagios XI.
Thanks,
Sjain
You do not have the required permissions to view the files attached to this post.
Re: RDP services monitoring
The plugin seems to be running fine for me. Here's what I did.
I downloaded the "get_rdp_info.zip", and unzipped it. I copied the "get_rdp_info.vbs" script to the "C:\Program Files\NSClient++\scripts\" directory on my Windows box.
I added the following line to the "nsclient.ini" file (under [/settings/external scripts/scripts] section):
saved and restarted the NSClient++ service.
I copied over the "get_rdp_info.php" file to the "/usr/local/nagios/share/pnp/templates/" directory on the Nagios XI server.
I tested the check from the command line by running:
I created a new check in the CCM:
I tested the check from the GUI by scheduling a forced immediate check:
Hope this helps.
I downloaded the "get_rdp_info.zip", and unzipped it. I copied the "get_rdp_info.vbs" script to the "C:\Program Files\NSClient++\scripts\" directory on my Windows box.
I added the following line to the "nsclient.ini" file (under [/settings/external scripts/scripts] section):
Code: Select all
get_rdp_info = cscript.exe //T:30 //NoLogo scripts\get_rdp_info.vbsI copied over the "get_rdp_info.php" file to the "/usr/local/nagios/share/pnp/templates/" directory on the Nagios XI server.
I tested the check from the command line by running:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <client ip> -p 5666 -c get_rdp_info
Sessions {Active=1 Idle=0 Disconnected=0} RDP Bytes {Input=0 Output=0}|'Active Sessions'=1 'Idle Sessions'=0 'Disconnected Sessions'=0 'Input Bytes'=0Bytes 'Output Bytes'=0Bytes '[get_rdp_info]'=0Code: Select all
define service {
host_name Windows7
service_description get_rdp_info
use xiwizard_windowsserver_nsclient_service
check_command check_nrpe!get_rdp_info!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 0
contacts nagiosadmin
_xiwizard windowsserver
register 1
}Hope this helps.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
Re: RDP services monitoring
Hi Lmiltchev,
When I am running the below command after that it's giving error
/usr/local/nagios/libexec/check_nrpe -H 192.168.15.72 -p 5666 -c get_rdp_info
CHECK_NRPE: Error - Could not complete SSL handshake.
Please help to resolve the issue and let me know the steps to configure the RDP service through CCM (screen shot attached) which already desktop or servers added in Nagios XI Server.
Thanks,
Sjain
When I am running the below command after that it's giving error
/usr/local/nagios/libexec/check_nrpe -H 192.168.15.72 -p 5666 -c get_rdp_info
CHECK_NRPE: Error - Could not complete SSL handshake.
Please help to resolve the issue and let me know the steps to configure the RDP service through CCM (screen shot attached) which already desktop or servers added in Nagios XI Server.
Thanks,
Sjain
You do not have the required permissions to view the files attached to this post.
Re: RDP services monitoring
Try running the command like this to disable ssl to see if it works for you.
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.15.72 -p 5666 -c get_rdp_info -nBe sure to check out our Knowledgebase for helpful articles and solutions!