1、开启阿里云监控
援用项目 https://pypi.org/project/aliyun-exporter/
https://github.com/aylei/aliyun-exporter
打开阿里云后台进入云监控选择主机监控,选择主机批量安装或升级插件。为了便利你可以选择新购ECS主动安装云监控 打开这样每次新增长的主机便可以主动参加监控
阿里云免费监控api 接口每月100w次超过就会收费援用项目 https://pypi.org/project/aliyun-ex