Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20087

Remote commands are not executed by proxy

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 6.4 (plan)
    • 5.0.16
    • Agent (G)
    • None
    • 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.

            agavriluks Andrejs Gavriluks
            V.N. Vladimir
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: