21 lines
590 B
Plaintext
21 lines
590 B
Plaintext
|
PidFile=/var/run/zabbix/zabbix_agent2.pid
|
||
|
LogType=file
|
||
|
LogFile=/var/log/zabbix/zabbix_agent2.log
|
||
|
LogFileSize=0
|
||
|
DebugLevel=2
|
||
|
Server={{ zabbix_server }}
|
||
|
ListenPort=10050
|
||
|
ListenIP={{ ansible_default_ipv4.address }}
|
||
|
ServerActive={{ zabbix_server }}
|
||
|
Hostname={{ ansible_hostname }}
|
||
|
HostMetadata={{ host_meta }}
|
||
|
RefreshActiveChecks=300
|
||
|
Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf
|
||
|
ControlSocket=/tmp/agent.sock
|
||
|
Include=./zabbix_agent2.d/plugins.d/*.conf
|
||
|
TLSAccept=psk
|
||
|
TLSConnect=psk
|
||
|
TLSPSKIdentity={{ psk_id }}
|
||
|
TLSPSKFile=/etc/zabbix/key.psk
|
||
|
UserParameter=get.sensors.data,/usr/bin/sensors -j
|