RDP services monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: RDP services monitoring

Post by rkennedy »

That error is generally related to not being able to find the command.

Just to verify, when you say added lines, there are quite a few steps for this. Did you add this one to your NSC.ini?
Add the following to the [External Scripts] section in NSC.ini:
get_rdp_info=cscript.exe //T:30 //NoLogo scripts\get_rdp_info.vbs
Additionally, where did you place the get_rdp_info.vbs script?
Former Nagios Employee
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: RDP services monitoring

Post by dlukinski »

rkennedy wrote:That error is generally related to not being able to find the command.

Just to verify, when you say added lines, there are quite a few steps for this. Did you add this one to your NSC.ini?
Add the following to the [External Scripts] section in NSC.ini:
get_rdp_info=cscript.exe //T:30 //NoLogo scripts\get_rdp_info.vbs
Additionally, where did you place the get_rdp_info.vbs script?
Added my NSC.ini file / script was place under \scripts in NSC folder
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: RDP services monitoring

Post by rkennedy »

In your NSC.ini I noticed the get_rdp_info is specified under the external scripts, however it is missing a \

currently it's -

Code: Select all

get_rdp_info=cscript.exe //T:30 //NoLogo scriptsget_rdp_info.vbs
it should be -

Code: Select all

get_rdp_info=cscript.exe //T:30 //NoLogo scripts\get_rdp_info.vbs
Let us know if that fixes it for you.
Former Nagios Employee
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: RDP services monitoring

Post by dlukinski »

rkennedy wrote:In your NSC.ini I noticed the get_rdp_info is specified under the external scripts, however it is missing a \

currently it's -

Code: Select all

get_rdp_info=cscript.exe //T:30 //NoLogo scriptsget_rdp_info.vbs
it should be -

Code: Select all

get_rdp_info=cscript.exe //T:30 //NoLogo scripts\get_rdp_info.vbs
Let us know if that fixes it for you.
Thank you (I also forgot to uncomment check external scripts DLL).
- works now.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: RDP services monitoring

Post by hsmith »

If there's nothing else we can do for you @dlukinski, I'll go ahead and close the thread due to age. Are you all set?
Former Nagios Employee.
me.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: RDP services monitoring

Post by dlukinski »

hsmith wrote:If there's nothing else we can do for you @dlukinski, I'll go ahead and close the thread due to age. Are you all set?
Yes please close the ticket and thank you once again!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: RDP services monitoring

Post by rkennedy »

I will now close this out. If you ever need assistance in the future, feel free to open a new thread.
Former Nagios Employee
Locked