Ad Widget

Collapse

Template "depth"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #1

    Template "depth"

    Hi,

    I'm wondering whether there's any limit (be it a "hard coded limit" or a "performance limit") on how deep templates can be cascaded/inherited.

    Ex:

    WebServer_t
    - item/trigger: HTTP port
    - item/trigger: ICMP Ping

    WebServer_Linux_t, linked with WebServer_t
    - item/trigger: SSH port

    WebServer_Linux_SNMP_t (same goes with agent), linked with WebServer_Linux_t
    - SNMP items/triggers: disk usage, custom scripts...

    Even WebServer_t could actually be the child of "Server_t" (which would have ICMP Ping while Webserver_t would only have HTTP).

    So far I haven't played with template inheritance. I've created simple "flat" templates like:

    Linux_SNMP_t
    - simple check ping + trigger
    - simple check ssh + trigger
    - simple check http + trigger
    - snmp query disk usage + trigger

    Windows_agent_t
    - simple check ping + trigger
    - simple check ssh + trigger
    - simple check tcp,3389 + trigger
    - agent disk usage + trigger

    And I end up with two "HTTP down" (on from each template/trigger) lines in the overview window. This also means I spend (waste !) more time creating each template.

    Well: is template inheritance limited in depth ? is it a performance killer ?

    Thanks !
    Calimero
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    There is no depth limit and the depth level does not affect performance at all.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Calimero
      Senior Member
      • Nov 2006
      • 481

      #3
      Sweet !

      Comment

      Working...