- fix provisioners - move inline to scripts - fix scripts
This commit is contained in:
@@ -6,4 +6,10 @@ sudo dpkg -i zabbix-release_4.0-2+bionic_all.deb
|
||||
sudo apt-get update
|
||||
sudo apt-get install mc htop -y
|
||||
sudo apt install zabbix-agent -y
|
||||
sudo service zabbix-agent start
|
||||
sudo cp ~/zabbix_agentd.conf /etc/zabbix/
|
||||
sudo service zabbix-agent restart
|
||||
sudo update-rc.d zabbix-agent enable
|
||||
|
||||
sudo apt install nginx -y
|
||||
sudo systemctl enable nginx
|
||||
sudo systemctl start nginx
|
||||
|
@@ -17,11 +17,11 @@ sudo mysql -uroot -e "quit"
|
||||
|
||||
sudo zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | sudo mysql -uzabbix zabbix -pV7F4Uj12dcn5WAu
|
||||
|
||||
git clone https://github.com/vasyakrg/zabbix-alert-scripts.git /usr/lib/zabbix/alertscripts
|
||||
sudo git clone https://github.com/vasyakrg/zabbix-alert-scripts.git /usr/lib/zabbix/alertscripts
|
||||
sudo chown -R zabbix:root /usr/lib/zabbix/alertscripts
|
||||
|
||||
sudo cp ~/zabbix_server.conf /etc/zabbix
|
||||
sudo cp ~/apache.conf /etc/zabbix
|
||||
sudo cp ~/zabconf/zabbix_server.conf /etc/zabbix
|
||||
sudo cp ~/zabconf/apache.conf /etc/zabbix
|
||||
|
||||
sudo service apache2 restart
|
||||
sudo service zabbix-server start
|
||||
|
Reference in New Issue
Block a user