mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
change timeout zabbix agent
This commit is contained in:
parent
7f876ea2f9
commit
386adc6407
1 changed files with 2 additions and 0 deletions
|
@ -302,6 +302,8 @@ sed -i "s/DBName=zabbix/DBName=$db_name/g" /etc/zabbix/zabbix_server.conf
|
|||
sed -i "s/DBUser=zabbix/DBUser=$db_user/g" /etc/zabbix/zabbix_server.conf
|
||||
sed -i "126a DBPassword=$db_pwd" /etc/zabbix/zabbix_server.conf
|
||||
|
||||
ynh_replace_string --match_string="# Timeout=3" --replace_string="# Timeout=3\nTimeout=10" --target_file=/etc/zabbix/zabbix_agentd.conf
|
||||
|
||||
systemctl enable zabbix-server && systemctl start zabbix-server
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue