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

redundant/doubled "clr_optimization_v.+" regexp match in Windows services template

XMLWordPrintable

    • Sprint 89 (Jun 2022)
    • 0.5

      In template "Windows services by Zabbix agent" (and for active too) a macro {$SERVICE.NAME.NOT_MATCHES} contains this part:

      ...|clr_optimization_v.+|clr_optimization_v.+|...
      

      It's redundant.
      It probably happened historically when we had (4.0-6.0, so still have it) this global regexp defined:

      Windows service names for discovery
      ^(MMCSS|gupdate|SysmonLog|clr_optimization_v2.0.50727_32|clr_optimization_v4.0.30319_32)$
      [Result is FALSE]
      

      It probably was a source of such doubled macros for the newer template version, which were shortened later to be universal.
      The redundant one should be removed now to not mislead anyone.

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/windows_agent_active/template_os_windows_agent_active.yaml?at=refs%2Fheads%2Frelease%2F6.0#1641 .

            drasikhov Denis Rasikhov
            zalex_ua Oleksii Zagorskyi
            Team INT
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: