Remote script can't be executed on hosts assigned to proxy groups unless server parameter EnableGlobalScripts=1 is set

XMLWordPrintable

    • Sprint candidates
    • 1

      If host is monitored by proxy group, remote scripts can't be executed even if assigned proxy has parameter EnableRemoteCommands=1 set.

      To enable remote script execution for hosts monitored by proxy group, it is necessary to set server parameter EnableGlobalScripts=1.

      Steps to reproduce:

      1. Create environment with server, proxy and agent;
      2. Set EnableRemoteCommands=1 in proxy config;
      3. Create proxy group containing the proxy and add new host monitored by this proxy group;
      4. Try to execute ping script under Monitoring -> Latest data -> Host.

      Result:

      Script fails with error "Global script execution on Zabbix server is disabled by server configuration." unless server setting EnableGlobalScripts=1

      Expected:

      Since host is monitored by proxy assigned via proxy group, script execution should work as long as proxy setting EnableRemoteCommands=1

            Assignee:
            Zabbix Development Team
            Reporter:
            Aleksejs Brizgalovs
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: