I was thinking maybe a zabbix template with a service item and trigger expression.The problem is I'm not sure how to approach building the expression. I need it to trigger if the service name matches from a list of services we want to monitor, and if the service is not in a running state.
Id like a centralized list of services in the template file that need to be monitored so the template can be applied to any node. If the expression finds a service that is in our watch list, it will check its state and alert if not running.
Is this approach valid? If so would this condition check be possible in Zabbix expressions? Checking a centralized list? Would that be stored as a list variable somewhere or would I have to put the list in the zabbix expression directly? What would this expression look like?
Appreciate any help.
Id like a centralized list of services in the template file that need to be monitored so the template can be applied to any node. If the expression finds a service that is in our watch list, it will check its state and alert if not running.
Is this approach valid? If so would this condition check be possible in Zabbix expressions? Checking a centralized list? Would that be stored as a list variable somewhere or would I have to put the list in the zabbix expression directly? What would this expression look like?
Appreciate any help.
Comment