The [WayBack] stock zabbix_agentd.conf is about 10k and the documentation quite a bit larger, so it can take a while to figure out a setting.
I needed one to ensure that scripts could take longer to execute than the default.
Searching for a per-script setting on the server side revealed no solution, so I had to solve it on the agent side. There, a per-script setting is also impossible: there is only the global Timeout (one word, no PascalCase like TimeOut) setting in zabbix_agentd.conf which is the same for Unix and Windows based Zabbix installations:
Unix: [WayBack] Zabbix Documentation 3.0 – 3 Zabbix agent (UNIX)
Parameter Mandatory Range Default Description Timeoutno 1–303Spend no more than Timeoutseconds on processing
Windows: [WayBack] Zabbix Documentation 3.0 – 9.4 Zabbix agent (Windows)
Parameter Mandatory Range Default Description Timeoutno 1–303Spend no more than Timeoutseconds on processing
In my case it was for a PowerShell script that ran twice a day to verify how recent the installations on a particular machine were. The Timeout value needed to be at least 15 for that:
### Option: Timeout
# Spend no more than Timeout seconds on processing.
#
# Mandatory: no
# Range: 1-30
# Default:
# Timeout=3
Timeout=15
–jeroen






