flashduty-knowledge-base 1.0.9 → 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
@@ -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
@@ -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/zh.cjs CHANGED
@@ -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
@@ -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.9",
3
+ "version": "1.1.0",
4
4
  "description": "flashduty knowledge base",
5
5
  "type": "module",
6
6
  "scripts": {