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

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Cannot Reproduce
    • 5.4.2
    • None
    • Agent2 plugin (N)
    • None
    • debian 10.10
      zabbix_agent2 (Zabbix) 5.4.2
      zabbix_server (Zabbix) 5.4.2

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: