Ad Widget

Collapse

Count triggers in low level discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AkvenJan
    Junior Member
    • Jun 2021
    • 19

    #1

    Count triggers in low level discovery

    I have LLD for users on GPON device
    I check their status via LLD and fire two triggers for LOS and dying-gasp
    for example
    user 1 status - ok
    user 2 status - LOS
    user 3 status - dying-gasp
    and so on (every device being discovered for number of connected users)

    And I need to somehow create a trigger with higher severity to be created only if there are more than X users with dying-gasp or LOSI on this device

    If there is any way to do it with tags maybe? I couldn't find any good examples in google
  • AkvenJan
    Junior Member
    • Jun 2021
    • 19

    #2
    Originally posted by splitek
    Maybe some examples? Zabbix official documentary is absolutely unuseful in most cases. I don't see anything useful in overrides documentation.
    What I need is too count how many triggers were created in the last N minutes with the same reason (with the same tag). For example, 10 incidents were created with the reason Loss of Signal in the last 5 minutes. So I need a new summary incident "Cable has been cut" or something.
    But if only 2 Loss of Signal incidents were created - no new incidents are needed.

    Device doesn't have OID for client states summary (26 or, 52 dying-gasp, 13 loss and so on). I can only check status of each client id, and whole clients discovery thing is made by LLD discovery.

    And Zabbix can't do anything arithmetical with LLD metrics like client1.value+client2.value+...+clientN.value (in this case I could javascript value output to LOSS = 1).

    Comment

    • AkvenJan
      Junior Member
      • Jun 2021
      • 19

      #3
      I need to know when there is more than 10 people with loss of signal
      How can I do that? All I have is a state of modem found by LLD

      Comment

      Working...