Get_rdp_info Script Problem
Posted: Tue Mar 27, 2018 2:45 pm
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
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