changed dash to underscore
This commit is contained in:
6
debian/debian-install-zabbix.sh
vendored
6
debian/debian-install-zabbix.sh
vendored
@@ -14,9 +14,9 @@ sudo apt install -y zabbix-agent2
|
||||
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/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
|
||||
|
||||
if command -v docker &> /dev/null
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user