fix: увеличил таймаут docker ps до 60с, добавил zabbix_agentd в список сервисов

- discovery таймаут 15с → 60с (на серверах с множеством контейнеров docker ps медленный)
- install.sh/setup.sh ищет zabbix_agentd, zabbix-agent, zabbix-agent2
This commit is contained in:
Maksim Totmin
2026-04-08 18:28:05 +07:00
parent ee3c7cfa2c
commit ecad66cd2c
3 changed files with 24 additions and 17 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ def discover_airflow() -> dict:
return result
def _run_cmd(cmd: list[str], timeout: int = 15) -> str:
def _run_cmd(cmd: list[str], timeout: int = 60) -> str:
"""Run a shell command and return stdout. Raises DiscoveryError on failure."""
logger.debug("Running command: %s", " ".join(cmd))
try: