Ad Widget

Collapse

How to create trigger or trigger prototype for not yet existing item?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • minri
    Junior Member
    • Mar 2023
    • 3

    #1

    How to create trigger or trigger prototype for not yet existing item?

    I am trying to create template for our FreeRADIUS installations monitoring. I configured autodiscovery rule to discover all the items from the status. And I would like to keep it that way because FreeRADIUS gives out quite a few statistics items.

    And I want to add trigger to check if radiusd is answering the requests. It needs to combine several items. E.g. at very least to check if Accounting-Responses is about equal to Accounting-Requests. But I cannot create the trigger because at the time items for Accounting-Requests and Accounting-Responses do not exist yet.

    So how can I create such trigger?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    If you have discovery with item prototypes, then you just add trigger prototypes...

    Comment

    • minri
      Junior Member
      • Mar 2023
      • 3

      #3
      With trigger prototypes I can easily add trigger per item. And that trigger would react only to that one item.

      What I want is to add trigger which combines several from discovered items. E.g. DISCOVERED_ITEM3 < DISCOVERED_ITEM5*0.90.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        ah ... got the point...
        But I'm afraid you cannot do that via discovery.. As you pointed, discovery deals with a single item at once and does not mix them..

        Comment

        • minri
          Junior Member
          • Mar 2023
          • 3

          #5
          I could do it not via discovery. But anyway Zabbix does not allow to create trigger for the item which not yet exists.

          So the question was about that - is it possible to create Zabbix trigger which points to not yet existing item?

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #6
            Nope....you can not do that..

            Comment

            Working...