Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19916

count() function inconsistency with frontend and documentation

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 5.4.5rc1, 6.0.0alpha1
    • None
    • None
    • Team B

    Description

      Accordingly to Documentation: https://www.zabbix.com/documentation/current/manual/appendix/functions/history

      count() function's second parameter (time period) is mandatory. In frontend it is not possible to create such item or trigger without given time period in count function:

      But if such function is passed to Zabbix server, for example in macro in action messages or media type templates: {?count(//trap)}, then such macro is resolved and function result is always 1.

      Need to understand which behavior is correct and unify server, frontend and documentation.

      Attachments

        Activity

          People

            asestakovs Aleksejs Sestakovs
            larisa.grigorjeva Larisa Grigorjeva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: