Difference between revisions of "Zabbix server configuration - create hosts group"

(Created page with "Category:Linux This explain how to create a new group of hosts and set the ''discovery'' default. =Create host group= First of all you need to create a new group for y...")
 
 
(3 intermediate revisions by the same user not shown)
Line 22: Line 22:
  
 
=Discovery=
 
=Discovery=
 +
 +
==Discovered hosts default group==
 +
 +
You can set the default group of discovered hosts in: Administration >> General >> Other
 +
 +
[[File:Zabbix discovery default group.png|1024px|caption|Zabbix discovery default group]]
 +
 +
 +
>> Adjust the ''Group for discovered hosts''
 +
 +
 +
 +
  
 
==Discovery rule==
 
==Discovery rule==
 +
 +
 +
===Create new rule===
  
 
You can create a new Discovery rule using the "''create discovery rule''" button. Create a '''Local network''' rule:
 
You can create a new Discovery rule using the "''create discovery rule''" button. Create a '''Local network''' rule:
Line 42: Line 58:
 
Checks:
 
Checks:
 
* ICMP ping
 
* ICMP ping
* SNMP v2
 
 
* SSH
 
* SSH
 
* Zabbix agent
 
* Zabbix agent
Line 59: Line 74:
  
  
==Discovery default group==
+
===Set default template===
  
You can set a '''configuration property''' for the default group of discovered hosts in:
+
You can set a ''' discovery action''' to register all Zabbix discovered hosts in a specific template.
  
[[File:Zabbix discovery default group.png|1024px|caption|Zabbix discovery default group]]
+
→ Configuration >> Actions >> Discovery
  
→ Administration >> General >> Other
+
[[File:Zabbix discovery default template.png|1024px|caption|Zabbix discovery default template]]
  
  
  
==Discovery default template==
+
Then you can '''create''' or edit a discovery rule.
  
You can set a ''' discovery action''' to register all Zabbix discovered hosts in a specific template.
+
* Tab 1 '''Action''' : just put a name, set Enabled and let the default values
  
[[File:Zabbix discovery default template.png|1024px|caption|Zabbix discovery default template]]  
+
[[File:Zabbix discovery action tab1 actions.png|none|Zabbix discovery action tab1 actions]]
  
→ Configuration >> Actions >> Discovery
 
  
 
Then you can either create a new one or edit an existing one.
 
 
* Tab 1 '''Action''' : just put a name and set Enabled
 
 
* Tab 2 '''Conditions''' : let the default options  
 
* Tab 2 '''Conditions''' : let the default options  
  
 
[[File:Zabbix discovery action tab2 conditions.png|none|Zabbix discovery action tab2 conditions]]  
 
[[File:Zabbix discovery action tab2 conditions.png|none|Zabbix discovery action tab2 conditions]]  
 +
  
 
* Tab 3 '''Operations''' : set the default template
 
* Tab 3 '''Operations''' : set the default template
  
 
[[File:Zabbix discovery action tab3 operations.png|none|Zabbix discovery action tab3 operations]]
 
[[File:Zabbix discovery action tab3 operations.png|none|Zabbix discovery action tab3 operations]]

Latest revision as of 13:32, 28 October 2014


This explain how to create a new group of hosts and set the discovery default.


Create host group

First of all you need to create a new group for your current appliance.

→ Configuration menu >> Host groups >> Create host group

Zabbix create host group


>> You can import template as dependency.

Zabbix create host group 02



Discovery

Discovered hosts default group

You can set the default group of discovered hosts in: Administration >> General >> Other

Zabbix discovery default group


>> Adjust the Group for discovered hosts



Discovery rule

Create new rule

You can create a new Discovery rule using the "create discovery rule" button. Create a Local network rule:

Zabbix discovery rule

→ Configuration >> Discovery


Then you should have the following settings:

Zabbix discovery rule 02


IP range: your network


Checks:

  • ICMP ping
  • SSH
  • Zabbix agent


Uniqueness: IP


!!! If you use Zabbix agent "system.uname" as unique criteria you might encounter a problem !!!

  • Dicovery Zabbix agent will bring back the FQDN of the server
  • Template rules are based on the short name of the server

So, with Zabbix agent some template item won't work !!



Set default template

You can set a discovery action to register all Zabbix discovered hosts in a specific template.

→ Configuration >> Actions >> Discovery

Zabbix discovery default template


Then you can create or edit a discovery rule.

  • Tab 1 Action : just put a name, set Enabled and let the default values
Zabbix discovery action tab1 actions


  • Tab 2 Conditions : let the default options
Zabbix discovery action tab2 conditions


  • Tab 3 Operations : set the default template
Zabbix discovery action tab3 operations