doc/24-Working-with-agents: some text, screenshots
@ -77,7 +77,7 @@ dedicated templates for your zones. Usually this requires one template
|
|||||||
per Satellite zone.
|
per Satellite zone.
|
||||||
|
|
||||||
You are not required to deal with Agent Zones, as the Director does
|
You are not required to deal with Agent Zones, as the Director does
|
||||||
this for you. Please refer to [Working with agents](14-Working-with-agents.md)
|
this for you. Please refer to [Working with agents](24-Working-with-agents.md)
|
||||||
for related examples.
|
for related examples.
|
||||||
|
|
||||||
Currently the GUI does not allow you to set the zone property on single
|
Currently the GUI does not allow you to set the zone property on single
|
||||||
|
29
doc/24-Working-with-agents.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
Working with Agents and Config Zones
|
||||||
|
====================================
|
||||||
|
|
||||||
|
Working with Icinga 2 Agents can be quite tricky, as each Agent needs
|
||||||
|
it's own Endpoint and Zone definition, correct parent, peering host and
|
||||||
|
log settings. There may always be reasons for a completely custom-made
|
||||||
|
configuration. I'd however strongly suggest to give the Director-assisted
|
||||||
|
variant at least a try first. It might safe you a lot of headaches.
|
||||||
|
|
||||||
|
Preparation
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Agent settings are not available for modification directly on a host
|
||||||
|
object. This requires you to create an "Icinga Agent" template. You
|
||||||
|
could name it exactly like that, it's important to use meaningful names
|
||||||
|
for your templates.
|
||||||
|
|
||||||
|
As long as you're not using Satellite nodes a single Agent zone is all
|
||||||
|
you need. Otherwise you should create one Agent template per satellite
|
||||||
|
zone. If you want to move an Agent to a specific zone just assign it
|
||||||
|
the correct template and you're all done.
|
||||||
|
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-----
|
||||||
|
|
||||||
|
Once you import the "Icinga Agent" template you'll see a new "Agent" tab.
|
||||||
|
It tries to assist you with the initial Agent setup by showing a sample
|
||||||
|
config
|
BIN
doc/screenshot/director/24-agents/2401_agent_template.png
Normal file
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 58 KiB |
BIN
doc/screenshot/director/24-agents/2405_agent_preview.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
doc/screenshot/director/24-agents/2406_agent_based_service.png
Normal file
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 47 KiB |