Difference between revisions of "Zabbix create template"

Line 6: Line 6:
 
Key points:
 
Key points:
  
# Zabbix configuration rely on '''templates''' = set of applications, items, triggers and actions.
+
Zabbix configuration rely on '''templates'''. This is the monitoring principle:
 +
 
 +
[[File:ZabbixPrinciple_01.png.png|1024px|caption|Zabbix template principle]]
 +
 
 +
 
 +
# A '''templates''' is a set of applications, items, triggers and actions
  
 
# Each ''template'' has a list of '''applications'''
 
# Each ''template'' has a list of '''applications'''
 +
Each ''application'' is either a specific type of data or a dedicated software.
 +
 +
# Each ''application'' has a set of '''items'''
 +
Each ''item'' is bound to a specific property | event of the related application.
  
# Each ''application'' has a set of '''items''' = datasource
+
# Each ''item'' can be bound to one or many '''triggers'''
 +
When all the trigger's conditions are meet it will:
 +
* Create a specific Zabbix event
 +
* Set an alarm level. Alarm will disapear automatically when conditions are back to normal
  
# Each ''item'' has some '''triggers''' = conditions to raise an event with a specific alert level and type
 
  
# Each ''trigger'' is bound to some '''actions''' = action to perform on when the trigger event is sent. A trigger can rely on many items.
 
  
 
# Each '''host''' belongs to one or more '''groups'''. Each ''group'' has some related ''templates'' they apply to their ''hosts''
 
# Each '''host''' belongs to one or more '''groups'''. Each ''group'' has some related ''templates'' they apply to their ''hosts''
 
+
 
 
  
 
=Access templates=
 
=Access templates=

Revision as of 11:12, 25 June 2015


Vocable

Key points:

Zabbix configuration rely on templates. This is the monitoring principle:

Zabbix template principle


  1. A templates is a set of applications, items, triggers and actions
  1. Each template has a list of applications

Each application is either a specific type of data or a dedicated software.

  1. Each application has a set of items

Each item is bound to a specific property | event of the related application.

  1. Each item can be bound to one or many triggers

When all the trigger's conditions are meet it will:

  • Create a specific Zabbix event
  • Set an alarm level. Alarm will disapear automatically when conditions are back to normal


  1. Each host belongs to one or more groups. Each group has some related templates they apply to their hosts


Access templates

Zabbix template access

→ Configuration menu >> Templates


Don't forget to choose the group of template you want to see.


Create new template

You can request a new template creation from the template menu:

Zabbix template 01 create template

→ Configuration menu >> Templates >> Create template


Then, you just have to fill up the forms:

  • Tab 1 Template : Give a template a name. Template name = Visible name


  • Tab 2 Linked templates : If you plan to use Linux then create a link to Template OS Linux. Otherwise, create a link to Zabbix agent.


Zabbix create template tab2


  • Tab 3 Macros : nothing to do over here !