Ad Widget

Collapse

Proper way to remove unneeded service checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eric859
    Junior Member
    • Dec 2023
    • 13

    #1

    Proper way to remove unneeded service checks

    I added all my windows server and have been getting a log of Problems regarding services set to some type of automatic that aren't running. Some of these services don't run all the time I think, so I'd like to stop any and all alerts regarding these services. When I'm in the Monitor -> Problems page, should I delete the Item or the Trigger for that item? Not sure which would be the best practice here.

    Edit: I did some more research here and now I'm thinking that I should edit the {$SERVICE.NAME.NOT_MATCHES} macro to match these services. Since some have names that start with the same word but then append seemingly random numbers for each client. For example. My Clipboard service name is cbdhsvc_3b396a which is different on each host. I think I can add "|cbdhsvc_.+" to the end of the "Value" and it should disregard all those Clipboard services found on every Windows server. Is this the recommended approach?
    Last edited by eric859; 19-07-2024, 14:55.
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Yes, using the user macros in the host level (inherited from the template) is the recommended way to include/exclude things in monitoring. The details of course depend on the case, but the strategy you outlined sounds fine.

    Markku

    Comment

    Working...