Steps to reproduce:
- Create a docker proxy using image from https://hub.docker.com/r/zabbix/zabbix-proxy-sqlite3
- Configure proxy in zabbix
- Assign host to proxy
- Initiate any of the zabbix default scripts ( ping / traceroute / Detect OS (nmap))
Result:
**
Cannot execut script.
- sh: 1: /bin/traceroute: not found [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupScriptExec->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CScript->execute() → CApiService::exception() in include/classes/api/services/CScript.php:973]
Expected:
Command is available on proxy and script runs successfully. It is non-trivial to add utilities to a docker environment. Since these utilities are commonly used and include as part of out-of-the-box scripts, they should be available on the docker image.