Qeasy Cloud
Get Started

利用钉钉机器人实现运维方案监控

Source: Qeasy Cloud213 views

创建钉钉群并配置机器人

首先,创建一个钉钉群,并添加一个机器人。

创建钉钉群

配置机器人

进入群设置,找到“智能助手”,点击“添加机器人”。

配置机器人

获取机器人token

完成配置后,你会看到机器人的Webhook地址,其中包含了token。如下图所示:

获取token

复制这个Webhook链接备用:

https://oapi.dingtalk.com/robot/send?access_token=XXXXXXXXXXXXXXX

创建运维明细方案

使用上一步获取的资产,开始创建运维明细方案。

创建运维方案

在方案中写入相关配置信息:

写入信息

需要填写的信息包括:

  • access_token:上一步获取的钉钉机器人token。
  • host:当前域名,例如:https://xxxx.xxxxx.com

创建汇总方案

继续完善配置信息,同样需要填写access_tokenhost

启动方案

最后,启动你所创建的方案。每天,这些方案的信息运行情况将自动发送到你创建的钉钉群里。

Copyright Notice

The article "利用钉钉机器人实现运维方案监控" is original content owned by 广东轻亿云软件科技有限公司. Reposting, quoting, copying or mirroring is strictly prohibited without written authorization. Please contact us for authorization and credit the author and source (including the original link) prominently.