I deployed Zabbix 6.2 in Docker containers as listed below and everything is working fine so far except for PING script execution in the map which presents the error bellow.
Cannot execute script.
Remote commands are not enabled [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:974]
- What are the possible causes?
------------------------------
ARCHITECTURE
On the cloud
Server 1:
- Zabbix Server MySQL Ubuntu
- Zabbix Web Server NGINX MySQL Ubuntu
- Zabbix Agent
Server 2:
- Zabbix DB MariaDB 10.6.5 Focal (Ubuntu 20.4)
- Zabbix Agent
On-Premises:
- Proxy 1 (HW1)
- Proxy 2 (HW2)
Notes:
- They are interconnected using VPN.
- At this point, the Linux Firewalls are down.
- The Fping and Ping can be executed manually inside the proxies and Server 1.
- The EnableRemoteCommands is already set to 1 (yes) in the Proxy and in the Agent containers.
Comment