Until agent traffic is more secure, I'm going to have to disable use of 'system.run' for items. This presents a problem because that is how I was triggering my script which checks for Windows Updates which then sends the script output back using the sender to another item. Because the script takes a while to run, my existing item looks like this:
This worked great. Now, I need to move that command into a user parameter, however, I don't see a way to tell the agent to not wait for the command to execute so the item becomes not supported. I already have my command timeout set to 20 seconds for some other commands and 30 is the max (and 20 is already pretty high). The update check script can take minutes to run.
Is there a way to tell the command for a UserParamater to 'nowait'? If not, this would be very useful.
Code:
system.run[powershell.exe -NoLogo -NonInteractive -File "%ZabbixRoot%\scripts\WindowsUpdates.ps1",nowait]
Is there a way to tell the command for a UserParamater to 'nowait'? If not, this would be very useful.
Comment