Page 1 of 1

NRPE - Run VBScript with 32 bit wscript.exe

Posted: Sat Mar 28, 2020 12:23 pm
by swcomputer
Hello,

I need to run a 32 bit vbscript with a 64 bit NSAClient. I've tried a lot ofcombinations but it's not working.

If the external command is defined like this:

Code: Select all

check_version=cscript.exe //nologo //T:60 .\scripts\check_version.vbs 
the script is started (but not working because of 32 and 64 bit).

But if I try to run wscript for 32 bit I get a timeout when testing.

I've tried e.g.:

Code: Select all

check_version=C:\Windows\syswow64\wscript.exe //nologo //T:60 .\scripts\check_version.vbs 
Could you please tell me how the external command must be defined?

Thank you

Best regards
Steve

Re: NRPE - Run VBScript with 32 bit wscript.exe

Posted: Mon Mar 30, 2020 5:51 pm
by Box293
Have a look at this KB article
https://support.nagios.com/kb/article/n ... t-528.html

It should help explain exactly how to configure it for executing scripts.