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

Windows eventlog <source> parameter matches case insensitive

    XMLWordPrintable

Details

    • Documentation task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.0.43, 4.0.44
    • 4.0.45rc1
    • Documentation (D)
    • Team D
    • Documenation backlog
    • 1

    Description

      In windows event log monitoring, the parameter <source>:

      eventlog[name,<regexp>,<severity>,<source>,<eventid>,<maxlines>,<mode>]
      

      Matches case insensitive. Seems that this is done on purpose:
      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/zabbix_agent/eventlog.c#1040-1047

      Example of this would look like this:

      eventlog[System,,Error,"^MYTEST$",,,skip]
      

      and all messages like these are matched:

      MYTEST Error 999 This is a test 
      MYTest Error 999 This is a test 
      MYTesT Error 999 This is a test 
      

      Please include this detail in the documentation.

      Attachments

        Activity

          People

            nburisina Natalija Burisina
            ksalins Karlis Salins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: