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

zabbix_agent2 -test system.run and testing from interface works fine but item is Not supported: "Remote commands are not supported"

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 5.4.2
    • Agent2 plugin (G)
    • None
    • debian 10.10
      zabbix_agent2 (Zabbix) 5.4.2
      zabbix_server (Zabbix) 5.4.2

      Steps to reproduce:

      1. I did an update from 5.2.6 to 5.4.2 (zabbix_server and zabbix_agent2)
      2. Allow in zabbix_agent2.conf this key : AllowKey=system.run["find *"]
      3. Restart zabbix_agent2 : systemctl restart zabbix-agent2.service
      4. An item created in previous version (5.2.6 and zabbix_agent v1) with key like : system.run[find /tmp/*] is not working anymore : Not supported: "Remote commands are not supported"
      5. Item works fine when you use zabbix_agent2 -test command
      6. Item works fine when you use the Test button on interface
      7. Clone the item, change the key to system.run["find /tmp/*"]
      8. Item is now working
      9. Delete the old item
      10. Go back to old item configuration into the new item system.run[find /tmp/*]
      11. Item is working

      Expected:
      Items with key=system.run from Zabbix 5.2.6 should work fine.

            aigars.kadikis Aigars Kadikis
            airbudweiser Airbud Weiser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: