Ad Widget

Collapse

How to disable a service discovery?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexE
    Junior Member
    • Aug 2017
    • 4

    #1

    How to disable a service discovery?

    we've recently installed and configured Zabbix 3.2 from scratch and on the whole it's working fine. now we would like to disable some of the alerts as they seem generally unnecessary. the problem we're having is disabling them across the board instead of individually by host.

    as an example:
    State of service "sppsvc" (Software Protection) (accessapp:service.info[sppsvc,state]): Stopped

    I can't seem to find where i can disable this for all hosts only individually. The hosts are only in one template (Template OS Windows) and i can't find the reference to this service discovery within.

    Any help is always appreciated.
  • terrrorr
    Junior Member
    • Jun 2017
    • 2

    #2
    Hello

    You can find discovery rules from the template you are using.

    - Choose Configuration from main menu
    - Choose Templates from sub-menu
    - Choose Discovery from end of the template you want to modify

    Now you can see all discovery rules from that template and you can choose which rule you enable of disable.

    I am not 100% sure does it mean that this rule will be then disabled from all existing configurations. If I remember correctly, it does not and you have to go through each existing host manually

    I hope this helps...

    Comment

    • allexpetrov
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2017
      • 361

      #3
      Originally posted by alexE
      we've recently installed and configured Zabbix 3.2 from scratch and on the whole it's working fine. now we would like to disable some of the alerts as they seem generally unnecessary. the problem we're having is disabling them across the board instead of individually by host.

      as an example:
      State of service "sppsvc" (Software Protection) (accessapp:service.info[sppsvc,state]): Stopped

      I can't seem to find where i can disable this for all hosts only individually. The hosts are only in one template (Template OS Windows) and i can't find the reference to this service discovery within.

      Any help is always appreciated.

      Hi Alex,
      so the best option for you would be to create your own template and start from scratch. This is the best way how you could control the metrics without any surprises. So you are using the default Windows template with Agent, and here what it contains and switched on by default:
      Code:
      {Template OS Windows:service.info[{#SERVICE.NAME},state].min(#3)}<>0
      and those are Trigger prototype for Low-Level Discovery ( https://www.zabbix.com/documentation...evel_discovery ) and the rule is located under Template Windows -> Discovery -> Windows service discovery. read that article about LLD and this would provide you with info how prototyping and discovery works.

      So in this case you should disable the trigger prototype itself, however I would like to recommend to you to use Custom templates. If you like some particular triggers or items - you can copy it to your custom template.

      Regards,
      Alex!

      Comment

      • alexE
        Junior Member
        • Aug 2017
        • 4

        #4
        hmm thanks that's exactly what i was looking for, however i now realised in my fumbling around i had already found it and disabled but it still seems to be on. any ideas why?
        Attached Files

        Comment

        • allexpetrov
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • May 2017
          • 361

          #5
          I think you should Unlink and clear , Save and then Relink it again

          Regards,
          Alex!

          Comment

          Working...