NRPE - Run VBScript with 32 bit wscript.exe

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
swcomputer
Posts: 1
Joined: Sat Mar 28, 2020 12:18 pm

NRPE - Run VBScript with 32 bit wscript.exe

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked