Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-6029

Possibility to handover any MACRO/ITEM value to global script/command as argument

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 5.0.2rc1
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:
      None

      Description

      Possibility to handover any MACRO/ITEM value to global script/command as argument

       

      In case of manually executing remote actions (global script/command) to interact

      with 3rd party products (e.g. ServiceManger, HPOO, HPSA etc.) and scripts to resolve

      problems.

       

      Therefore, we need support of additional MACRO/ITEM values to provide as argument for

      external script/command when global script/command will be executed from views (e.g. Host, Problem)

      and handover event data (e.g. {EVENT.ID}, {INVENTORY.xxxx}). As Example to manually create

      an Incident (see screenshot) we need at least the {EVENT.ID} to gather additional information

      over API to enrich Incident data. Another example to manually execute a script on target

      system where additional ITEM value from system is needed as input for the script ({

      {HOST.HOST}

      :<KEY>.last()}).

       

      It seems that the following MACROS are supported within global script/command only:

       

      {HOST.CONN<1-9>} {HOST.DNS<1-9>} {HOST.HOST<1-9>} {HOST.IP<1-9>} {HOST.NAME<1-9>} {USER.ALIAS} {USER.FULLNAME} {USER.NAME} {USER.SURNAME}

       

      It would be nice if it is possible to use any kind of MACRO/ITEM value as argument to have

      the most flexibility to interact with 3rd party products and scripts like it is already

      possible within Action definitions which cannot be executed manually if I'm right or is

      it possible that a User can manually trigger an Action which can handle most MACROS/ITEM

      values as well?

       

      Many thanks and have a nice day!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zabbix.dev Zabbix Development Team
              Reporter:
              fgeister Frank Geister
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: