Got the path problem with RUNSCRIPT! even the path was log in the application evenviewer correctly. But not take into consideration in the script directory.
[nagios] (40) > ./check_nt -H testSRV -v RUNSCRIPT -l vb.bat
Input Error: Can not find script file "C:\WINDOWS\system32\ScriptVbs.vbs".
vb.bat
@echo off
cscript //Noogo ScriptVBs.vbs
Cheers,
Ely.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Ely,
THis should be fixed in the current version that I am testing.
But I still neet to test that the working directoy fix worked.
I also added a variable (script_runany) that should allow you
to run the vb script without needing the batch wrapper.
TOny
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
Got the path problem with RUNSCRIPT! even the path was log in the application evenviewer correctly. But not take into consideration in the script directory.
[nagios] (40) > ./check_nt -H testSRV -v RUNSCRIPT -l vb.bat
Input Error: Can not find script file "C:\WINDOWS\system32\ScriptVbs.vbs".
vb.bat
@echo off
cscript //Noogo ScriptVBs.vbs
Cheers,
Ely.
Thanks Ely,
THis should be fixed in the current version that I am testing.
But I still neet to test that the working directoy fix worked.
I also added a variable (script_runany) that should allow you
to run the vb script without needing the batch wrapper.
TOny