- fix zabbix conf

This commit is contained in:
Frogg 2026-05-13 12:57:14 +02:00
parent 6270d72f26
commit 9b62d74403
2 changed files with 3 additions and 3 deletions

View File

@ -48,6 +48,6 @@ CONFIG_DEB_INSTALL_JSON='[
{"id": "apparmor", "label": "Configurer AppArmor (Kernel)", "type": "sys", "params": "apparmor"},
{"id": "fail2ban", "label": "Configurer Fail2Ban", "type": "sys", "params": "fail2ban"},
{"id": "ufw", "label": "Configurer Firewall (UFW)", "type": "sys", "params": "ufw"},
{"id": "zabbix_update", "label": "Configurer le client ZABBIX", "type": "sys", "params": "zabbix_update"},
{"id": "zabbix_conf", "label": "Configurer le client ZABBIX", "type": "sys", "params": "zabbix_conf"},
{"id": "ntp", "label": "Configurer Heure Française", "type": "sys", "params": "ntp"}
]'

View File

@ -58,7 +58,7 @@ check_deb_sys_zabbix(){
fi
}
check_deb_sys_zabbix_update(){
check_deb_sys_zabbix_conf(){
if dpkg -s zabbix-agent >/dev/null 2>&1; then
return 1
else
@ -416,7 +416,7 @@ do_deb_sys_zabbix(){
msg_success "Zabbix agent configuré."
}
check_deb_sys_zabbix_update(){
check_deb_sys_zabbix_conf(){
local ip
read -rp "IP Zabbix [${CONFIG_DEB_INSTALL_ZABBIX_SERVER_IP}]: " ip;
ip=${ip:-${CONFIG_DEB_INSTALL_ZABBIX_SERVER_IP}}