修改:国内镜像CDN、不稳定的邮件告警示例;优化一系列的错误的格式和错字

This commit is contained in:
Kris
2023-02-02 17:14:20 +01:00
parent dafa616636
commit b489ea1a5b
9 changed files with 62 additions and 80 deletions
+1
View File
@@ -15,6 +15,7 @@ If you don't think it's necessary to use port 80 or 443 to access Dashboard, you
:::
<br/>
<br/>
## Get the Client ID and Client Secret on Github/Gitlab
Nezha Monitor uses a Github account as the login account for the admin panel
+ First we need to create a new authentication application, after logging into Github, open https://github.com/settings/developers and select "OAuth Apps" - "New OAuth App "
+13 -14
View File
@@ -11,20 +11,20 @@ Placeholders can also be placed inside the URL, and it will perform a simple str
Refer to the example below, it is very flexible.
- Bark Example
- Name: Bark
- URL composition: the first part is the key, followed by three matches/: key/: body or/: key/: title/: body or/: key/: category/: title/: body
- Request method: GET
- Request Type: Default
- Body: null
- **Bark Example**
- Name: Bark
- URL: The first part is the key, followed by three matches/: key/: body or/: key/: title/: body or/: key/: category/: title/: body
- Request method: GET
- Request Type: Default
- Body: null
- Name: Bark
- URL composition:/push
- Request method: POST
- Request type: FORM
- Body: `{"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":" https://xxxxxxxx/nz.png "}`
- Name: Bark
- URL:/push
- Request method: POST
- Request type: FORM
- Body: `{"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":" https://xxxxxxxx/nz.png "}`
- Telegram Example, contributed by [@haitau](https://github.com/haitau)
- **Telegram Example, contributed by [@haitau](https://github.com/haitau)**
- NameTelegram Robot message notification
- URLhttps://api.telegram.org/botXXXXXX/sendMessage?chat_id=YYYYYY&text=#NEZHA#
@@ -33,8 +33,7 @@ Refer to the example below, it is very flexible.
- Body: null
- Notes for this methodThe 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 [@MIKU_N
](https://github.com/MIKU-N)
- **Email notification example - Outlook, contributed by [@Cantoblanco](https://github.com/cantoblanco)**
- Name: MS Mail Notification
- URLhttps://graph.microsoft.com/v1.0/me/microsoft.graph.sendMail