Hello everyone...new to the forum and I am also new to Nagios. I am having some issues getting this nifty plugin I found here called get_rdp_info to work. My issue I believe is with the nsclient++ file. I am uncertain as to exactly how I should make a new entry in the .ini file? When I try to check it from our Nagios host, I receive this error:
Failed to execute get_rdp_info seems more like a script maybe you need a script executable first: failed to lookup error code: 193 (reason: 87)
Here are the entries I tried. I've read on the support page and tried different formats, but so far no luck:
[/settings/external scripts/scripts]
Get_rdp_info=scripts\get_rdp_info.vbs.bat
Returned this error:
Failed to execute get_rdp_info seems more like a script maybe you need a script executable first: failed to lookup error code: 193 (reason: 87)
I also tried this:
[/settings/external scripts/wrapped scripts]
get_rdp_info=scripts\get_rdp_info.vbs
Same result.
Tried this:
[/settings/external scripts/wrapped scripts]
get_rdp_info=cscript.exe /t:90 /NoLogo scripts\lib\wrapper.vbs get_rdp_info.vbs
Also, same error.
Being a newbie with Nagios, perhaps I am doing something wrong? Any advice or help would be greatly appreciated.
Thanks!
JJ
Get_rdp_info Script Problem
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Get_rdp_info Script Problem
If this is really a vbs file it likely would go like this
Can you share the script you are trying to execute?
Code: Select all
[/settings/external scripts/scripts]
get_rdp_info=scripts\get_rdp_info.vbs
-
- Posts: 3
- Joined: Tue Mar 27, 2018 8:39 am
Re: Get_rdp_info Script Problem
Attached. Thanks for replying Scott!
- Attachments
-
- get_rdp_info.txt
- (59.57 KiB) Downloaded 450 times
-
- Posts: 3
- Joined: Tue Mar 27, 2018 8:39 am
Re: Get_rdp_info Script Problem
Scott...got it working. I talked with the developer that wrote the script and used an updated version. Tested fine. Thanks for replying to the thread. I know you are a busy guy!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Get_rdp_info Script Problem
That's great!! Glad to hear you got it working!windstreamNCS wrote:Scott...got it working. I talked with the developer that wrote the script and used an updated version. Tested fine. Thanks for replying to the thread. I know you are a busy guy!