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

Suport of internal macros in java preprocessing {HOST.NAME}, {ITEM.NAME}

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • None

      It will be nice to have the {ITEM.NAME}, {HOST.NAME} etc in the java script preprosessing.

      Now we can use the user macros, don't understand why this other variables are not usable.

       

      Example, send a message to a webservice when a item arrives, specifiying the host and item names. This can be done with a trigger, but no need to generate events etc to do so, having the macros it will be much easier with the CurlHttpRequest. It also will be nice to know the time stamp of the item value, there is a macro for the time of the log item, but no macro to know the timestamp at which the item arrives.

            Unassigned Unassigned
            gustavo.guido@custos.uy Gustavo Guido
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: