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 | ||
− | |||
* SSH | * SSH | ||
* Zabbix agent | * Zabbix agent | ||
Line 59: | Line 74: | ||
− | == | + | ===Set default template=== |
− | You can set a ''' | + | 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]] | |
− | + | 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 | + | [[File:Zabbix discovery action tab1 actions.png|none|Zabbix discovery action tab1 actions]] |
− | |||
− | |||
− | |||
− | |||
− | |||
* 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.
Contents
Create host group
First of all you need to create a new group for your current appliance.
→ Configuration menu >> Host groups >> Create host group
>> You can import template as dependency.
Discovery
Discovered hosts default group
You can set the default group of discovered hosts in: Administration >> General >> Other
>> 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:
→ Configuration >> Discovery
Then you should have the following settings:
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
Then you can create or edit a discovery rule.
- Tab 1 Action : just put a name, set Enabled and let the default values
- Tab 2 Conditions : let the default options
- Tab 3 Operations : set the default template