install zabbix agent in the baseline
This commit is contained in:
parent
c7a3cb40e9
commit
1df77aa74d
7 changed files with 67 additions and 0 deletions
10
roles/baseline/templates/zabbix-agent.j2
Normal file
10
roles/baseline/templates/zabbix-agent.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Server={{ zabbix_server }}
|
||||
ServerActive=
|
||||
|
||||
TLSConnect=psk
|
||||
TLSAccept=psk
|
||||
TLSPSKFile=/etc/zabbix/zabbix.psk
|
||||
TLSPSKIdentity={{ inventory_hostname }}
|
||||
|
||||
|
||||
UserParameter=smartctl.health[*],sudo /usr/sbin/smartctl -H /dev/$1 | grep 'overall-health' | awk '{print $NF}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue