From 4b472fcffc90aeb0d0577209a75af540c1850117 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Sat, 10 Nov 2018 13:21:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0IP=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zabbix_agent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix_agent.sh b/zabbix_agent.sh index c5e749e..7d382cd 100755 --- a/zabbix_agent.sh +++ b/zabbix_agent.sh @@ -6,7 +6,7 @@ #获取主机名 hostname=$(hostname) #获取服务器IP -osip=$(curl https://ip.awk.sh/api.php?data=ip) +osip=$(curl https://api.ttt.sh/ip/qqwry/?type=ip) #配置文件 zabbix_config="/etc/zabbix/zabbix_agentd.conf"