flashduty-knowledge-base 1.0.8 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/en.cjs CHANGED
@@ -114,7 +114,7 @@ Code:
114
114
  Request:
115
115
 
116
116
  \`\`\`
117
- curl -X POST '{api_host}/event/push/alert/standard?integration_key=$key' \\
117
+ curl -X POST '{api_host}/event/push/alert/standard?integration_key={integration_key}' \\
118
118
  -H 'Content-Type: application/json' \\
119
119
  -d '{
120
120
  "event_status": "Warning",
@@ -781,7 +781,7 @@ Choose this method when you need to route alerts to different channels based on
781
781
  1. Media type is a transport channel used for sending notifications and alerts in Zabbix. Enter the terminal and download the complete configuration using the following command:
782
782
 
783
783
  \`\`\`
784
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v7.yml
784
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v7.yml
785
785
 
786
786
  \`\`\`
787
787
  2. Log in to the Zabbix console, select \`Alert > Media Types\`, click the Import button in the top right corner, enter the editing page, select the configuration file downloaded above, and click Import to complete the import
@@ -855,10 +855,10 @@ Log in to the Zabbix console, select \`Monitoring > Problems\` to view the lates
855
855
 
856
856
  \`\`\`
857
857
  // 5.x version XML configuration:
858
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v5.xml
858
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v5.xml
859
859
 
860
860
  // 6.x version YAML configuration:
861
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v6.yml
861
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v6.yml
862
862
  \`\`\`
863
863
 
864
864
  2. Log in to the Zabbix console, select \`Administration > Media Types\`, click the Import button in the top right corner, enter the editing page, select the configuration file downloaded above, and click Import to complete the import
@@ -945,7 +945,7 @@ Log in to the Zabbix console, select \`Monitoring > Problems\` to view the lates
945
945
  cd /usr/lib/zabbix/alertscripts
946
946
 
947
947
  #2. Download script
948
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/send-to-flashduty.sh
948
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/send-to-flashduty.sh
949
949
 
950
950
  #3. Change script to executable status
951
951
  chmod +x send-to-flashduty.sh
package/dist/en.js CHANGED
@@ -114,7 +114,7 @@ Code:
114
114
  Request:
115
115
 
116
116
  \`\`\`
117
- curl -X POST '{api_host}/event/push/alert/standard?integration_key=$key' \\
117
+ curl -X POST '{api_host}/event/push/alert/standard?integration_key={integration_key}' \\
118
118
  -H 'Content-Type: application/json' \\
119
119
  -d '{
120
120
  "event_status": "Warning",
@@ -781,7 +781,7 @@ Choose this method when you need to route alerts to different channels based on
781
781
  1. Media type is a transport channel used for sending notifications and alerts in Zabbix. Enter the terminal and download the complete configuration using the following command:
782
782
 
783
783
  \`\`\`
784
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v7.yml
784
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v7.yml
785
785
 
786
786
  \`\`\`
787
787
  2. Log in to the Zabbix console, select \`Alert > Media Types\`, click the Import button in the top right corner, enter the editing page, select the configuration file downloaded above, and click Import to complete the import
@@ -855,10 +855,10 @@ Log in to the Zabbix console, select \`Monitoring > Problems\` to view the lates
855
855
 
856
856
  \`\`\`
857
857
  // 5.x version XML configuration:
858
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v5.xml
858
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v5.xml
859
859
 
860
860
  // 6.x version YAML configuration:
861
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v6.yml
861
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v6.yml
862
862
  \`\`\`
863
863
 
864
864
  2. Log in to the Zabbix console, select \`Administration > Media Types\`, click the Import button in the top right corner, enter the editing page, select the configuration file downloaded above, and click Import to complete the import
@@ -945,7 +945,7 @@ Log in to the Zabbix console, select \`Monitoring > Problems\` to view the lates
945
945
  cd /usr/lib/zabbix/alertscripts
946
946
 
947
947
  #2. Download script
948
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/send-to-flashduty.sh
948
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/send-to-flashduty.sh
949
949
 
950
950
  #3. Change script to executable status
951
951
  chmod +x send-to-flashduty.sh
@@ -4724,7 +4724,7 @@ Flashduty extracts the status.name information from the webhook payload by defau
4724
4724
  Please contact Flashduty if you wish to modify this mapping.
4725
4725
 
4726
4726
  </div>
4727
- `, $ = `---
4727
+ `, j = `---
4728
4728
  title: Contributing to our documentation — Meilisearch documentation
4729
4729
  description: The Meilisearch documentation is open-source. Learn how to help make it even better.
4730
4730
  sidebarDepth: 3
@@ -4859,7 +4859,7 @@ Once published, you can access the application via mobile/PC client. First-time
4859
4859
  |Group Bot Webhook|Maximum 100 calls/minute|
4860
4860
  |Sending messages to the same user or group|Maximum 5 calls/second|
4861
4861
 
4862
- **Note:** Messages cannot be pushed normally when exceeding limits, please use notification channels reasonably`, j = `---
4862
+ **Note:** Messages cannot be pushed normally when exceeding limits, please use notification channels reasonably`, $ = `---
4863
4863
  title: "Dingtalk Integration"
4864
4864
  description: "Integrate with Dingtalk custom application to receive and respond to alerts within Dingtalk"
4865
4865
  date: "2024-05-11T10:00:00+08:00"
@@ -6482,7 +6482,7 @@ export {
6482
6482
  Z as CustomAction,
6483
6483
  e as CustomAlert,
6484
6484
  q as CustomChange,
6485
- j as Dingtalk,
6485
+ $ as Dingtalk,
6486
6486
  L as Dynatrace,
6487
6487
  n as Email,
6488
6488
  x as GoogleCM,
@@ -6495,7 +6495,7 @@ export {
6495
6495
  p as InfluxDB,
6496
6496
  _ as Jiankongbao,
6497
6497
  O as Jira,
6498
- $ as Lark,
6498
+ j as Lark,
6499
6499
  M as Meraki,
6500
6500
  V as MicrosoftTeams,
6501
6501
  t as N9e,
package/dist/zh.cjs CHANGED
@@ -123,7 +123,7 @@ Code:
123
123
  请求:
124
124
 
125
125
  \`\`\`
126
- curl -X POST '{api_host}/event/push/alert/standard?integration_key=$key' \\
126
+ curl -X POST '{api_host}/event/push/alert/standard?integration_key={integration_key}' \\
127
127
  -H 'Content-Type: application/json' \\
128
128
  -d '{
129
129
  "event_status": "Warning",
@@ -161,7 +161,7 @@ curl -X POST '{api_host}/event/push/alert/standard?integration_key=$key' \\
161
161
  }
162
162
  \`\`\`
163
163
 
164
- ## 三、最佳实践
164
+ ## 三、最佳实践 <span id="最佳实践"></span>
165
165
  ---
166
166
 
167
167
  1. 当告警状态发生变更时,向 Flashduty发送事件
@@ -818,7 +818,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/zabbix-integration-guide"
818
818
  1. media type 是 Zabbix 中用于发送通知和告警的传输通道。进入终端,通过以下命令,下载完整配置
819
819
 
820
820
  \`\`\`
821
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v7.yml
821
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v7.yml
822
822
 
823
823
  \`\`\`
824
824
  2. 登录 Zabbix 控制台,选择 \`Alert > Media Types\`,点击右上角 Import 按钮,进入编辑页面,选择上边下载的配置文件,点击 Import 按钮完成导入
@@ -907,10 +907,10 @@ media type 必须关联至某个 user 才能发送事件。user 至少拥有对
907
907
 
908
908
  \`\`\`
909
909
  // 5.x版本 XML配置:
910
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v5.xml
910
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v5.xml
911
911
 
912
912
  // 6.x 版本 YAML 配置:
913
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v6.yml
913
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v6.yml
914
914
  \`\`\`
915
915
 
916
916
  2. 登录 Zabbix 控制台,选择 \`Administration > Media Types\`,点击右上角 Import 按钮,进入编辑页面,选择上边下载的配置文件,点击 Import 按钮完成导入
@@ -1015,7 +1015,7 @@ media type 必须关联至某个 user 才能发送事件。user 至少拥有对
1015
1015
  cd /usr/lib/zabbix/alertscripts
1016
1016
 
1017
1017
  #2. 下载脚本
1018
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/send-to-flashduty.sh
1018
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/send-to-flashduty.sh
1019
1019
 
1020
1020
  #3. 更改脚本为可执行状态
1021
1021
  chmod +x send-to-flashduty.sh
package/dist/zh.js CHANGED
@@ -123,7 +123,7 @@ Code:
123
123
  请求:
124
124
 
125
125
  \`\`\`
126
- curl -X POST '{api_host}/event/push/alert/standard?integration_key=$key' \\
126
+ curl -X POST '{api_host}/event/push/alert/standard?integration_key={integration_key}' \\
127
127
  -H 'Content-Type: application/json' \\
128
128
  -d '{
129
129
  "event_status": "Warning",
@@ -161,7 +161,7 @@ curl -X POST '{api_host}/event/push/alert/standard?integration_key=$key' \\
161
161
  }
162
162
  \`\`\`
163
163
 
164
- ## 三、最佳实践
164
+ ## 三、最佳实践 <span id="最佳实践"></span>
165
165
  ---
166
166
 
167
167
  1. 当告警状态发生变更时,向 Flashduty发送事件
@@ -818,7 +818,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/zabbix-integration-guide"
818
818
  1. media type 是 Zabbix 中用于发送通知和告警的传输通道。进入终端,通过以下命令,下载完整配置
819
819
 
820
820
  \`\`\`
821
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v7.yml
821
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v7.yml
822
822
 
823
823
  \`\`\`
824
824
  2. 登录 Zabbix 控制台,选择 \`Alert > Media Types\`,点击右上角 Import 按钮,进入编辑页面,选择上边下载的配置文件,点击 Import 按钮完成导入
@@ -907,10 +907,10 @@ media type 必须关联至某个 user 才能发送事件。user 至少拥有对
907
907
 
908
908
  \`\`\`
909
909
  // 5.x版本 XML配置:
910
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v5.xml
910
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v5.xml
911
911
 
912
912
  // 6.x 版本 YAML 配置:
913
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v6.yml
913
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/zbx_mediatype_flashcat_v6.yml
914
914
  \`\`\`
915
915
 
916
916
  2. 登录 Zabbix 控制台,选择 \`Administration > Media Types\`,点击右上角 Import 按钮,进入编辑页面,选择上边下载的配置文件,点击 Import 按钮完成导入
@@ -1015,7 +1015,7 @@ media type 必须关联至某个 user 才能发送事件。user 至少拥有对
1015
1015
  cd /usr/lib/zabbix/alertscripts
1016
1016
 
1017
1017
  #2. 下载脚本
1018
- wget https://download.flashcat.cloud/flashduty/integration/zabbix/send-to-flashduty.sh
1018
+ wget --header="Referer: https://console.flashcat.cloud" https://download.flashcat.cloud/flashduty/integration/zabbix/send-to-flashduty.sh
1019
1019
 
1020
1020
  #3. 更改脚本为可执行状态
1021
1021
  chmod +x send-to-flashduty.sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flashduty-knowledge-base",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "flashduty knowledge base",
5
5
  "type": "module",
6
6
  "scripts": {