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

Trigger supports macros {ITEM.LASTVALUE} in expression function as parameter

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 7.0 (plan)
    • None
    • Server (S)
    • None

      We need to define a trigger expression that would count the number of occurrences of the last obtained value in the history for recent time.

      count(/host/item,time,minutes,"eq",{ITEM.LASTVALUE})>occurrencesOK

      The problem is with the trigger function count( ), which for comparison seems to use only a constant value and not the last obtained value.

      ::A typical example is monitoring logs with unsuccessful logins. If the last unsuccessful login was repeated x times in y minutes from the same IP. ::

      • We cannot have a predefined trigger for every possible IP on the internet.
      • I am also not sure if a dynamically created trigger with a filter for the last value in the count() function would be fast enough for an environment where sometimes several records are added to log with different IP per second.

            wiper Andris Zeila
            rajniak@egroup.sk Roman Rajniak
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: