Ad Widget

Collapse

Regular expressions not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cw_2147
    Junior Member
    • Feb 2024
    • 2

    #1

    Regular expressions not working

    Hi,

    I'm not sure what I am doing wrong but I am trying to stop Windows auto detection for service not creating an entry for a number of services that I keep getting notified for. I have gone into Administation > General > Regular Expressions and modified the rule for Windows service names for discovery and added the following

    ^(MMCSS|gupdate|SysmonLog|clr_optimization_v2.0.50 727_32|clr_optimization_v4.0.30319_32|edgeupdate|s ppsvc|RemoteRegistry|GoogleUpdate.*)$

    But the edgeupdate and Googleupdate and windows clipboard entries keep notifying. Have I got something wrong in the expression?
    Do I need to remove and re-add the server once the expression is updated?

    Thanks
    Chris
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Templates nowadays do not use those global regexes... They are defined in template macros...

    Comment

    • cw_2147
      Junior Member
      • Feb 2024
      • 2

      #3
      Yes I found after doing more research that I need to add it to Data Collection > Templates > Windows Service by Zabbix Agent (and active) > Macros. I have modified these but I am still getting notifications for edgeupdate and GoogleUpdaterService. I modified the {$SERVICE.NAME.NOT_MATCHES} and then deleted those particular items but they just keep coming back.

      Do i need to delete the whole server?

      Comment

      Working...