Ad Widget

Collapse

Global regular expression not working - excluding Windows Services

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ciscoking1997
    Junior Member
    • Jun 2025
    • 3

    #1

    Global regular expression not working - excluding Windows Services

    Zabbix Experts I need your help with this sort of issues on the new version : zabbix server 7.0.3 LTS
    - Exclude services from automatic discovery
    - For ex. Service "RemoteRegistry" (Remote Registry) is not running (startup type automatic)
    - Disabling alerts for certain services zabbix server
    - Regular expressions

    Exclude services from automatic discovery - Zabbix 5 - ZABBIX Forums
    How to globally disable windows service checks - ZABBIX Forums
    Removing unwanted windows service status from the Active Agent template - ZABBIX Forums
    Exclude certain services from discovery - ZABBIX Forums
    Exclude GoogleUpdateService Trigger for Windows - ZABBIX Forums

    Last edited by ciscoking1997; 04-06-2025, 13:19.
  • ciscoking1997
    Junior Member
    • Jun 2025
    • 3

    #2
    This guy saved my life: How To Monitor Windows Services with ZABBIX ( Correct Way )

    The problem has been resolved - here is a Step by Step guide:

    1. Data collection > Templates > Search the name "Windows" > All Windows Templates should be listed >

    - Template OS Windows
    - Windows by Zabbix agent (7.0-0)
    - Windows by Zabbix agent active (7.0-0)

    2. In the discovery rules on all 3 templates shown above if you have more then please adjust them also > Windows services discovery > Discovery rule > Change the following values >

    - *Update interval -> 1h (if you're testing set to 1s or 1m)
    - *Delete lost resources > from 30d to immediately

    REMEMBER TO DO CHANGE IT FOR ALL THE 3 TEMPLATES

    3. Go to Administration > Regular expressions (remember this is global settings) > Windows service names for discovery > add all you're necessary expressions so that it will be excluded in the dashboard >

    For ex.
    Result is FALSE : ^(TrustedInstaller*)$
    Result is FALSE : ^sppvc
    Result Is FALSE : ^RemoteRegistry
    Result is FALSE : ^(GoogleUpdateInternalService.*)$
    Result is FALSE : ^(GoogleUpdaterService.*|WSearch|DoSvc)$
    Last edited by ciscoking1997; 04-06-2025, 13:07.

    Comment

    • ciscoking1997
      Junior Member
      • Jun 2025
      • 3

      #3
      Filters

      Template OS Windows
      A (#SERVICE.NAME) matches @Windows service names for discovery
      B (#SERVICE.STARTUPNAME) matches @Windows service startup states for discovery
      Windows by Zabbix agent (7.0-0) & - Windows by Zabbix agent active (7.0-0)
      A (#SERVICE.NAME) matches {$SERVICE.NAME.MATCHES}
      B (#SERVICE.NAME) does not match {$SERVICE.NAME.NOT_MATCHES}
      C (#SERVICE.STARTUPTIME) matches {$SERVICE.STARTUPNAME.MATCHES}
      D (#SERVICE.STARTUPTIME) does not match {$SERVICE.STARTUPNAME.NOT_MATCHES}

      Comment

      Working...