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

Unsupported item key error on manual script execution when item key is denied by DenyKey

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Won't fix
    • 5.0.0rc1
    • 5.0.1rc1
    • None
    • 0.125

    Description

      Steps:
      EnableRemoteCommands=1
      DenyKey=system.run[*]
      Execute global script through frontend

      -Unsupported item key.
      -Cannot execute script

      Expected:
      Should be clear that it is forbidden to use this key due to DenyKey setting.

      For example:
      Item key is not allowed

      Another issue:
      ./bin/zabbix_get -s 127.0.0.1 -k "system.run[echo 2]"

      Result:
      ZBX_NOTSUPPORTED: Unsupported item key.

      Make you think that something is wrong with the key but it is not !

      Attachments

        Issue Links

          Activity

            People

              zabbix.dev Zabbix Development Team
              vso Vladislavs Sokurenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: