新增群晖Agent安装社区文章,优化通知文档格式
This commit is contained in:
@@ -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)
|
||||
<br/>
|
||||
|
||||
### 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.
|
||||
|
||||
<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,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)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user