feat: move stuff around for testing
This commit is contained in:
parent
c14dd49576
commit
9d117e9fb8
11 changed files with 6 additions and 1 deletions
1
templates/sudoers.d/zabbix.j2
Normal file
1
templates/sudoers.d/zabbix.j2
Normal file
|
|
@ -0,0 +1 @@
|
|||
zabbix ALL=(ALL) NOPASSWD: ALL
|
||||
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 }}:{{ zabbix_proxy_port }}
|
||||
ListenPort={{ zabbix_agent_listen_port }}
|
||||
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