Search found 2 matches

by zakg
Thu Sep 20, 2018 3:14 am
Forum: Open Source Nagios Projects
Topic: External scripts
Replies: 2
Views: 2039

Re: External scripts

Hello, To make external scripts workong in the agent file (nsc or nsclient) set: [/settings/external scripts/wrappings] bat = scripts\\%SCRIPT% %ARGS% ps1 = cmd /c echo scripts\\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command - vbs = cscript.exe //T:90 //NoLogo scripts\\lib\\wrapper.v...
by zakg
Wed Sep 19, 2018 3:45 am
Forum: Open Source Nagios Projects
Topic: External scripts
Replies: 2
Views: 2039

External scripts

Hello All, Im new on this forum and i hope ill put my topic in good place :) Im using Nagios Core v3 with quite old agent (NSC.ini) and there external scripts are working fine. In NSC.ini file i have (example): [Script Wrappings] vbs=cscript.exe //T:30 //NoLogo scripts\lib\wrapper.vbs %SCRIPT% %ARGS...