Hi,
I have set up LLD for systemd services and create items/triggers for specific services like rsyslog, ssh and chronyd via a filter and it works great.
What I want to do now is to set upp additional items/triggers if I fins a specific service, foremost I'm interested in setting upp monitoring of chronyd if that service is found.
Is it possible to do that via the same discovery? Or do i have to create a new discovery rule for that? It seems like i can't use the same key for two discoveries, so I have to do that some other way in that case.
I know how i want to monitor chronyd, via "UserParameter=chronysources,chronyc -n sources" and "UserParameter=chronytracking,chronyc tracking", but i only want to create those items/triggers if the service is found.
I am new to zabbix, and there is probably a "best practice" why to do this.
Any help would be appreciated.
I have set up LLD for systemd services and create items/triggers for specific services like rsyslog, ssh and chronyd via a filter and it works great.
What I want to do now is to set upp additional items/triggers if I fins a specific service, foremost I'm interested in setting upp monitoring of chronyd if that service is found.
Is it possible to do that via the same discovery? Or do i have to create a new discovery rule for that? It seems like i can't use the same key for two discoveries, so I have to do that some other way in that case.
I know how i want to monitor chronyd, via "UserParameter=chronysources,chronyc -n sources" and "UserParameter=chronytracking,chronyc tracking", but i only want to create those items/triggers if the service is found.
I am new to zabbix, and there is probably a "best practice" why to do this.
Any help would be appreciated.