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

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: None
    • Component/s: 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.

            Assignee:
            Unassigned
            Reporter:
            Gustavo Guido
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: