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

Incorrect filter condition in discovery rule 'Job discovery' for 'Template - Database Microsoft SQLServer General ODBC'

    XMLWordPrintable

Details

    • Team INT
    • Sprint 89 (Jun 2022)
    • 0.5

    Description

      The template 'Template - Database Microsoft SQLServer General ODBC' discovery rule 'Job discovery' filter 'Type of calculation' should be 'AND' rather than 'And/Or'.

      Otherwise it will discovery any Jobnames that match the the included OR excluded macros {$MSSQL.JOB.MATCHES} OR {$MSSQL.JOB.NOT_MATCHES}.

      As a result of the 'Type of calculation' any job that does not match {$MSSQL.JOB.NOT_MATCHES} will be discovered regardless of matching {$MSSQL.JOB.MATCHES}.

      This aligns with the filter logic for 'Database discovery'.

      Also just a note in general for any templates using Regular expressions for filtering specific fields; to ensure critical fields that are used in item/trigger/graph prototypes are not 'Blank' it probably should be '.' or '^.$' otherwise you may end up with a whole bunch of blank information where ever you use the discovery macro with '.*'.

       

       

      Attachments

        Activity

          People

            drasihov Denis Rasihov (Inactive)
            james.cook000@gmail.com James Cook
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: