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

    • S26-W30/31, S26-W32/33
    • 0.25
    • 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:
            Vladimirs Maksimovs
            Reporter:
            Aleksejs Brizgalovs
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 5h Original Estimate - 5h
                5h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 13h 50m
                13h 50m