Allow create trigger prototype without creating before an item prototype

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 3.2.1
    • Component/s: Frontend (F), Server (S)
    • None

      Hello,

      After ZBXNEXT-3523, I have next circumstance:

      1. Discovery Rule connections, which discover {#IP}:{#PORT} and some general macros with info to such connection
      2. Discovery Rule proxypass, which discover {#PROXYPASS_DSTIP}:{#PROXYPASS_DSTPORT} and very specific proxypass information
      3. {#IP}:{#PORT} could be discovered on ProxyPass discovery Rule or in another like Workers discoveryRule

      So, I would like to add triggers to ProxyPass / Worker /.... discovery Rules and use net.tcp.port[{#PROXYPASS_DSTIP},{PROXYPASS_DSTPORT}].last(0)=0 as trigger condition. It would match with the item created at Rule Discovery Connections "net.tcp.port[{#IP},{#PORT}]"

      But you can't create a prototype trigger without its item prototype. At doc you can read about it is not posible to create a prototype trigger which depends on another prototype trigger outside the discovery rule.

      Thank you very much, and merge with ZBXNEXT-3523 if you see appropriate

            Assignee:
            Unassigned
            Reporter:
            Javier Barroso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: