Hello Zabbix Community,
I'm looking for the recommended best practice for setting up a tiered alerting strategy for specific Windows services discovered by LLD on Zabbix 7.4.
What I Want to Achieve
My goal is to have different monitoring rules for different services discovered by the standard service.discovery key on Windows hosts. For example:
- Default Monitoring: For most services, create a standard Warning trigger if the service stops.
- Delayed/Flapping Alert: For a specific service like GoogleUpdaterService (which restarts often), create an initial Information trigger, and only escalate to a Warning if it remains stopped for 2 hours.
- High-Priority Alert: For a critical service like GoogleDriveService, create an immediate High severity trigger.
I am using a cloned version of the "Windows by Zabbix agent" template and have explored a few architectures:
- Multi-Template Approach: I tried creating a main template that excludes the Google services via the {$SERVICE.NAME.NOT_MATCHES} macro, and a second template with its own discovery rule just for the Google services. This failed because a host cannot inherit two LLD rules with the same key (service.discovery).
- Single Template with LLD Overrides/Filters: This seems to be the modern, correct approach. My plan was to use a single discovery rule that finds all services, and then use Overrides or Filters on the trigger prototypes to apply the specific logic. However, I seem to be having some trouble locating the 'Filters' or 'Overrides' tabs on my trigger prototype screen.
- Static Items: As a workaround, I tried creating static items and triggers for the Google services. This works but is not ideal, as it won't automatically handle service name changes after an update (e.g., GoogleUpdaterServicebecoming GoogleUpdaterService141.0).
For Zabbix 7.4, what is the definitive, best-practice way to implement this kind of tiered alerting for discovered services? Is the single discovery rule with Overrides the recommended path?
Any guidance or examples would be greatly appreciated.
My Environment:
- Zabbix Server/Frontend Version: 7.4.0
- User Role: Super Admin
Patrick
Comment