Quantcast
Channel: NSClient++ » All Posts
Viewing all articles
Browse latest Browse all 189

Check Windows Updates cant get it working

$
0
0

Hi
I try to get Check Windows Updates working
If I run the script on the powershell it works
C:\Windows\System32\cscript.exe //NOLOGO "C:\Program Files\NSClient++\scripts\lib\wrapper.vbs" check_updates.vbs /w:0 /c:1
I I run it from our nagios server with
./check_nrpe -H wegc203011 -p 5666 -c check_windows_updates -t 300
I get
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Other windows checks works fine
I have looked in the logs but nothing helpfull foung

debug:D:\source\nscp\master\nscp\include\nrpe/server/protocol.hpp:70: Accepting connection from: 143.50.203.26, count=1
debug:D:\source\nscp\master\nscp\modules\CheckExternalScripts\CheckExternalScripts.cpp:254: Command line: C:\Windows\System32\cscript.exe //NOLOGO "C:\Program Files\NSClient++\scripts\lib\wrapper.vbs" check_updates.vbs /w:0 /c:1

Any ideas where to look further?
many thanks


Viewing all articles
Browse latest Browse all 189

Trending Articles