diff --git a/docs/en_US/guide/agent.md b/docs/en_US/guide/agent.md index 833053db..36a66d25 100644 --- a/docs/en_US/guide/agent.md +++ b/docs/en_US/guide/agent.md @@ -130,13 +130,17 @@ EOF ``` ### Installing Agent on Windows -- Please refer to the community article: -[哪吒探针 - Windows 客户端安装](https://nyko.me/2020/12/13/nezha-windows-client.html)(Chinese) + +- Please refer to the community article: +[哪吒探针 - Windows 客户端安装](https://nyko.me/2020/12/13/nezha-windows-client.html) (Chinese)
### Installing Agent on Synology DSM -- Please refer to the community article: -[哪吒探针——群晖客户端(被控端)安装教程](https://wl.gta5pdx.cn/archives/546/)(Chinese) + +- 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 @@ -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.
diff --git a/docs/en_US/guide/notifications.md b/docs/en_US/guide/notifications.md index f0c14c9d..781b5ab4 100644 --- a/docs/en_US/guide/notifications.md +++ b/docs/en_US/guide/notifications.md @@ -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,26 +41,26 @@ Refer to the example below, it is very flexible. - Header: `{"Content-type":"application/json", "Authorization":"Bearer {Token}"}` - Body: - ``` - { - "message": { - "subject": "Server Status Notification", - "body": { + ```json + { + "message": { + "subject": "Server Status Notification", + "body": { "contentType": "Text", "content": "#NEZHA#" - }, - "toRecipients": [ - { + }, + "toRecipients": [ + { "emailAddress": { "address": "ADDRESS FOR RECEVING EMAILS" - } - } - ] - } -} - ``` + } + } + ] + } + } + ``` - - 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)** diff --git a/docs/guide/agent.md b/docs/guide/agent.md index 721d42f6..c070030e 100644 --- a/docs/guide/agent.md +++ b/docs/guide/agent.md @@ -144,9 +144,10 @@ EOF ### 在 群晖DSM 中安装 Agent - 请参考社区文章: +[群晖 DSM 7.x 安装 哪吒监控 Agent](https://blog.mitsea.com/3929551d08bd4bb0a8baa453e2d92b0c/) [哪吒探针——群晖客户端(被控端)安装教程](https://wl.gta5pdx.cn/archives/546/) -- Systemd实现 *仅适用于DSM7*: +- Systemd 实现 *仅适用于 DSM7*: ```sh # 客户端路径 EXEC="/PATH/TO/nezha-agent" @@ -187,11 +188,7 @@ EOF ``` ‼️修改对应信息后‼️ - ‼️修改对应信息后‼️ - - ‼️修改对应信息后‼️ - - 使用`root`账号执行上述命令即可安装完成 + 使用 `root` 账号执行上述命令即可安装完成
diff --git a/docs/guide/notifications.md b/docs/guide/notifications.md index 9040837b..327452dc 100644 --- a/docs/guide/notifications.md +++ b/docs/guide/notifications.md @@ -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)**