From ec68096e528960096ffddf59b39ab75f99b8395b Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 16 Jul 2024 15:20:22 +0800 Subject: [PATCH] Update debian.sh --- plugins/zabbix/versions/7.0/debian.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/zabbix/versions/7.0/debian.sh b/plugins/zabbix/versions/7.0/debian.sh index c0de92462..4c14bc3a9 100644 --- a/plugins/zabbix/versions/7.0/debian.sh +++ b/plugins/zabbix/versions/7.0/debian.sh @@ -12,6 +12,7 @@ install_tmp=${rootPath}/tmp/mw_install.pl SYS_VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` +# zabbix_get -s 154.12.53.216 -k agent.ping Install_App() { mkdir -p $serverPath/source/zabbix @@ -25,7 +26,7 @@ Install_App() cd $serverPath/source/zabbix && dpkg -i ${ZABBIX_NAME} apt update -y - apt install -y zabbix-frontend-php zabbix-sql-scripts zabbix-agent + apt install -y zabbix-frontend-php zabbix-sql-scripts zabbix-agent zabbix-get } Uninstall_App()