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"