新增群晖Agent安装社区文章,优化通知文档格式
This commit is contained in:
parent
c7e8ab9e04
commit
f91148eedf
@ -130,14 +130,18 @@ EOF
|
||||
```
|
||||
|
||||
### Installing Agent on Windows
|
||||
|
||||
- Please refer to the community article:
|
||||
[哪吒探针 - Windows 客户端安装](https://nyko.me/2020/12/13/nezha-windows-client.html) (Chinese)
|
||||
<br/>
|
||||
|
||||
### Installing Agent on Synology DSM
|
||||
|
||||
- Please refer to the community article:
|
||||
[群晖 DSM 7.x 安装 哪吒监控 Agent](https://blog.mitsea.com/3929551d08bd4bb0a8baa453e2d92b0c/) (Chinese)
|
||||
[哪吒探针——群晖客户端(被控端)安装教程](https://wl.gta5pdx.cn/archives/546/) (Chinese)
|
||||
|
||||
|
||||
- Using Systemd *Only available on DSM7*:
|
||||
```sh
|
||||
# Path of the agent binary file.
|
||||
@ -175,10 +179,6 @@ EOF
|
||||
```
|
||||
‼️DO IT WHEN YOU HAVE MODIFIED THE ENVS‼️
|
||||
|
||||
‼️DO IT WHEN YOU HAVE MODIFIED THE ENVS‼️
|
||||
|
||||
‼️DO IT WHEN YOU HAVE MODIFIED THE ENVS‼️
|
||||
|
||||
Using `root` to execute command above, that's all.
|
||||
|
||||
<br/>
|
||||
|
@ -33,7 +33,7 @@ Refer to the example below, it is very flexible.
|
||||
- Body: null
|
||||
- Notes for this method:The XXXXXX in botXXXXXX is the token provided when you follow the official @Botfather in Telegram and enter /newbot to create a new bot. (In the line after _Use this token to access the HTTP API_). The 'bot' are essential. After creating a bot, you need to talk to the BOT in Telegram (send a random message) before you can send a message by using API. YYYYYY is Telegram user's ID, you can get it by talking to the bot @userinfobot.
|
||||
|
||||
- **Email notification example - Outlook, contributed by [@Cantoblanco](https://github.com/cantoblanco)**
|
||||
- **Email notification example - Outlook**
|
||||
- Name: MS Mail Notification
|
||||
- URL:https://graph.microsoft.com/v1.0/me/microsoft.graph.sendMail
|
||||
- Request method: POST
|
||||
@ -41,7 +41,7 @@ Refer to the example below, it is very flexible.
|
||||
- Header: `{"Content-type":"application/json",
|
||||
"Authorization":"Bearer {Token}"}`
|
||||
- Body:
|
||||
```
|
||||
```json
|
||||
{
|
||||
"message": {
|
||||
"subject": "Server Status Notification",
|
||||
@ -60,7 +60,7 @@ Refer to the example below, it is very flexible.
|
||||
}
|
||||
```
|
||||
|
||||
- Notes for this method: This method requires calling Microsoft Graph V1.0, you need to go to Microsoft Graph and create your own application, give `Mail.Send` permission and get the Token, or you can go [Microsoft Graph Explorer](https://developer.microsoft.com/en-us/graph/graph-explorer) directly to give permission and get the Token, just replace the Token in the Header with the actual Token.
|
||||
Notes for this method: This method requires calling Microsoft Graph V1.0, you need to go to Microsoft Graph and create your own application, give `Mail.Send` permission and get the Token, or you can go [Microsoft Graph Explorer](https://developer.microsoft.com/en-us/graph/graph-explorer) directly to give permission and get the Token, just replace the Token in the Header with the actual Token.
|
||||
|
||||
- **Wechat Work Group bot Example, contributed by [@ChowRex](https://github.com/ChowRex)**
|
||||
|
||||
|
@ -144,6 +144,7 @@ EOF
|
||||
### 在 群晖DSM 中安装 Agent
|
||||
|
||||
- 请参考社区文章:
|
||||
[群晖 DSM 7.x 安装 哪吒监控 Agent](https://blog.mitsea.com/3929551d08bd4bb0a8baa453e2d92b0c/)
|
||||
[哪吒探针——群晖客户端(被控端)安装教程](https://wl.gta5pdx.cn/archives/546/)
|
||||
|
||||
- Systemd 实现 *仅适用于 DSM7*:
|
||||
@ -187,10 +188,6 @@ EOF
|
||||
```
|
||||
‼️修改对应信息后‼️
|
||||
|
||||
‼️修改对应信息后‼️
|
||||
|
||||
‼️修改对应信息后‼️
|
||||
|
||||
使用 `root` 账号执行上述命令即可安装完成
|
||||
|
||||
<br/>
|
||||
|
@ -58,7 +58,7 @@ URL 里面也可放置占位符,请求时会进行简单的字符串替换。
|
||||
- Header: 留空
|
||||
- Body: 留空
|
||||
|
||||
- URL 参数获取说明:此方式需提前在 [SendCloud](https://www.sendcloud.net/) 注册账号,创建发件邮箱,然后在[这里](https://www.sendcloud.net/sendSetting/apiuser)获取 APIUSER 和 APIKEY,替换 URL 中的 <替换APIUSER> 和 <替换APIKEY> 为自己的 APIUSER 和 APIKEY,替换 URL 中的 <自定义发件邮箱> 和 <自定义收件邮箱> 为自己的发件邮箱和收件邮箱。
|
||||
URL 参数获取说明:此方式需提前在 [SendCloud](https://www.sendcloud.net/) 注册账号,创建发件邮箱,然后在[这里](https://www.sendcloud.net/sendSetting/apiuser)获取 APIUSER 和 APIKEY,替换 URL 中的 <替换APIUSER> 和 <替换APIKEY> 为自己的 APIUSER 和 APIKEY,替换 URL 中的 <自定义发件邮箱> 和 <自定义收件邮箱> 为自己的发件邮箱和收件邮箱。
|
||||
|
||||
- **企业微信 群机器人 示例 贡献者:[@ChowRex](https://github.com/ChowRex)**
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user