Ad Widget

Collapse

Assigning multiple templates to a single host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yoglets
    Junior Member
    • Mar 2007
    • 1

    #1

    Assigning multiple templates to a single host

    Is it possible to assign multiple templates to a single host? I don't see any way to do this in 1.1.6. For example, I have a template named "Unix_Server" which checks basic things like memory usage, disk space usage, and CPU utilization. Then I have other templates like "Web_Server" or "Database_Server" which include additional checks. So for a Unix machine that's running a web server and a database server, I want to apply all three templates. It doesn't seem I can do this though, and so I'm forced to apply one, and then individually add each extra check from the other templates.
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,
    Originally posted by Yoglets
    Is it possible to assign multiple templates to a single host? I don't see any way to do this in 1.1.6.
    Yes and no. Yes, it is still doable, however, it is not supported. Unfortunately to do it, you need to manually modify the hosts_templates table in the Zabbix DB. Even then, it will only work for hosts added after the DB is altered.

    This functionality actually existed and was supported until sometime around Zabbix 1.1.2 when it inexplicably disappeared and was replaced by the new template system.
    Unofficial Zabbix Developer

    Comment

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

      #3
      Support of multiple templates is already implemented in 1.3.x (pre 1.4).
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...