Ad Widget

Collapse

Zabbix 6 - Windows Service Monitoring

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Punster Madhatter
    Junior Member
    • Dec 2020
    • 7

    #1

    Zabbix 6 - Windows Service Monitoring

    Hello
    I have fresh install of Zabbix 6 on Ubuntu 20.04 and I have added a few Windows Servers to Zabbix using the "Zabbix agent active".
    After a some time some Windows services report problems and I want to disable monitoring of a few Windows services.

    I have searched these forums and Google without any success on how to disable certain Windows services from monitoring.

    Can some on describe the correct procedure to accomplish this?
  • Answer selected by Punster Madhatter at 26-02-2022, 18:35.
    tikkami
    Member
    • May 2018
    • 71

    Use these macros
    {$SERVICE.NAME.MATCHES}
    {$SERVICE.NAME.NOT_MATCHES}
    {$SERVICE.STARTUPNAME.MATCHES}
    {$SERVICE.STARTUPNAME.NOT_MATCHES}

    https://git.zabbix.com/projects/ZBX/...Frelease%2F6.0

    Comment

    • tikkami
      Member
      • May 2018
      • 71

      #2
      Use these macros
      {$SERVICE.NAME.MATCHES}
      {$SERVICE.NAME.NOT_MATCHES}
      {$SERVICE.STARTUPNAME.MATCHES}
      {$SERVICE.STARTUPNAME.NOT_MATCHES}

      https://git.zabbix.com/projects/ZBX/...Frelease%2F6.0

      Comment

      • Punster Madhatter
        Junior Member
        • Dec 2020
        • 7

        #3
        Hello

        Thank you for your reply.
        You mean like this.Click image for larger version

Name:	Zabbix.png
Views:	4015
Size:	103.1 KB
ID:	440509

        PS I will also need to delete and re-create the hosts for these settings to apply I guess.

        Comment

        • tikkami
          Member
          • May 2018
          • 71

          #4
          No, you don't need to recreate hosts.
          You need to wait until LLD is being run next time (default interval is 1h).
          Because you are using active agents, you can't rerun discovery rules from frontend.

          If the service is not discovered anymore by LLD, that item is marked to be deleted after keep period (default period is 30d).
          Now item can be deleted manually and it won't be discovered anymore.

          Comment

          • Punster Madhatter
            Junior Member
            • Dec 2020
            • 7

            #5
            Great. Thank you for clarification. Very helpful.

            Comment

            Working...