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

 
(2 intermediate revisions by the same user not shown)
Line 25: Line 25:
 
==Discovered hosts default group==
 
==Discovered hosts default group==
  
You can set a '''configuration property''' for the default group of discovered hosts in:
+
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]]  
 
[[File:Zabbix discovery default group.png|1024px|caption|Zabbix discovery default group]]  
  
→ Administration >> General >> Other
+
 
 +
>> Adjust the ''Group for discovered hosts''
 +
 
  
  
Line 56: Line 58:
 
Checks:
 
Checks:
 
* ICMP ping
 
* ICMP ping
* SNMP v2
 
 
* SSH
 
* SSH
 
* Zabbix agent
 
* Zabbix agent
Line 76: Line 77:
  
 
You can set a ''' discovery action''' to register all Zabbix discovered hosts in a specific template.
 
You can set a ''' discovery action''' to register all Zabbix discovered hosts in a specific template.
 +
 +
→ Configuration >> Actions >> Discovery
  
 
[[File:Zabbix discovery default template.png|1024px|caption|Zabbix discovery default template]]  
 
[[File:Zabbix discovery default template.png|1024px|caption|Zabbix discovery default template]]  
  
→ Configuration >> Actions >> Discovery
 
  
  
Then you can either create a new one or edit an existing one.  
+
Then you can '''create''' or edit a discovery rule.
 +
 
 +
* Tab 1 '''Action''' : just put a name, set Enabled and let the default values
 +
 
 +
[[File:Zabbix discovery action tab1 actions.png|none|Zabbix discovery action tab1 actions]]
 +
 
  
* 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