update
This commit is contained in:
parent
1de4fd5384
commit
5517fa42ad
@ -2,6 +2,9 @@ Nezha Monitoring supports monitoring of server load, CPU, memory, hard disk, dat
|
||||
<br/>
|
||||
<br/>
|
||||
## Flexible notification methods
|
||||
|
||||
In panel messages, the placeholder `#DATETIME#` represents the timestamp of when an event occurs. When the notification is triggered, the panel automatically replaces #DATETIME# with the actual time of the event.
|
||||
|
||||
`#NEZHA#` is the panel message placeholder, the panel will automatically replace the placeholder with the actual message when it triggers the notification
|
||||
|
||||
The content of Body is in `JSON` format:**When the request type is FORM**,the value is in the form of `key:value`,`value` can contain placeholders that will be automatically replaced when notified. **When the request type is JSON** It will only do string substitution and submit to the `URL` directly.
|
||||
|
@ -6,6 +6,9 @@ outline: deep
|
||||
<br/>
|
||||
<br/>
|
||||
## 灵活的通知方式
|
||||
|
||||
在面板消息中,占位符 `#DATETIME#` 代表事件发生的时间戳。当通知被触发时,面板会自动将 `#DATETIME#` 替换为事件的实际时间。
|
||||
|
||||
`#NEZHA#` 是面板消息占位符,面板触发通知时会自动用实际消息替换占位符
|
||||
|
||||
Body 内容是`JSON` 格式的:**当请求类型为 FORM 时**,值为 `key:value` 的形式,`value` 里面可放置占位符,通知时会自动替换。**当请求类型为 JSON 时** 只会简单进行字符串替换后直接提交到`URL`。
|
||||
|
Loading…
x
Reference in New Issue
Block a user