Skip to content

Commit

Permalink
Get zabbix-agent to use a different config
Browse files Browse the repository at this point in the history
Avoid problems with images already running in wild.
  • Loading branch information
lzs committed Sep 14, 2020
1 parent 920fa5b commit fa99f12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ wget -O /tmp/zabbix-release_5.0-1+focal_all.deb https://repo.zabbix.com/zabbix/5
dpkg -i /tmp/zabbix-release_5.0-1+focal_all.deb
apt -y update
apt -y install zabbix-agent
# Use a different config
sed -i '/^Environment=/ s/zabbix_agentd.conf/zabbix_agentd_ioi.conf/' /etc/systemd/system/multi-user.target.wants/zabbix-agent.service

# Remove/clean up unneeded snaps

Expand Down

0 comments on commit fa99f12

Please sign in to comment.