Demo - 获取互联网出口IP

适用模块

linux
easyalert

具体说明

钉钉告警自定义机器人ip安全设置
https://open.dingtalk.com/document/robots/customize-robot-security-settings

Demo - 获取互联网出口IP - 图1 使用示例

1、获取easyslertip
2、执行curl ip.renfei.net
返回112.124.0.120即为出口ip
{"clientIP":"112.124.0.120","readme":"https://github.com/renfei/feedback/discussions/3"}[root@bixin-bigdata001 ~]#

作者:林帅