From 03d8ac7348f2b87e7f08dcd0daf8e7c4f926a65f Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Fri, 29 Mar 2019 13:32:10 +0100 Subject: [PATCH] add check function after update process --- scripts/upgrade | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 9bcf4fc..ed16b76 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -155,7 +155,13 @@ then cp -pf /tmp/zabbix.conf.php /usr/share/zabbix/conf/ rm -fr /tmp/zabbix* - + + #test if zabbix server is started + check_proc_zabbixagent + + #test if zabbix agent is started + check_proc_zabbixserver + else ynh_print_info "No update from repo ! (Already up to date)" fi