Ajout de freesms à l'initialisation
This commit is contained in:
parent
9302864751
commit
4712c0edf5
@ -15,6 +15,10 @@ zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -u${DB_USER} -p${
|
||||
echo "DBPassword=${DB_PASSWORD}" >> /etc/zabbix/zabbix_server.conf.d/db.conf
|
||||
sed "s@^\$DB['PASSWORD'].*$@\$DB['PASSWORD'] = \'${DB_PASSWORD}\';@g" /usr/share/zabbix/conf/zabbix.conf.php.example > /etc/zabbix/web/zabbix.conf.php
|
||||
|
||||
wget -qO /usr/bin/freesms https://gitlab.blorand.org/benoit/helper-scripts/raw/branch/master/sms/freesms
|
||||
wget -Qo /usr/lib/zabbix/alertscripts/freesms https://gitlab.blorand.org/benoit/helper-scripts/raw/branch/master/sms/freesms.zabbix_alert_script
|
||||
chmod +x /usr/lib/zabbix/alertscripts/freesms /usr/bin/freesms
|
||||
|
||||
systemctl --now enable zabbix-server zabbix-agent nginx php7.3-fpm
|
||||
|
||||
systemctl --now mask zabbix-init.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user