Remote commands are not executed by proxy

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Trivial
    • 6.4 (plan)
    • Affects Version/s: 5.0.16
    • Component/s: Agent (G)
    • None
    • Environment:
      Agent on Windows 2016, Server and proxy Centos 7.
    • Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022)
    • 1

      Steps to reproduce:

      1. Deploy Zabbix server, proxy 5.0.16 and Agent on Windows 2016
      2. Enable remote commands in proxy and server.
      3. Add AllowKey to agent AllowKey=system.run[sc start *]
      4. Add Global script on Zabbix server "sc start wuauserv | find "STATE"" and allow to start it on Windows 2016.
      5. Stop service on Windows 2016 "sc stop wuauserv".
      6. Launch script from web-interface.
      7. Then add trigger action allowing to start global script when service wuauserv stopped.
      8. Wait until problem occurs.

      Result:
      I can start service launching script from web.

      But when the same script started using action I get the error Unsupported key.
      Expected:
      Expected correct work of trigger action.

            Assignee:
            Andrejs Gavriluks (Inactive)
            Reporter:
            Vladimir
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: