feat: initial commit
This commit is contained in:
commit
0830507cf7
20 changed files with 459 additions and 0 deletions
25
templates/zabbix/zabbix_agent.conf.j2
Normal file
25
templates/zabbix/zabbix_agent.conf.j2
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# general
|
||||
Hostname={{ zabbix_agent_hostname | default(inventory_hostname) }}
|
||||
Server={{ zabbix_proxy_address }}
|
||||
ServerActive={{ zabbix_proxy_address }}
|
||||
ListenPort=10050
|
||||
HostMetadataItem=system.uname
|
||||
HostInterface={{ zabbix_agent_hostinterface | default(inventory_hostname) }}
|
||||
AllowKey=system.run[*]
|
||||
Timeout=30
|
||||
LogType=system
|
||||
DebugLevel=1
|
||||
|
||||
{% if zabbix_agent_psk_enable %}
|
||||
# psk
|
||||
TLSConnect=psk
|
||||
TLSAccept=psk
|
||||
TLSPSKIdentity={{ zabbix_agent_psk_id }}
|
||||
TLSPSKFile=/etc/zabbix/zabbix_agent.psk
|
||||
{% endif %}
|
||||
|
||||
# advanced parameters
|
||||
Include=/etc/zabbix/zabbix_agent2.d/*.conf
|
||||
Include=/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf
|
||||
PluginSocket=/run/zabbix/agent.plugin.sock
|
||||
ControlSocket=/run/zabbix/agent.sock
|
||||
1
templates/zabbix/zabbix_agent.psk.j2
Normal file
1
templates/zabbix/zabbix_agent.psk.j2
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{ zabbix_agent_psk }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue