+Public first commit
This commit is contained in:
38
templates/custom.conf.j2
Normal file
38
templates/custom.conf.j2
Normal file
@@ -0,0 +1,38 @@
|
||||
### Option: Server
|
||||
# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
|
||||
# Incoming connections will be accepted only from the hosts listed here.
|
||||
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Server=
|
||||
|
||||
Server={{zabbix_server}},{{zabbix_proxies}}
|
||||
|
||||
### Option: ServerActive
|
||||
# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
|
||||
# If port is not specified, default port is used.
|
||||
# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
|
||||
# If port is not specified, square brackets for IPv6 addresses are optional.
|
||||
# If this parameter is not specified, active checks are disabled.
|
||||
# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ServerActive=
|
||||
|
||||
ServerActive={{zabbix_server}}
|
||||
|
||||
### Option: HostMetadataItem
|
||||
# Optional parameter that defines an item used for getting host metadata.
|
||||
# Host metadata is used at host auto-registration process.
|
||||
# During an auto-registration request an agent will log a warning message if
|
||||
# the value returned by specified item is over limit of 255 characters.
|
||||
# This option is only used when HostMetadata is not defined.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# HostMetadataItem=
|
||||
|
||||
HostMetadataItem=system.uname
|
||||
|
||||
45
templates/tls.conf.j2
Normal file
45
templates/tls.conf.j2
Normal file
@@ -0,0 +1,45 @@
|
||||
####### TLS-RELATED PARAMETERS #######
|
||||
|
||||
### Option: TLSConnect
|
||||
# How the agent should connect to server or proxy. Used for active checks.
|
||||
# Only one value can be specified:
|
||||
# unencrypted - connect without encryption
|
||||
# psk - connect using TLS and a pre-shared key
|
||||
# cert - connect using TLS and a certificate
|
||||
#
|
||||
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
|
||||
# Default:
|
||||
# TLSConnect=unencrypted
|
||||
|
||||
TLSConnect=psk
|
||||
|
||||
### Option: TLSAccept
|
||||
# What incoming connections to accept.
|
||||
# Multiple values can be specified, separated by comma:
|
||||
# unencrypted - accept connections without encryption
|
||||
# psk - accept connections secured with TLS and a pre-shared key
|
||||
# cert - accept connections secured with TLS and a certificate
|
||||
#
|
||||
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
|
||||
# Default:
|
||||
# TLSAccept=unencrypted
|
||||
|
||||
TLSAccept=psk
|
||||
|
||||
### Option: TLSPSKIdentity
|
||||
# Unique, case sensitive string used to identify the pre-shared key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSPSKIdentity=
|
||||
|
||||
TLSPSKIdentity={{zabbix_psk_id}}
|
||||
|
||||
### Option: TLSPSKFile
|
||||
# Full pathname of a file containing the pre-shared key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSPSKFile=
|
||||
|
||||
TLSPSKFile=/etc/zabbix/zabbix_agentd.psk
|
||||
BIN
templates/zabbix-official-repo.gpg
Normal file
BIN
templates/zabbix-official-repo.gpg
Normal file
Binary file not shown.
2
templates/zabbix.list.j2
Normal file
2
templates/zabbix.list.j2
Normal file
@@ -0,0 +1,2 @@
|
||||
deb http://repo.zabbix.com/zabbix/4.4/debian {{ansible_distribution_release}} main
|
||||
deb-src http://repo.zabbix.com/zabbix/4.4/debian {{ansible_distribution_release}} main
|
||||
1
templates/zabbix_agentd.psk.j2
Normal file
1
templates/zabbix_agentd.psk.j2
Normal file
@@ -0,0 +1 @@
|
||||
{{zabbix_psk}}
|
||||
Reference in New Issue
Block a user