Remove old files
This commit is contained in:
parent
9691d7dc5d
commit
198f7648d2
@ -29,7 +29,7 @@
|
||||
|
||||
- name: Configure zabbix agent service
|
||||
ansible.builtin.template:
|
||||
src: ../templates/zabbix_agentd2.conf
|
||||
src: ../templates/zabbix_agentd2.j2
|
||||
dest: /etc/zabbix/zabbix_agent2.conf
|
||||
owner: zabbix
|
||||
group: zabbix
|
||||
|
@ -1,20 +0,0 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user