Ad Widget

Collapse

LLD and additional items/triggers if specific service found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tyldak
    Junior Member
    • Mar 2021
    • 1

    #1

    LLD and additional items/triggers if specific service found

    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.
Working...