Ad Widget

Collapse

Excluding Windows Services not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msdPeter
    Junior Member
    • Feb 2021
    • 10

    #1

    Excluding Windows Services not working

    Hello!

    I´m brand new to Zabbix and still learning to do things. One thing that does not work is excluding Windows services from triggering.

    I have several server and most of them trigger the "Windows Update" and "Smartcard" and some other not-running-alert. I have read that I need to insert an exception into "Configuration/Templates/Windows services by Zabbix agent/Discovery Rules/Windows services discovery/Filters" like this:

    C {#SERVICE.NAME} does not match ^(WbioSrvc|KDService|Smartcard|edgeupdate|Windows Update)$

    But the servers still trigger those alerts. What might I be doing wrong?

    Thanks for your help and kind regards!
  • Taomyn
    Junior Member
    • Feb 2021
    • 21

    #2
    I was facing similar with a few manual services being temporarily changed by system processes to auto then back to manual, and then triggering the alerts - this apparently is normal on Windows. The way I found to fix it was to modify the template being used by the hosts, which looks like this

    Click image for larger version

Name:	Screenshot 2021-02-18 084903.png
Views:	2168
Size:	60.7 KB
ID:	419015

    The "BITS" service is one I added, but I suppose it can be overridden on a host basis as well according to the description.

    I think I had to also remember to delete the unwanted trigger on the hosts as well as they are not removed - I could be wrong though.
    Attached Files

    Comment

    • msdPeter
      Junior Member
      • Feb 2021
      • 10

      #3
      Thanks, Taomyn! That worked very well :-)

      Comment

      Working...