Ad Widget

Collapse

Zabbix – Are APIs mandatory to automate trigger dependencies?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • user.unkwown
    Junior Member
    • Jun 2026
    • 1

    #1

    Zabbix – Are APIs mandatory to automate trigger dependencies?

    Hello,

    In a multi‑site Zabbix environment, I am setting up trigger dependencies to reduce alert noise (network → hypervisor → VM).

    My question is simple:
    Is the Zabbix API mandatory to automate the creation of these dependencies when new hosts are added,
    or are there native mechanisms (templates, auto‑registration, built‑in rules) that allow this without using the API?

    The goal is to avoid any manual configuration at scale.

    Thanks in advance for your feedback.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1433

    #2
    You can encode the dependencies at the template level. That's what I did when I first deployed Zabbix at my workplace many years ago. Templates can be applied as part of the discovery process or manually, depending upon what makes the most sense for your environment.

    You will likely end up with some template proliferation, though. Unless you find a better way than I did, you'll likely have a "Datacenter A Base system", "Datacenter B Base system", etc.. Any add-on templates ("Datacenter B Domain Controller") may require a per-datacenter template copy too. My environment has a primary datacenter and two smaller off-shoots, so I only need a copy of a non-base template if we deploy some service in datacenter B or datacenter C. Cloning templates and tweaking a few triggers eases the process some.

    It's worked well for my site for more than 10 years, but I wouldn't call it perfect.

    Comment

    Working...