fixed typo added line to disable zabbix active checks
This commit is contained in:
3
debian/debian-install-zabbix.sh
vendored
3
debian/debian-install-zabbix.sh
vendored
@@ -15,8 +15,7 @@ sudo systemctl restart zabbix-agent2
|
||||
sudo systemctl enable zabbix-agent2
|
||||
|
||||
sed -i 's/Server=127.0.0.1/Server=192.168.1.44/g' /etc/zabbix/zabbix_agent2.conf
|
||||
sed -i 's/ServerActive=127.0.0.1/ServerActive=192.168.1.44/g' /etc/zabbix/zabbix_agent2.conf
|
||||
sed -i "s/Hostname=Zabbix server/Server=$HOSTNAME/g" /etc/zabbix/zabbix_agent2.conf
|
||||
sed -i "s/Hostname=Zabbix server/Hostname=$HOSTNAME/g" /etc/zabbix/zabbix_agent2.conf
|
||||
|
||||
if command -v docker &> /dev/null
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user