Ad Widget

Collapse

Applications?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clahti
    Senior Member
    • Jan 2007
    • 126

    #1

    Applications?

    Hello all:

    After a brief sabbatical I am now taking another look at Zabbix now that 1.4 has been released. Regarding "Applications" I like how the Linux_Template categorizes the view under latest data depending on the applications it has been assigned to. HOWEVER, this template has LOTS of stuff that I don't need for host-x while host-y has other needs.

    For example:
    host-x has mounted volumes (/) (/boot)
    host-y has mounted volumes (/) (/boot) (/home) (/export)

    Rather than use the Linux_Template which defines a bunch of mountpoints I dont need (like /opt and /var) I have created a bunch of mini templates for mount and on a given host add the applicable templates. I have also done this for network devices (eth0, eth1, bond0, bond1, etc.) SO now my real question: How do I define an "Application" that includes all the ethernet devices? This would give me the sweet tree view in Latest Data like the Linux_Template does, but there is no way to add multiple templates to an application. Furthermore if I define an application for each network template called "Network Devices" and then try to add eth0 and eth1 templates to a given host I get an error message about a template conflict.

    So the relationship Template has->many Applications makes no sense to me, should it not be Application has->many Templates? The Linux_Template is a good reference but almost useless because after applying it to a host I need to go into the items and disable all the stuff that does not apply to this particular host which is very tedious. It seems to me each item or a template of items should be applied to an Application (which in my view is really a category, is it not?)

    Maybe I am confused about this feature.

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

    #2
    Originally posted by clahti
    SO now my real question: How do I define an "Application" that includes all the ethernet devices?
    In each of mini-templates you define:

    Template1: Network devices (eth0, eth1)
    Template2: Network devices (bond0, bond1)

    So, when you create a new host from both Template1 and Template2, all items (eth0, eth1, bond0, bond1) will be under one application 'Network devices' as expected
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...