deploy: 9248db25468d29338c04a30b7363a07c07b7bbed
This commit is contained in:
parent
52b73b07ff
commit
e231e7a5e7
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as a,c as o,o as r,a as e,b as t}from"./app.2c402e15.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u5F00\u53D1\u624B\u518C","tagline":"\u6B22\u8FCE\u4F7F\u7528\u54EA\u5412\u76D1\u63A7\u5F00\u53D1\u624B\u518C\uFF0C\u6211\u4EEC\u6B22\u8FCE\u4F60\u63D0\u51FA\u9AD8\u8D28\u91CF\u7684Pull Request\uFF0C\u5E2E\u52A9\u54EA\u5412\u76D1\u63A7\u53D8\u5F97\u66F4\u597D\uFF01","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"developer/index.md"}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),c=[n];function i(l,d,h,p,_,m){return r(),o("div",null,c)}var x=a(s,[["render",i]]);export{f as __pageData,x as default};
|
||||
import{_ as a,c as o,o as r,a as e,b as t}from"./app.c59cf861.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u5F00\u53D1\u624B\u518C","tagline":"\u6B22\u8FCE\u4F7F\u7528\u54EA\u5412\u76D1\u63A7\u5F00\u53D1\u624B\u518C\uFF0C\u6211\u4EEC\u6B22\u8FCE\u4F60\u63D0\u51FA\u9AD8\u8D28\u91CF\u7684Pull Request\uFF0C\u5E2E\u52A9\u54EA\u5412\u76D1\u63A7\u53D8\u5F97\u66F4\u597D\uFF01","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"developer/index.md"}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),c=[n];function i(l,d,h,p,_,m){return r(),o("div",null,c)}var x=a(s,[["render",i]]);export{f as __pageData,x as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as o,o as r,a as e,b as t}from"./app.2c402e15.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u5F00\u53D1\u624B\u518C","tagline":"\u6B22\u8FCE\u4F7F\u7528\u54EA\u5412\u76D1\u63A7\u5F00\u53D1\u624B\u518C\uFF0C\u6211\u4EEC\u6B22\u8FCE\u4F60\u63D0\u51FA\u9AD8\u8D28\u91CF\u7684Pull Request\uFF0C\u5E2E\u52A9\u54EA\u5412\u76D1\u63A7\u53D8\u5F97\u66F4\u597D\uFF01","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"developer/index.md"}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),c=[n];function i(l,d,h,p,_,m){return r(),o("div",null,c)}var x=a(s,[["render",i]]);export{f as __pageData,x as default};
|
||||
import{_ as a,c as o,o as r,a as e,b as t}from"./app.c59cf861.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u5F00\u53D1\u624B\u518C","tagline":"\u6B22\u8FCE\u4F7F\u7528\u54EA\u5412\u76D1\u63A7\u5F00\u53D1\u624B\u518C\uFF0C\u6211\u4EEC\u6B22\u8FCE\u4F60\u63D0\u51FA\u9AD8\u8D28\u91CF\u7684Pull Request\uFF0C\u5E2E\u52A9\u54EA\u5412\u76D1\u63A7\u53D8\u5F97\u66F4\u597D\uFF01","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"developer/index.md"}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),c=[n];function i(l,d,h,p,_,m){return r(),o("div",null,c)}var x=a(s,[["render",i]]);export{f as __pageData,x as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as t,d as r}from"./app.2c402e15.js";const u='{"title":"\u4ECB\u7ECD","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"}],"relativePath":"developer/l10n.md"}',a={},l=r('<p><strong>\u54EA\u5412\u76D1\u63A7\u7684Dashboard\u5DF2\u7ECF\u6DFB\u52A0\u672C\u5730\u5316\uFF0C\u652F\u6301\u591A\u4E2A\u8BED\u8A00\uFF0C\u4F60\u53EF\u4EE5\u5728\u5F00\u53D1\u65B0\u529F\u80FD\u65F6\u9075\u5FAA\u4EE5\u4E0B\u6B65\u9AA4\u6765\u652F\u6301\u672C\u5730\u5316</strong></p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u54EA\u5412\u76D1\u63A7\u4F7F\u7528 Crowdin \u5E73\u53F0\u7FFB\u8BD1\u6587\u672C\uFF0C\u8BF7\u4E0D\u8981\u76F4\u63A5\u4FEE\u6539\u9664 <code>zh-CN.toml</code> \u4EE5\u5916\u7684toml\u6587\u4EF6</p></div><h2 id="\u4ECB\u7ECD" tabindex="-1">\u4ECB\u7ECD <a class="header-anchor" href="#\u4ECB\u7ECD" aria-hidden="true">#</a></h2><ol><li>\u4F60\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528 <code>/resource/l10n/zh-CN.toml</code> \u4E2D\u7684\u914D\u7F6E\u6765\u66FF\u6362\u65B0\u529F\u80FD\u4E2D\u7684\u6587\u672C</li><li>\u5982\u679C\u65B0\u529F\u80FD\u4E2D\u6709\u65B0\u7684\u6587\u672C\uFF0C\u8BF7\u5C06\u65B0\u6587\u672C\u62C9\u53D6\u5230 <code>zh-CN.toml</code> \u4E2D</li><li>\u5728Pull Request\u88AB\u5408\u5E76\u540E\uFF0C\u4F60\u53EF\u4EE5\u524D\u5F80 <a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer">Crowdin \u5E73\u53F0</a>\u8D21\u732E\u65B0\u6587\u672C\u7684\u7FFB\u8BD1</li></ol>',4),c=[l];function n(s,d,i,_,p,h){return t(),o("div",null,c)}var f=e(a,[["render",n]]);export{u as __pageData,f as default};
|
||||
import{_ as e,c as o,o as t,d as r}from"./app.c59cf861.js";const u='{"title":"\u4ECB\u7ECD","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"}],"relativePath":"developer/l10n.md"}',a={},l=r('<p><strong>\u54EA\u5412\u76D1\u63A7\u7684Dashboard\u5DF2\u7ECF\u6DFB\u52A0\u672C\u5730\u5316\uFF0C\u652F\u6301\u591A\u4E2A\u8BED\u8A00\uFF0C\u4F60\u53EF\u4EE5\u5728\u5F00\u53D1\u65B0\u529F\u80FD\u65F6\u9075\u5FAA\u4EE5\u4E0B\u6B65\u9AA4\u6765\u652F\u6301\u672C\u5730\u5316</strong></p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u54EA\u5412\u76D1\u63A7\u4F7F\u7528 Crowdin \u5E73\u53F0\u7FFB\u8BD1\u6587\u672C\uFF0C\u8BF7\u4E0D\u8981\u76F4\u63A5\u4FEE\u6539\u9664 <code>zh-CN.toml</code> \u4EE5\u5916\u7684toml\u6587\u4EF6</p></div><h2 id="\u4ECB\u7ECD" tabindex="-1">\u4ECB\u7ECD <a class="header-anchor" href="#\u4ECB\u7ECD" aria-hidden="true">#</a></h2><ol><li>\u4F60\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528 <code>/resource/l10n/zh-CN.toml</code> \u4E2D\u7684\u914D\u7F6E\u6765\u66FF\u6362\u65B0\u529F\u80FD\u4E2D\u7684\u6587\u672C</li><li>\u5982\u679C\u65B0\u529F\u80FD\u4E2D\u6709\u65B0\u7684\u6587\u672C\uFF0C\u8BF7\u5C06\u65B0\u6587\u672C\u62C9\u53D6\u5230 <code>zh-CN.toml</code> \u4E2D</li><li>\u5728Pull Request\u88AB\u5408\u5E76\u540E\uFF0C\u4F60\u53EF\u4EE5\u524D\u5F80 <a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer">Crowdin \u5E73\u53F0</a>\u8D21\u732E\u65B0\u6587\u672C\u7684\u7FFB\u8BD1</li></ol>',4),c=[l];function n(s,d,i,_,p,h){return t(),o("div",null,c)}var f=e(a,[["render",n]]);export{u as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as t,d as r}from"./app.2c402e15.js";const u='{"title":"\u4ECB\u7ECD","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"}],"relativePath":"developer/l10n.md"}',a={},l=r("",4),c=[l];function n(s,d,i,_,p,h){return t(),o("div",null,c)}var f=e(a,[["render",n]]);export{u as __pageData,f as default};
|
||||
import{_ as e,c as o,o as t,d as r}from"./app.c59cf861.js";const u='{"title":"\u4ECB\u7ECD","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"}],"relativePath":"developer/l10n.md"}',a={},l=r("",4),c=[l];function n(s,d,i,_,p,h){return t(),o("div",null,c)}var f=e(a,[["render",n]]);export{u as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as a,o,d as t}from"./app.2c402e15.js";const u='{"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","slug":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"developer/theme.md"}',c={},d=t('<h2 id="\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883" tabindex="-1">\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883 <a class="header-anchor" href="#\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883" aria-hidden="true">#</a></h2><p>\u54EA\u5412\u9762\u677F\u63D0\u4F9B\u4E86\u4E3B\u9898\u5F00\u53D1\u73AF\u5883\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u6765\u521B\u5EFA\u65B0\u7684\u54EA\u5412\u76D1\u63A7\u4E3B\u9898</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u8BF7\u6CE8\u610F\uFF1A \u6B64\u5F00\u53D1\u73AF\u5883\u4EC5\u652F\u6301 <code>dashboard v0.13.16</code> \u53CA\u66F4\u65B0\u7248\u672C\u3002</p></div><h2 id="\u4F7F\u7528\u8BF4\u660E" tabindex="-1">\u4F7F\u7528\u8BF4\u660E <a class="header-anchor" href="#\u4F7F\u7528\u8BF4\u660E" aria-hidden="true">#</a></h2><ol><li>\u514B\u9686<a href="https://github.com/nezhahq/skeleton-custom-theme" target="_blank" rel="noopener noreferrer">\u6B64\u4ED3\u5E93</a>\u5230\u672C\u5730</li><li>\u4FEE\u6539 <code>data/config.yaml</code> \u4E2D\u7684 Oauth2 \u914D\u7F6E\uFF08\u56DE\u8C03\u8FDE\u63A5\u53EF\u4EE5\u586B <code>http://localhost</code>\uFF09</li><li>\u8FD0\u884C <code>docker-compose up</code></li><li>\u5F00\u59CB\u5F00\u53D1</li><li>\u4E3B\u9898\u5236\u4F5C\u5B8C\u6210\u4E4B\u540E\u53EF\u4EE5\u5C06 <code>theme-custom</code> \u653E\u7F6E\u5230\u670D\u52A1\u5668\u4E0A\u7684 <code>/opt/nezha/dashboard/theme-custom</code> \u4F4D\u7F6E</li></ol><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-hidden="true">#</a></h2><ul><li>\u5982\u679C\u4E0D\u80FD\u4F7F\u7528 <code>80</code> \u7AEF\u53E3\uFF0C\u5728 <code>docker-compose.yaml</code> \u4E2D\u4FEE\u6539\u914D\u7F6E\u3002</li></ul>',7),l=[d];function r(i,s,h,n,_,p){return o(),a("div",null,l)}var f=e(c,[["render",r]]);export{u as __pageData,f as default};
|
||||
import{_ as e,c as a,o,d as t}from"./app.c59cf861.js";const u='{"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","slug":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"developer/theme.md"}',c={},d=t('<h2 id="\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883" tabindex="-1">\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883 <a class="header-anchor" href="#\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883" aria-hidden="true">#</a></h2><p>\u54EA\u5412\u9762\u677F\u63D0\u4F9B\u4E86\u4E3B\u9898\u5F00\u53D1\u73AF\u5883\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u6765\u521B\u5EFA\u65B0\u7684\u54EA\u5412\u76D1\u63A7\u4E3B\u9898</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u8BF7\u6CE8\u610F\uFF1A \u6B64\u5F00\u53D1\u73AF\u5883\u4EC5\u652F\u6301 <code>dashboard v0.13.16</code> \u53CA\u66F4\u65B0\u7248\u672C\u3002</p></div><h2 id="\u4F7F\u7528\u8BF4\u660E" tabindex="-1">\u4F7F\u7528\u8BF4\u660E <a class="header-anchor" href="#\u4F7F\u7528\u8BF4\u660E" aria-hidden="true">#</a></h2><ol><li>\u514B\u9686<a href="https://github.com/nezhahq/skeleton-custom-theme" target="_blank" rel="noopener noreferrer">\u6B64\u4ED3\u5E93</a>\u5230\u672C\u5730</li><li>\u4FEE\u6539 <code>data/config.yaml</code> \u4E2D\u7684 Oauth2 \u914D\u7F6E\uFF08\u56DE\u8C03\u8FDE\u63A5\u53EF\u4EE5\u586B <code>http://localhost</code>\uFF09</li><li>\u8FD0\u884C <code>docker-compose up</code></li><li>\u5F00\u59CB\u5F00\u53D1</li><li>\u4E3B\u9898\u5236\u4F5C\u5B8C\u6210\u4E4B\u540E\u53EF\u4EE5\u5C06 <code>theme-custom</code> \u653E\u7F6E\u5230\u670D\u52A1\u5668\u4E0A\u7684 <code>/opt/nezha/dashboard/theme-custom</code> \u4F4D\u7F6E</li></ol><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-hidden="true">#</a></h2><ul><li>\u5982\u679C\u4E0D\u80FD\u4F7F\u7528 <code>80</code> \u7AEF\u53E3\uFF0C\u5728 <code>docker-compose.yaml</code> \u4E2D\u4FEE\u6539\u914D\u7F6E\u3002</li></ul>',7),l=[d];function r(i,s,h,n,_,p){return o(),a("div",null,l)}var f=e(c,[["render",r]]);export{u as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as a,o,d as t}from"./app.2c402e15.js";const u='{"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","slug":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"developer/theme.md"}',c={},d=t("",7),l=[d];function r(i,s,h,n,_,p){return o(),a("div",null,l)}var f=e(c,[["render",r]]);export{u as __pageData,f as default};
|
||||
import{_ as e,c as a,o,d as t}from"./app.c59cf861.js";const u='{"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883","slug":"\u54EA\u5412\u4E3B\u9898\u5F00\u53D1\u73AF\u5883"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"developer/theme.md"}',c={},d=t("",7),l=[d];function r(i,s,h,n,_,p){return o(),a("div",null,l)}var f=e(c,[["render",r]]);export{u as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as o,c as a,o as n,a as e,b as t}from"./app.2c402e15.js";const v='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Development Manual","tagline":"Welcome to the Nezha Monitoring Development Manual.","actionText":"Start Now \u2192","actionLink":"/en_US/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/developer/index.md"}',r={},s=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),i=[s];function c(l,h,m,d,p,_){return n(),a("div",null,i)}var f=o(r,[["render",c]]);export{v as __pageData,f as default};
|
||||
import{_ as o,c as a,o as n,a as e,b as t}from"./app.c59cf861.js";const v='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Development Manual","tagline":"Welcome to the Nezha Monitoring Development Manual.","actionText":"Start Now \u2192","actionLink":"/en_US/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/developer/index.md"}',r={},s=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),i=[s];function c(l,h,m,d,p,_){return n(),a("div",null,i)}var f=o(r,[["render",c]]);export{v as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as o,c as a,o as n,a as e,b as t}from"./app.2c402e15.js";const v='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Development Manual","tagline":"Welcome to the Nezha Monitoring Development Manual.","actionText":"Start Now \u2192","actionLink":"/en_US/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/developer/index.md"}',r={},s=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),i=[s];function c(l,h,m,d,p,_){return n(),a("div",null,i)}var f=o(r,[["render",c]]);export{v as __pageData,f as default};
|
||||
import{_ as o,c as a,o as n,a as e,b as t}from"./app.c59cf861.js";const v='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Development Manual","tagline":"Welcome to the Nezha Monitoring Development Manual.","actionText":"Start Now \u2192","actionLink":"/en_US/developer/theme","footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/developer/index.md"}',r={},s=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),i=[s];function c(l,h,m,d,p,_){return n(),a("div",null,i)}var f=o(r,[["render",c]]);export{v as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o,d as n}from"./app.2c402e15.js";const f='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"}],"relativePath":"en_US/developer/l10n.md"}',a={},l=n('<p><strong>Nezha Monitoring's Dashboard has added localization to support multiple languages, and you can follow these steps to support localization when developing new features</strong></p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Nezha uses the Crowdin platform to translate text, please do not directly modify the toml files other than <code>zh-CN.toml</code>.</p></div><h2 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-hidden="true">#</a></h2><ol><li>You can replace the text in the new feature directly using the configuration in <code>/resource/l10n/zh-CN.toml</code></li><li>If there is new text in the new feature, pull the new text into <code>zh-CN.toml</code></li></ol><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>If you don't understand Chinese at all, you can translate the text using Google or DeepL Translate, and specify in the Pull Request, we will revise the Chinese translation after you add the English translation</p></div><ol start="3"><li>After the Pull Request has been merged, you can go to <a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer">Crowdin Platform</a> to contribute translations of the new text</li></ol>',6),r=[l];function i(s,c,d,h,u,p){return o(),t("div",null,r)}var m=e(a,[["render",i]]);export{f as __pageData,m as default};
|
||||
import{_ as e,c as t,o,d as n}from"./app.c59cf861.js";const f='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"}],"relativePath":"en_US/developer/l10n.md"}',a={},l=n('<p><strong>Nezha Monitoring's Dashboard has added localization to support multiple languages, and you can follow these steps to support localization when developing new features</strong></p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Nezha uses the Crowdin platform to translate text, please do not directly modify the toml files other than <code>zh-CN.toml</code>.</p></div><h2 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-hidden="true">#</a></h2><ol><li>You can replace the text in the new feature directly using the configuration in <code>/resource/l10n/zh-CN.toml</code></li><li>If there is new text in the new feature, pull the new text into <code>zh-CN.toml</code></li></ol><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>If you don't understand Chinese at all, you can translate the text using Google or DeepL Translate, and specify in the Pull Request, we will revise the Chinese translation after you add the English translation</p></div><ol start="3"><li>After the Pull Request has been merged, you can go to <a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer">Crowdin Platform</a> to contribute translations of the new text</li></ol>',6),r=[l];function i(s,c,d,h,u,p){return o(),t("div",null,r)}var m=e(a,[["render",i]]);export{f as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o,d as n}from"./app.2c402e15.js";const f='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"}],"relativePath":"en_US/developer/l10n.md"}',a={},l=n("",6),r=[l];function i(s,c,d,h,u,p){return o(),t("div",null,r)}var m=e(a,[["render",i]]);export{f as __pageData,m as default};
|
||||
import{_ as e,c as t,o,d as n}from"./app.c59cf861.js";const f='{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"}],"relativePath":"en_US/developer/l10n.md"}',a={},l=n("",6),r=[l];function i(s,c,d,h,u,p){return o(),t("div",null,r)}var m=e(a,[["render",i]]);export{f as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as t,d as n}from"./app.2c402e15.js";const v='{"title":"Nezha Theme Development Environment","description":"","frontmatter":{},"headers":[{"level":2,"title":"Nezha Theme Development Environment","slug":"nezha-theme-development-environment"},{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/developer/theme.md"}',a={},i=n('<h2 id="nezha-theme-development-environment" tabindex="-1">Nezha Theme Development Environment <a class="header-anchor" href="#nezha-theme-development-environment" aria-hidden="true">#</a></h2><p>Nezha Monitoring provides a theme development environment that you can use to create new Nezha Monitoring themes</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Please note: This development environment only supports <code>dashboard v0.13.16</code> and newer versions.</p></div><h2 id="how-to-use" tabindex="-1">How to use <a class="header-anchor" href="#how-to-use" aria-hidden="true">#</a></h2><ol><li>Clone <a href="https://github.com/nezhahq/skeleton-custom-theme" target="_blank" rel="noopener noreferrer">this repository</a> to local</li><li>Modify the Oauth2 configuration in <code>data/config.yaml</code>\uFF08The callback connection can be filled with <code>http://localhost</code>\uFF09</li><li>Run <code>docker-compose up</code></li><li>Start development</li><li>Once the theme has been created, you can place <code>theme-custom</code> in <code>/opt/nezha/dashboard/theme-custom</code> on the server</li></ol><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-hidden="true">#</a></h2><ul><li>If you can't use port <code>80</code>, change the configuration in <code>docker-compose.yaml</code>.</li></ul>',7),c=[i];function r(l,h,d,s,m,p){return t(),o("div",null,c)}var _=e(a,[["render",r]]);export{v as __pageData,_ as default};
|
||||
import{_ as e,c as o,o as t,d as n}from"./app.c59cf861.js";const v='{"title":"Nezha Theme Development Environment","description":"","frontmatter":{},"headers":[{"level":2,"title":"Nezha Theme Development Environment","slug":"nezha-theme-development-environment"},{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/developer/theme.md"}',a={},i=n('<h2 id="nezha-theme-development-environment" tabindex="-1">Nezha Theme Development Environment <a class="header-anchor" href="#nezha-theme-development-environment" aria-hidden="true">#</a></h2><p>Nezha Monitoring provides a theme development environment that you can use to create new Nezha Monitoring themes</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Please note: This development environment only supports <code>dashboard v0.13.16</code> and newer versions.</p></div><h2 id="how-to-use" tabindex="-1">How to use <a class="header-anchor" href="#how-to-use" aria-hidden="true">#</a></h2><ol><li>Clone <a href="https://github.com/nezhahq/skeleton-custom-theme" target="_blank" rel="noopener noreferrer">this repository</a> to local</li><li>Modify the Oauth2 configuration in <code>data/config.yaml</code>\uFF08The callback connection can be filled with <code>http://localhost</code>\uFF09</li><li>Run <code>docker-compose up</code></li><li>Start development</li><li>Once the theme has been created, you can place <code>theme-custom</code> in <code>/opt/nezha/dashboard/theme-custom</code> on the server</li></ol><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-hidden="true">#</a></h2><ul><li>If you can't use port <code>80</code>, change the configuration in <code>docker-compose.yaml</code>.</li></ul>',7),c=[i];function r(l,h,d,s,m,p){return t(),o("div",null,c)}var _=e(a,[["render",r]]);export{v as __pageData,_ as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as t,d as n}from"./app.2c402e15.js";const v='{"title":"Nezha Theme Development Environment","description":"","frontmatter":{},"headers":[{"level":2,"title":"Nezha Theme Development Environment","slug":"nezha-theme-development-environment"},{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/developer/theme.md"}',a={},i=n("",7),c=[i];function r(l,h,d,s,m,p){return t(),o("div",null,c)}var _=e(a,[["render",r]]);export{v as __pageData,_ as default};
|
||||
import{_ as e,c as o,o as t,d as n}from"./app.c59cf861.js";const v='{"title":"Nezha Theme Development Environment","description":"","frontmatter":{},"headers":[{"level":2,"title":"Nezha Theme Development Environment","slug":"nezha-theme-development-environment"},{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/developer/theme.md"}',a={},i=n("",7),c=[i];function r(l,h,d,s,m,p){return t(),o("div",null,c)}var _=e(a,[["render",r]]);export{v as __pageData,_ as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as e,c as n,o as t,d as a}from"./app.2c402e15.js";const m='{"title":"Install Agent using one-click script","description":"","frontmatter":{},"headers":[{"level":2,"title":"Install Agent using one-click script","slug":"install-agent-using-one-click-script"},{"level":3,"title":"Preparation","slug":"preparation"},{"level":3,"title":"One-click installation on Linux","slug":"one-click-installation-on-linux"},{"level":3,"title":"One-click installation on Windows","slug":"one-click-installation-on-windows"},{"level":2,"title":"Other ways to install Agent","slug":"other-ways-to-install-agent"},{"level":3,"title":"Installing Agent on Linux","slug":"installing-agent-on-linux"},{"level":3,"title":"Installing Agent on Windows","slug":"installing-agent-on-windows"},{"level":3,"title":"Installing Agent on OpenWRT","slug":"installing-agent-on-openwrt"},{"level":2,"title":"Customize Agent","slug":"customize-agent"}],"relativePath":"en_US/guide/agent.md"}',i={},o=a(`<p><strong>The service in the monitored server is called Agent. This document will describe how to install the Agent on the monitored server and connect it with Dashboard</strong><br><br></p><h2 id="install-agent-using-one-click-script" tabindex="-1">Install Agent using one-click script <a class="header-anchor" href="#install-agent-using-one-click-script" aria-hidden="true">#</a></h2><p>Nezha Monitoring now supports one-click installation of the Agent on Windows and Linux. Follow the steps in this document and you can easily deploy it on your server<br><br></p><h3 id="preparation" tabindex="-1">Preparation <a class="header-anchor" href="#preparation" aria-hidden="true">#</a></h3><p>First of all, you need to set up the communication domain name in the settings page of the admin panel, this domain name can not connect to the CDN, here is the sample communication domain name "<a href="http://data.example.com" target="_blank" rel="noopener noreferrer">data.example.com</a>" mentioned earlier for demonstration<br> Enter the administration panel, go to the "Settings" page, in the item "CDN Bypassed Domain/IP ", fill in the communication domain name, and then click "Save"<br><br></p><h3 id="one-click-installation-on-linux" tabindex="-1">One-click installation on Linux <a class="header-anchor" href="#one-click-installation-on-linux" aria-hidden="true">#</a></h3><ul><li>First add a server in the admin panel</li><li>Click on the green Linux icon button next to the newly added server and copy the one-click installation command</li><li>Run the copied one-click installation command on the monitored server, wait for the installation to complete, and then return to the Dashboard home page to see if the server is online.<br><br></li></ul><h3 id="one-click-installation-on-windows" tabindex="-1">One-click installation on Windows <a class="header-anchor" href="#one-click-installation-on-windows" aria-hidden="true">#</a></h3><ul><li>First add a server in the admin panel</li><li>Click on the green Linux icon button next to the newly added server and copy the one-click installation command</li><li>Login to Windows Server, open PowerShell, and run the copied installation command in PowerShell</li><li>If you encounter the prompt "Implement Policy Change" please select Y</li><li>Wait for the installation to complete and return to the Dashboard home page to see if the server is online<br><br><br><br></li></ul><h2 id="other-ways-to-install-agent" tabindex="-1">Other ways to install Agent <a class="header-anchor" href="#other-ways-to-install-agent" aria-hidden="true">#</a></h2><br><h3 id="installing-agent-on-linux" tabindex="-1">Installing Agent on Linux <a class="header-anchor" href="#installing-agent-on-linux" aria-hidden="true">#</a></h3><ul><li>First add a server in the admin panel</li><li>In the monitored server, run the script:</li></ul><div class="language-bash"><pre><code><span class="token function">curl</span> -L https://raw.githubusercontent.com/naiba/nezha/master/script/install_en.sh -o nezha.sh <span class="token operator">&&</span> <span class="token function">chmod</span> +x nezha.sh <span class="token operator">&&</span> <span class="token function">sudo</span> ./nezha.sh
|
||||
import{_ as e,c as n,o as t,d as a}from"./app.c59cf861.js";const m='{"title":"Install Agent using one-click script","description":"","frontmatter":{},"headers":[{"level":2,"title":"Install Agent using one-click script","slug":"install-agent-using-one-click-script"},{"level":3,"title":"Preparation","slug":"preparation"},{"level":3,"title":"One-click installation on Linux","slug":"one-click-installation-on-linux"},{"level":3,"title":"One-click installation on Windows","slug":"one-click-installation-on-windows"},{"level":2,"title":"Other ways to install Agent","slug":"other-ways-to-install-agent"},{"level":3,"title":"Installing Agent on Linux","slug":"installing-agent-on-linux"},{"level":3,"title":"Installing Agent on Windows","slug":"installing-agent-on-windows"},{"level":3,"title":"Installing Agent on OpenWRT","slug":"installing-agent-on-openwrt"},{"level":2,"title":"Customize Agent","slug":"customize-agent"}],"relativePath":"en_US/guide/agent.md"}',i={},o=a(`<p><strong>The service in the monitored server is called Agent. This document will describe how to install the Agent on the monitored server and connect it with Dashboard</strong><br><br></p><h2 id="install-agent-using-one-click-script" tabindex="-1">Install Agent using one-click script <a class="header-anchor" href="#install-agent-using-one-click-script" aria-hidden="true">#</a></h2><p>Nezha Monitoring now supports one-click installation of the Agent on Windows and Linux. Follow the steps in this document and you can easily deploy it on your server<br><br></p><h3 id="preparation" tabindex="-1">Preparation <a class="header-anchor" href="#preparation" aria-hidden="true">#</a></h3><p>First of all, you need to set up the communication domain name in the settings page of the admin panel, this domain name can not connect to the CDN, here is the sample communication domain name "<a href="http://data.example.com" target="_blank" rel="noopener noreferrer">data.example.com</a>" mentioned earlier for demonstration<br> Enter the administration panel, go to the "Settings" page, in the item "CDN Bypassed Domain/IP ", fill in the communication domain name, and then click "Save"<br><br></p><h3 id="one-click-installation-on-linux" tabindex="-1">One-click installation on Linux <a class="header-anchor" href="#one-click-installation-on-linux" aria-hidden="true">#</a></h3><ul><li>First add a server in the admin panel</li><li>Click on the green Linux icon button next to the newly added server and copy the one-click installation command</li><li>Run the copied one-click installation command on the monitored server, wait for the installation to complete, and then return to the Dashboard home page to see if the server is online.<br><br></li></ul><h3 id="one-click-installation-on-windows" tabindex="-1">One-click installation on Windows <a class="header-anchor" href="#one-click-installation-on-windows" aria-hidden="true">#</a></h3><ul><li>First add a server in the admin panel</li><li>Click on the green Linux icon button next to the newly added server and copy the one-click installation command</li><li>Login to Windows Server, open PowerShell, and run the copied installation command in PowerShell</li><li>If you encounter the prompt "Implement Policy Change" please select Y</li><li>Wait for the installation to complete and return to the Dashboard home page to see if the server is online<br><br><br><br></li></ul><h2 id="other-ways-to-install-agent" tabindex="-1">Other ways to install Agent <a class="header-anchor" href="#other-ways-to-install-agent" aria-hidden="true">#</a></h2><br><h3 id="installing-agent-on-linux" tabindex="-1">Installing Agent on Linux <a class="header-anchor" href="#installing-agent-on-linux" aria-hidden="true">#</a></h3><ul><li>First add a server in the admin panel</li><li>In the monitored server, run the script:</li></ul><div class="language-bash"><pre><code><span class="token function">curl</span> -L https://raw.githubusercontent.com/naiba/nezha/master/script/install_en.sh -o nezha.sh <span class="token operator">&&</span> <span class="token function">chmod</span> +x nezha.sh <span class="token operator">&&</span> <span class="token function">sudo</span> ./nezha.sh
|
||||
</code></pre></div><ul><li>Select \u201CInstall_agent\u201D</li><li>Input the communication domain name, e.g. "<a href="http://data.example.com" target="_blank" rel="noopener noreferrer">data.example.com</a>"</li><li>Input RPC port, default is 5555</li><li>Input the Agent Secret, which is generated when adding a server in the administration panel and can be found in the " Servers " page of the administration panel</li><li>Wait for the installation to complete and return to the Dashboard home page to see if the server is online<br><br></li></ul><h3 id="installing-agent-on-windows" tabindex="-1">Installing Agent on Windows <a class="header-anchor" href="#installing-agent-on-windows" aria-hidden="true">#</a></h3><ul><li>Please refer to the community article: <a href="https://nyko.me/2020/12/13/nezha-windows-client.html" target="_blank" rel="noopener noreferrer">\u54EA\u5412\u63A2\u9488 - Windows \u5BA2\u6237\u7AEF\u5B89\u88C5</a>(Chinese)<br><br></li></ul><h3 id="installing-agent-on-openwrt" tabindex="-1">Installing Agent on OpenWRT <a class="header-anchor" href="#installing-agent-on-openwrt" aria-hidden="true">#</a></h3><p><strong>How to make the old version of OpenWRT/LEDE self-boot?</strong></p><ul><li>Please refer to the project:<br><a href="https://github.com/Erope/openwrt_nezha" target="_blank" rel="noopener noreferrer">\u54EA\u5412\u76D1\u63A7 For OpenWRT</a> (Chinese) <br></li></ul><p><strong>How to make the new version of OpenWRT self-boot? By @\u827E\u65AF\u5FB7\u65AF</strong></p><ul><li>First download the corresponding binary from the release, unzip the zip package and place it in <code>/root</code></li><li>Then run <code>chmod +x /root/nezha-agent</code> to give it execute access, create file <code>/etc/init.d/nezha-service</code>\uFF1A</li></ul><div class="language-shell"><pre><code><span class="token shebang important">#!/bin/sh /etc/rc.common</span>
|
||||
|
||||
<span class="token assign-left variable">START</span><span class="token operator">=</span><span class="token number">99</span>
|
@ -1 +1 @@
|
||||
import{_ as e,c as n,o as t,d as a}from"./app.2c402e15.js";const m='{"title":"Install Agent using one-click script","description":"","frontmatter":{},"headers":[{"level":2,"title":"Install Agent using one-click script","slug":"install-agent-using-one-click-script"},{"level":3,"title":"Preparation","slug":"preparation"},{"level":3,"title":"One-click installation on Linux","slug":"one-click-installation-on-linux"},{"level":3,"title":"One-click installation on Windows","slug":"one-click-installation-on-windows"},{"level":2,"title":"Other ways to install Agent","slug":"other-ways-to-install-agent"},{"level":3,"title":"Installing Agent on Linux","slug":"installing-agent-on-linux"},{"level":3,"title":"Installing Agent on Windows","slug":"installing-agent-on-windows"},{"level":3,"title":"Installing Agent on OpenWRT","slug":"installing-agent-on-openwrt"},{"level":2,"title":"Customize Agent","slug":"customize-agent"}],"relativePath":"en_US/guide/agent.md"}',i={},o=a("",30),s=[o];function l(r,c,d,p,h,u){return t(),n("div",null,s)}var f=e(i,[["render",l]]);export{m as __pageData,f as default};
|
||||
import{_ as e,c as n,o as t,d as a}from"./app.c59cf861.js";const m='{"title":"Install Agent using one-click script","description":"","frontmatter":{},"headers":[{"level":2,"title":"Install Agent using one-click script","slug":"install-agent-using-one-click-script"},{"level":3,"title":"Preparation","slug":"preparation"},{"level":3,"title":"One-click installation on Linux","slug":"one-click-installation-on-linux"},{"level":3,"title":"One-click installation on Windows","slug":"one-click-installation-on-windows"},{"level":2,"title":"Other ways to install Agent","slug":"other-ways-to-install-agent"},{"level":3,"title":"Installing Agent on Linux","slug":"installing-agent-on-linux"},{"level":3,"title":"Installing Agent on Windows","slug":"installing-agent-on-windows"},{"level":3,"title":"Installing Agent on OpenWRT","slug":"installing-agent-on-openwrt"},{"level":2,"title":"Customize Agent","slug":"customize-agent"}],"relativePath":"en_US/guide/agent.md"}',i={},o=a("",30),s=[o];function l(r,c,d,p,h,u){return t(),n("div",null,s)}var f=e(i,[["render",l]]);export{m as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,o as n,a as e,b as r}from"./app.2c402e15.js";const u='{"title":"Agent","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/agentq.md"}',o={},s=e("h1",{id:"agent",tabindex:"-1"},[r("Agent "),e("a",{class:"header-anchor",href:"#agent","aria-hidden":"true"},"#")],-1),c=[s];function d(i,_,h,p,l,f){return n(),a("div",null,c)}var m=t(o,[["render",d]]);export{u as __pageData,m as default};
|
||||
import{_ as t,c as a,o as n,a as e,b as r}from"./app.c59cf861.js";const u='{"title":"Agent","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/agentq.md"}',o={},s=e("h1",{id:"agent",tabindex:"-1"},[r("Agent "),e("a",{class:"header-anchor",href:"#agent","aria-hidden":"true"},"#")],-1),c=[s];function d(i,_,h,p,l,f){return n(),a("div",null,c)}var m=t(o,[["render",d]]);export{u as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,o as n,a as e,b as r}from"./app.2c402e15.js";const u='{"title":"Agent","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/agentq.md"}',o={},s=e("h1",{id:"agent",tabindex:"-1"},[r("Agent "),e("a",{class:"header-anchor",href:"#agent","aria-hidden":"true"},"#")],-1),c=[s];function d(i,_,h,p,l,f){return n(),a("div",null,c)}var m=t(o,[["render",d]]);export{u as __pageData,m as default};
|
||||
import{_ as t,c as a,o as n,a as e,b as r}from"./app.c59cf861.js";const u='{"title":"Agent","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/agentq.md"}',o={},s=e("h1",{id:"agent",tabindex:"-1"},[r("Agent "),e("a",{class:"header-anchor",href:"#agent","aria-hidden":"true"},"#")],-1),c=[s];function d(i,_,h,p,l,f){return n(),a("div",null,c)}var m=t(o,[["render",d]]);export{u as __pageData,m as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as t,c as o,o as e,d as u}from"./app.2c402e15.js";const v='{"title":"Create Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"Create Token","slug":"create-token"},{"level":2,"title":"Authentication method","slug":"authentication-method"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/guide/api.md"}',n={},q=u(`<p><strong>Nezha Monitoring now supports querying the status information of the Agent in the Dashboard using the API</strong></p><h2 id="create-token" tabindex="-1">Create Token <a class="header-anchor" href="#create-token" aria-hidden="true">#</a></h2><p>API allows Token authentication method and Cookies authentication method<br> To create a new Token, after entering the admin panel, click on the avatar in the upper right corner and select "API Token" to enter the Token management page<br> Click "Add Token" and after customizing the notes, click "Add"<br> To delete a Token, please select the corresponding Token and click the delete icon on the right</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Token is the authentication tool of API, it is very important for your Dashboard's information security, please don't leak your Token to others</p></div><h2 id="authentication-method" tabindex="-1">Authentication method <a class="header-anchor" href="#authentication-method" aria-hidden="true">#</a></h2><p>Token authentication method:</p><div class="language-"><pre><code>Request Headers:
|
||||
import{_ as t,c as o,o as e,d as u}from"./app.c59cf861.js";const v='{"title":"Create Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"Create Token","slug":"create-token"},{"level":2,"title":"Authentication method","slug":"authentication-method"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/guide/api.md"}',n={},q=u(`<p><strong>Nezha Monitoring now supports querying the status information of the Agent in the Dashboard using the API</strong></p><h2 id="create-token" tabindex="-1">Create Token <a class="header-anchor" href="#create-token" aria-hidden="true">#</a></h2><p>API allows Token authentication method and Cookies authentication method<br> To create a new Token, after entering the admin panel, click on the avatar in the upper right corner and select "API Token" to enter the Token management page<br> Click "Add Token" and after customizing the notes, click "Add"<br> To delete a Token, please select the corresponding Token and click the delete icon on the right</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Token is the authentication tool of API, it is very important for your Dashboard's information security, please don't leak your Token to others</p></div><h2 id="authentication-method" tabindex="-1">Authentication method <a class="header-anchor" href="#authentication-method" aria-hidden="true">#</a></h2><p>Token authentication method:</p><div class="language-"><pre><code>Request Headers:
|
||||
Authorization: Token
|
||||
</code></pre></div><h2 id="how-to-use" tabindex="-1">How to use <a class="header-anchor" href="#how-to-use" aria-hidden="true">#</a></h2><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>The negative timestamp in the example below is (0000-00-00)<br> It is currently used to indicate that the Agent has never reported since the Dashboard went live<br> However, it is not recommended to use positivity or negativity to determine the status</p></div><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><strong>The request method is <code>Get</code> and the return format is <code>JSON</code>.</strong></p></div><ul><li>Get a list of servers: <code>GET /api/v1/server/list?tag=</code><br> query: tag (ServerTag means the group of servers, if this value is provided, only the servers in this group are queried)</li></ul><p>JSON Return Example:</p><div class="language-"><pre><code>{
|
||||
"code": 0,
|
@ -1 +1 @@
|
||||
import{_ as t,c as o,o as e,d as u}from"./app.2c402e15.js";const v='{"title":"Create Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"Create Token","slug":"create-token"},{"level":2,"title":"Authentication method","slug":"authentication-method"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/guide/api.md"}',n={},q=u("",16),a=[q];function i(r,s,d,l,c,p){return e(),o("div",null,a)}var m=t(n,[["render",i]]);export{v as __pageData,m as default};
|
||||
import{_ as t,c as o,o as e,d as u}from"./app.c59cf861.js";const v='{"title":"Create Token","description":"","frontmatter":{},"headers":[{"level":2,"title":"Create Token","slug":"create-token"},{"level":2,"title":"Authentication method","slug":"authentication-method"},{"level":2,"title":"How to use","slug":"how-to-use"}],"relativePath":"en_US/guide/api.md"}',n={},q=u("",16),a=[q];function i(r,s,d,l,c,p){return e(),o("div",null,a)}var m=t(n,[["render",i]]);export{v as __pageData,m as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.2c402e15.js";const b='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github","slug":"get-the-client-id-and-client-secret-on-github"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"}],"relativePath":"en_US/guide/dashboard.md"}',o={},s=n(`<h2 id="preparations" tabindex="-1">Preparations <a class="header-anchor" href="#preparations" aria-hidden="true">#</a></h2><p>To setup a Nezha monitorning Dashboard, you need these things:</p><ol><li>A VPS that can connect to the Internet, firewall and security policies need to open ports 8008 and 5555, otherwise it will be inaccessible and unable to receive data. A 1 core 512MB RAM server is sufficient for most usage scenarios</li><li>A domain name that has been set up with an A record that resolves to the Dashboard server IP</li></ol><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>If you want to use CDN, please prepare two domains, one connect to CDN for public access, CDN needs to support WebSocket protocol; the other domain should not connect to CDN, use it as Agent to send data to Dashboard.<br> This document uses "<a href="http://cdn.example.com" target="_blank" rel="noopener noreferrer">cdn.example.com</a>" and "<a href="http://data.example.com" target="_blank" rel="noopener noreferrer">data.example.com</a>" domains to demonstrate respectively</p></div><ol start="3"><li>A Github account</li></ol><p><strong>This document will use the aaPanel as an example, with future versions of the changes, some of the features may change, this document is for reference only</strong><br><br></p><h2 id="get-the-client-id-and-client-secret-on-github" tabindex="-1">Get the Client ID and Client Secret on Github <a class="header-anchor" href="#get-the-client-id-and-client-secret-on-github" aria-hidden="true">#</a></h2><p>Nezha Monitor uses a Github account as the login account for the admin panel</p><ul><li>First we need to create a new authentication application, after logging into Github, open <a href="https://github.com/settings/developers" target="_blank" rel="noopener noreferrer">https://github.com/settings/developers</a> and select "OAuth Apps" - "New OAuth App "<br><code>Application name</code> - Fill in as you like<br><code>Homepage URL</code> - Fill in the panel's access domain name, such as: "<a href="http://cdn.example.com" target="_blank" rel="noopener noreferrer">http://cdn.example.com</a>"<br><code>Authorization callback URL</code> - Fill in the callback address, e.g., "<a href="http://cdn.example.com/oauth2/callback" target="_blank" rel="noopener noreferrer">http://cdn.example.com/oauth2/callback</a>"</li><li>Click on "Registration Application"</li><li>Remember the Client ID in the page, then click "Generate a new client secret" to create a new Client Secret, the new secret will be displayed only once, please save it properly <br><br></li></ul><h2 id="installing-dashboard-on-the-server" tabindex="-1">Installing Dashboard on the server <a class="header-anchor" href="#installing-dashboard-on-the-server" aria-hidden="true">#</a></h2><ul><li>In the panel server, run the installation script:</li></ul><div class="language-bash"><pre><code><span class="token function">curl</span> -L https://raw.githubusercontent.com/naiba/nezha/master/script/install_en.sh -o nezha.sh <span class="token operator">&&</span> <span class="token function">chmod</span> +x nezha.sh <span class="token operator">&&</span> <span class="token function">sudo</span> ./nezha.sh
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.c59cf861.js";const b='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github","slug":"get-the-client-id-and-client-secret-on-github"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"}],"relativePath":"en_US/guide/dashboard.md"}',o={},s=n(`<h2 id="preparations" tabindex="-1">Preparations <a class="header-anchor" href="#preparations" aria-hidden="true">#</a></h2><p>To setup a Nezha monitorning Dashboard, you need these things:</p><ol><li>A VPS that can connect to the Internet, firewall and security policies need to open ports 8008 and 5555, otherwise it will be inaccessible and unable to receive data. A 1 core 512MB RAM server is sufficient for most usage scenarios</li><li>A domain name that has been set up with an A record that resolves to the Dashboard server IP</li></ol><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>If you want to use CDN, please prepare two domains, one connect to CDN for public access, CDN needs to support WebSocket protocol; the other domain should not connect to CDN, use it as Agent to send data to Dashboard.<br> This document uses "<a href="http://cdn.example.com" target="_blank" rel="noopener noreferrer">cdn.example.com</a>" and "<a href="http://data.example.com" target="_blank" rel="noopener noreferrer">data.example.com</a>" domains to demonstrate respectively</p></div><ol start="3"><li>A Github account</li></ol><p><strong>This document will use the aaPanel as an example, with future versions of the changes, some of the features may change, this document is for reference only</strong><br><br></p><h2 id="get-the-client-id-and-client-secret-on-github" tabindex="-1">Get the Client ID and Client Secret on Github <a class="header-anchor" href="#get-the-client-id-and-client-secret-on-github" aria-hidden="true">#</a></h2><p>Nezha Monitor uses a Github account as the login account for the admin panel</p><ul><li>First we need to create a new authentication application, after logging into Github, open <a href="https://github.com/settings/developers" target="_blank" rel="noopener noreferrer">https://github.com/settings/developers</a> and select "OAuth Apps" - "New OAuth App "<br><code>Application name</code> - Fill in as you like<br><code>Homepage URL</code> - Fill in the panel's access domain name, such as: "<a href="http://cdn.example.com" target="_blank" rel="noopener noreferrer">http://cdn.example.com</a>"<br><code>Authorization callback URL</code> - Fill in the callback address, e.g., "<a href="http://cdn.example.com/oauth2/callback" target="_blank" rel="noopener noreferrer">http://cdn.example.com/oauth2/callback</a>"</li><li>Click on "Registration Application"</li><li>Remember the Client ID in the page, then click "Generate a new client secret" to create a new Client Secret, the new secret will be displayed only once, please save it properly <br><br></li></ul><h2 id="installing-dashboard-on-the-server" tabindex="-1">Installing Dashboard on the server <a class="header-anchor" href="#installing-dashboard-on-the-server" aria-hidden="true">#</a></h2><ul><li>In the panel server, run the installation script:</li></ul><div class="language-bash"><pre><code><span class="token function">curl</span> -L https://raw.githubusercontent.com/naiba/nezha/master/script/install_en.sh -o nezha.sh <span class="token operator">&&</span> <span class="token function">chmod</span> +x nezha.sh <span class="token operator">&&</span> <span class="token function">sudo</span> ./nezha.sh
|
||||
</code></pre></div><ul><li><p>After waiting for the Docker installation to complete, input the following settings:<br><code>OAuth2 provider</code> - Github<br><code>Client ID</code> - Previously saved Client ID<br><code>Client Secret</code> - Previously saved secret<br><code>GitHub/Gitee login name</code> - Github username<br><code>Site title</code> - Custom site title<br><code>Site access port</code> - Public access port, customizable, default 8008<br><code>RPC port</code> - The communication port between Agent and Dashboard, default 5555</p></li><li><p>After the input is complete, wait to pull the mirror<br> After the installation, if everything is fine, you can visit the domain + port number, such as "<a href="http://cdn.example.com:8008" target="_blank" rel="noopener noreferrer">http://cdn.example.com:8008</a>" to view the Dashboard</p></li><li><p>In the future, if you need to run the script again, you can run:</p></li></ul><div class="language-bash"><pre><code>./nezha.sh
|
||||
</code></pre></div><p>to open the management script<br><br><br></p><h2 id="configure-reverse-proxy" tabindex="-1">Configure reverse proxy <a class="header-anchor" href="#configure-reverse-proxy" aria-hidden="true">#</a></h2><ul><li><p>Create a new site in the aaPanel, fill in the public access domain name, such as "<a href="http://cdn.example.com" target="_blank" rel="noopener noreferrer">http://cdn.example.com</a>", then click "Settings" to enter the site settings option, select " Reverse proxy" - "New reverse proxy"</p></li><li><p>Customize a proxy name, fill in <code>http://127.0.0.1</code> in the "Target URL" and click "Save"</p></li><li><p>Open the " configuration" to the right of the new reverse proxy you just created and replace the configuration file with the following:</p></li></ul><div class="language-nginx"><pre><code><span class="token comment">#PROXY-START/</span>
|
||||
<span class="token directive"><span class="token keyword">location</span> /</span> <span class="token punctuation">{</span>
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.2c402e15.js";const b='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github","slug":"get-the-client-id-and-client-secret-on-github"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"}],"relativePath":"en_US/guide/dashboard.md"}',o={},s=n("",25),r=[s];function i(l,c,p,h,u,d){return a(),t("div",null,r)}var m=e(o,[["render",i]]);export{b as __pageData,m as default};
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.c59cf861.js";const b='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github","slug":"get-the-client-id-and-client-secret-on-github"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"}],"relativePath":"en_US/guide/dashboard.md"}',o={},s=n("",25),r=[s];function i(l,c,p,h,u,d){return a(),t("div",null,r)}var m=e(o,[["render",i]]);export{b as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as r,a,b as o}from"./app.2c402e15.js";const u='{"title":"Dashboard","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/dashboardq.md"}',s={},d=a("h1",{id:"dashboard",tabindex:"-1"},[o("Dashboard "),a("a",{class:"header-anchor",href:"#dashboard","aria-hidden":"true"},"#")],-1),c=[d];function n(h,i,_,p,l,b){return r(),t("div",null,c)}var m=e(s,[["render",n]]);export{u as __pageData,m as default};
|
||||
import{_ as e,c as t,o as r,a,b as o}from"./app.c59cf861.js";const u='{"title":"Dashboard","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/dashboardq.md"}',s={},d=a("h1",{id:"dashboard",tabindex:"-1"},[o("Dashboard "),a("a",{class:"header-anchor",href:"#dashboard","aria-hidden":"true"},"#")],-1),c=[d];function n(h,i,_,p,l,b){return r(),t("div",null,c)}var m=e(s,[["render",n]]);export{u as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as r,a,b as o}from"./app.2c402e15.js";const u='{"title":"Dashboard","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/dashboardq.md"}',s={},d=a("h1",{id:"dashboard",tabindex:"-1"},[o("Dashboard "),a("a",{class:"header-anchor",href:"#dashboard","aria-hidden":"true"},"#")],-1),c=[d];function n(h,i,_,p,l,b){return r(),t("div",null,c)}var m=e(s,[["render",n]]);export{u as __pageData,m as default};
|
||||
import{_ as e,c as t,o as r,a,b as o}from"./app.c59cf861.js";const u='{"title":"Dashboard","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/dashboardq.md"}',s={},d=a("h1",{id:"dashboard",tabindex:"-1"},[o("Dashboard "),a("a",{class:"header-anchor",href:"#dashboard","aria-hidden":"true"},"#")],-1),c=[d];function n(h,i,_,p,l,b){return r(),t("div",null,c)}var m=e(s,[["render",n]]);export{u as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,o,a as e,b as n}from"./app.2c402e15.js";const u='{"title":"Login","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/loginq.md"}',r={},s=e("h1",{id:"login",tabindex:"-1"},[n("Login "),e("a",{class:"header-anchor",href:"#login","aria-hidden":"true"},"#")],-1),i=[s];function c(d,_,l,h,p,f){return o(),a("div",null,i)}var m=t(r,[["render",c]]);export{u as __pageData,m as default};
|
||||
import{_ as t,c as a,o,a as e,b as n}from"./app.c59cf861.js";const u='{"title":"Login","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/loginq.md"}',r={},s=e("h1",{id:"login",tabindex:"-1"},[n("Login "),e("a",{class:"header-anchor",href:"#login","aria-hidden":"true"},"#")],-1),i=[s];function c(d,_,l,h,p,f){return o(),a("div",null,i)}var m=t(r,[["render",c]]);export{u as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,o,a as e,b as n}from"./app.2c402e15.js";const u='{"title":"Login","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/loginq.md"}',r={},s=e("h1",{id:"login",tabindex:"-1"},[n("Login "),e("a",{class:"header-anchor",href:"#login","aria-hidden":"true"},"#")],-1),i=[s];function c(d,_,l,h,p,f){return o(),a("div",null,i)}var m=t(r,[["render",c]]);export{u as __pageData,m as default};
|
||||
import{_ as t,c as a,o,a as e,b as n}from"./app.c59cf861.js";const u='{"title":"Login","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/loginq.md"}',r={},s=e("h1",{id:"login",tabindex:"-1"},[n("Login "),e("a",{class:"header-anchor",href:"#login","aria-hidden":"true"},"#")],-1),i=[s];function c(d,_,l,h,p,f){return o(),a("div",null,i)}var m=t(r,[["render",c]]);export{u as __pageData,m as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as t,d as i}from"./app.2c402e15.js";const m='{"title":"Flexible notification methods","description":"","frontmatter":{},"headers":[{"level":2,"title":"Flexible notification methods","slug":"flexible-notification-methods"},{"level":2,"title":"Description of notification rules","slug":"description-of-notification-rules"},{"level":3,"title":"Basic Rules","slug":"basic-rules"},{"level":3,"title":"Special: Any-cycle transfer notification","slug":"special-any-cycle-transfer-notification"}],"relativePath":"en_US/guide/notifications.md"}',n={},a=i("",20),c=[a];function l(r,s,d,u,h,f){return t(),o("div",null,c)}var q=e(n,[["render",l]]);export{m as __pageData,q as default};
|
||||
import{_ as e,c as o,o as t,d as i}from"./app.c59cf861.js";const m='{"title":"Flexible notification methods","description":"","frontmatter":{},"headers":[{"level":2,"title":"Flexible notification methods","slug":"flexible-notification-methods"},{"level":2,"title":"Description of notification rules","slug":"description-of-notification-rules"},{"level":3,"title":"Basic Rules","slug":"basic-rules"},{"level":3,"title":"Special: Any-cycle transfer notification","slug":"special-any-cycle-transfer-notification"}],"relativePath":"en_US/guide/notifications.md"}',n={},a=i("",20),c=[a];function l(r,s,d,u,h,f){return t(),o("div",null,c)}var q=e(n,[["render",l]]);export{m as __pageData,q as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o,d as n}from"./app.2c402e15.js";const m='{"title":"Let the Agent start/on-line, and the self-test process of the problem","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q2.md"}',r={},a=n('<h4 id="let-the-agent-start-on-line-and-the-self-test-process-of-the-problem" tabindex="-1">Let the Agent start/on-line, and the self-test process of the problem <a class="header-anchor" href="#let-the-agent-start-on-line-and-the-self-test-process-of-the-problem" aria-hidden="true">#</a></h4><ol><li>Run <code>//opt/nezha/agent/nezha-agent -s IP/Domin(Panel IP or Domain not connected to CDN):port(Panel RPC port) -p secret(Agent Secret) -d</code> Check the logs to see if the timeout is due to a DNS problem or poor network</li><li><code>nc -v domain/IP port(Panel RPC port)</code> or <code>telnet domain/IP port(Panel RPC port)</code> to check if it' s a network problem, check the inbound and outbound firewall between the local machine and the panel server, if you can' t determine the problem you can check it with the port checking tool provided by <a href="https://port.ping.pe/" target="_blank" rel="noopener noreferrer">https://port.ping.pe/</a></li><li>If the above steps work and the Agent is online, please try to turn off SELinux on the panel server. <a href="https://www.google.com/search?q=How+to+disable+SELinux" target="_blank" rel="noopener noreferrer">How to close SELinux\uFF1F</a></li></ol>',2),s=[a];function l(i,c,h,p,d,_){return o(),t("div",null,s)}var u=e(r,[["render",l]]);export{m as __pageData,u as default};
|
||||
import{_ as e,c as t,o,d as n}from"./app.c59cf861.js";const m='{"title":"Let the Agent start/on-line, and the self-test process of the problem","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q2.md"}',r={},a=n('<h4 id="let-the-agent-start-on-line-and-the-self-test-process-of-the-problem" tabindex="-1">Let the Agent start/on-line, and the self-test process of the problem <a class="header-anchor" href="#let-the-agent-start-on-line-and-the-self-test-process-of-the-problem" aria-hidden="true">#</a></h4><ol><li>Run <code>//opt/nezha/agent/nezha-agent -s IP/Domin(Panel IP or Domain not connected to CDN):port(Panel RPC port) -p secret(Agent Secret) -d</code> Check the logs to see if the timeout is due to a DNS problem or poor network</li><li><code>nc -v domain/IP port(Panel RPC port)</code> or <code>telnet domain/IP port(Panel RPC port)</code> to check if it' s a network problem, check the inbound and outbound firewall between the local machine and the panel server, if you can' t determine the problem you can check it with the port checking tool provided by <a href="https://port.ping.pe/" target="_blank" rel="noopener noreferrer">https://port.ping.pe/</a></li><li>If the above steps work and the Agent is online, please try to turn off SELinux on the panel server. <a href="https://www.google.com/search?q=How+to+disable+SELinux" target="_blank" rel="noopener noreferrer">How to close SELinux\uFF1F</a></li></ol>',2),s=[a];function l(i,c,h,p,d,_){return o(),t("div",null,s)}var u=e(r,[["render",l]]);export{m as __pageData,u as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o,d as n}from"./app.2c402e15.js";const m='{"title":"Let the Agent start/on-line, and the self-test process of the problem","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q2.md"}',r={},a=n("",2),s=[a];function l(i,c,h,p,d,_){return o(),t("div",null,s)}var u=e(r,[["render",l]]);export{m as __pageData,u as default};
|
||||
import{_ as e,c as t,o,d as n}from"./app.c59cf861.js";const m='{"title":"Let the Agent start/on-line, and the self-test process of the problem","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q2.md"}',r={},a=n("",2),s=[a];function l(i,c,h,p,d,_){return o(),t("div",null,s)}var u=e(r,[["render",l]]);export{m as __pageData,u as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as e,c as n,o as a,d as s}from"./app.2c402e15.js";const g='{"title":"Reverse Proxy gRPC Port (support Cloudflare CDN)","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q3.md"}',t={},o=s(`<h4 id="reverse-proxy-grpc-port-support-cloudflare-cdn" tabindex="-1">Reverse Proxy gRPC Port (support Cloudflare CDN) <a class="header-anchor" href="#reverse-proxy-grpc-port-support-cloudflare-cdn" aria-hidden="true">#</a></h4><p>Use Nginx or Caddy to reverse proxy gRPC</p><ul><li>Nginx configuration files</li></ul><div class="language-nginx"><pre><code><span class="token directive"><span class="token keyword">server</span></span> <span class="token punctuation">{</span>
|
||||
import{_ as e,c as n,o as a,d as s}from"./app.c59cf861.js";const g='{"title":"Reverse Proxy gRPC Port (support Cloudflare CDN)","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q3.md"}',t={},o=s(`<h4 id="reverse-proxy-grpc-port-support-cloudflare-cdn" tabindex="-1">Reverse Proxy gRPC Port (support Cloudflare CDN) <a class="header-anchor" href="#reverse-proxy-grpc-port-support-cloudflare-cdn" aria-hidden="true">#</a></h4><p>Use Nginx or Caddy to reverse proxy gRPC</p><ul><li>Nginx configuration files</li></ul><div class="language-nginx"><pre><code><span class="token directive"><span class="token keyword">server</span></span> <span class="token punctuation">{</span>
|
||||
<span class="token directive"><span class="token keyword">listen</span> <span class="token number">443</span> ssl http2</span><span class="token punctuation">;</span>
|
||||
<span class="token directive"><span class="token keyword">listen</span> [::]:443 ssl http2</span><span class="token punctuation">;</span>
|
||||
<span class="token directive"><span class="token keyword">server_name</span> data.example.com</span><span class="token punctuation">;</span> <span class="token comment"># The domain name where the Agent connects to Dashboard</span>
|
@ -1 +1 @@
|
||||
import{_ as e,c as n,o as a,d as s}from"./app.2c402e15.js";const g='{"title":"Reverse Proxy gRPC Port (support Cloudflare CDN)","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q3.md"}',t={},o=s("",13),p=[o];function c(r,i,l,d,u,h){return a(),n("div",null,p)}var m=e(t,[["render",c]]);export{g as __pageData,m as default};
|
||||
import{_ as e,c as n,o as a,d as s}from"./app.c59cf861.js";const g='{"title":"Reverse Proxy gRPC Port (support Cloudflare CDN)","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q3.md"}',t={},o=s("",13),p=[o];function c(r,i,l,d,u,h){return a(),n("div",null,p)}var m=e(t,[["render",c]]);export{g as __pageData,m as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,o,a as e,b as n}from"./app.2c402e15.js";const v='{"title":"Real-time channel disconnection/online terminal connection failure","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q4.md"}',i={},r=e("h4",{id:"real-time-channel-disconnection-online-terminal-connection-failure",tabindex:"-1"},[n("Real-time channel disconnection/online terminal connection failure "),e("a",{class:"header-anchor",href:"#real-time-channel-disconnection-online-terminal-connection-failure","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"If you are using a CDN, please make sure that the CDN provider provides WebSocket service and that WebSocket is enabled"),e("li",null,[n("Confirm that you are using a reverse proxy requires special configuration of the WebSocket for the "),e("code",null,"/ws"),n(" and "),e("code",null,"/terminal"),n(" paths, you can "),e("a",{href:"/en_US/guide/dashboard.html#configure-reverse-proxy"},"click here"),n(" to see the reverse proxy configuration")])],-1),l=[r,c];function s(d,u,h,f,_,m){return o(),a("div",null,l)}var g=t(i,[["render",s]]);export{v as __pageData,g as default};
|
||||
import{_ as t,c as a,o,a as e,b as n}from"./app.c59cf861.js";const v='{"title":"Real-time channel disconnection/online terminal connection failure","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q4.md"}',i={},r=e("h4",{id:"real-time-channel-disconnection-online-terminal-connection-failure",tabindex:"-1"},[n("Real-time channel disconnection/online terminal connection failure "),e("a",{class:"header-anchor",href:"#real-time-channel-disconnection-online-terminal-connection-failure","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"If you are using a CDN, please make sure that the CDN provider provides WebSocket service and that WebSocket is enabled"),e("li",null,[n("Confirm that you are using a reverse proxy requires special configuration of the WebSocket for the "),e("code",null,"/ws"),n(" and "),e("code",null,"/terminal"),n(" paths, you can "),e("a",{href:"/en_US/guide/dashboard.html#configure-reverse-proxy"},"click here"),n(" to see the reverse proxy configuration")])],-1),l=[r,c];function s(d,u,h,f,_,m){return o(),a("div",null,l)}var g=t(i,[["render",s]]);export{v as __pageData,g as default};
|
@ -1 +1 @@
|
||||
import{_ as t,c as a,o,a as e,b as n}from"./app.2c402e15.js";const v='{"title":"Real-time channel disconnection/online terminal connection failure","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q4.md"}',i={},r=e("h4",{id:"real-time-channel-disconnection-online-terminal-connection-failure",tabindex:"-1"},[n("Real-time channel disconnection/online terminal connection failure "),e("a",{class:"header-anchor",href:"#real-time-channel-disconnection-online-terminal-connection-failure","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"If you are using a CDN, please make sure that the CDN provider provides WebSocket service and that WebSocket is enabled"),e("li",null,[n("Confirm that you are using a reverse proxy requires special configuration of the WebSocket for the "),e("code",null,"/ws"),n(" and "),e("code",null,"/terminal"),n(" paths, you can "),e("a",{href:"/en_US/guide/dashboard.html#configure-reverse-proxy"},"click here"),n(" to see the reverse proxy configuration")])],-1),l=[r,c];function s(d,u,h,f,_,m){return o(),a("div",null,l)}var g=t(i,[["render",s]]);export{v as __pageData,g as default};
|
||||
import{_ as t,c as a,o,a as e,b as n}from"./app.c59cf861.js";const v='{"title":"Real-time channel disconnection/online terminal connection failure","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q4.md"}',i={},r=e("h4",{id:"real-time-channel-disconnection-online-terminal-connection-failure",tabindex:"-1"},[n("Real-time channel disconnection/online terminal connection failure "),e("a",{class:"header-anchor",href:"#real-time-channel-disconnection-online-terminal-connection-failure","aria-hidden":"true"},"#")],-1),c=e("ul",null,[e("li",null,"If you are using a CDN, please make sure that the CDN provider provides WebSocket service and that WebSocket is enabled"),e("li",null,[n("Confirm that you are using a reverse proxy requires special configuration of the WebSocket for the "),e("code",null,"/ws"),n(" and "),e("code",null,"/terminal"),n(" paths, you can "),e("a",{href:"/en_US/guide/dashboard.html#configure-reverse-proxy"},"click here"),n(" to see the reverse proxy configuration")])],-1),l=[r,c];function s(d,u,h,f,_,m){return o(),a("div",null,l)}var g=t(i,[["render",s]]);export{v as __pageData,g as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as r,o,a as e,b as t}from"./app.2c402e15.js";const f='{"title":"How do I migrate my data to the new server and restore my backups?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q5.md"}',s={},n=e("h4",{id:"how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups",tabindex:"-1"},[t("How do I migrate my data to the new server and restore my backups? "),e("a",{class:"header-anchor",href:"#how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups","aria-hidden":"true"},"#")],-1),c=e("ol",null,[e("li",null,[t("First use the one-click script and select "),e("code",null,"Stop Panel")]),e("li",null,[t("Compress the "),e("code",null,"/opt/nezha"),t(" folder to the same path as the new server")]),e("li",null,[t("Run the one-click script in the new server, select "),e("code",null,"Launch Panel")])],-1),d=[n,c];function l(i,h,u,m,p,_){return o(),r("div",null,d)}var v=a(s,[["render",l]]);export{f as __pageData,v as default};
|
||||
import{_ as a,c as r,o,a as e,b as t}from"./app.c59cf861.js";const f='{"title":"How do I migrate my data to the new server and restore my backups?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q5.md"}',s={},n=e("h4",{id:"how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups",tabindex:"-1"},[t("How do I migrate my data to the new server and restore my backups? "),e("a",{class:"header-anchor",href:"#how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups","aria-hidden":"true"},"#")],-1),c=e("ol",null,[e("li",null,[t("First use the one-click script and select "),e("code",null,"Stop Panel")]),e("li",null,[t("Compress the "),e("code",null,"/opt/nezha"),t(" folder to the same path as the new server")]),e("li",null,[t("Run the one-click script in the new server, select "),e("code",null,"Launch Panel")])],-1),d=[n,c];function l(i,h,u,m,p,_){return o(),r("div",null,d)}var v=a(s,[["render",l]]);export{f as __pageData,v as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as r,o,a as e,b as t}from"./app.2c402e15.js";const f='{"title":"How do I migrate my data to the new server and restore my backups?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q5.md"}',s={},n=e("h4",{id:"how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups",tabindex:"-1"},[t("How do I migrate my data to the new server and restore my backups? "),e("a",{class:"header-anchor",href:"#how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups","aria-hidden":"true"},"#")],-1),c=e("ol",null,[e("li",null,[t("First use the one-click script and select "),e("code",null,"Stop Panel")]),e("li",null,[t("Compress the "),e("code",null,"/opt/nezha"),t(" folder to the same path as the new server")]),e("li",null,[t("Run the one-click script in the new server, select "),e("code",null,"Launch Panel")])],-1),d=[n,c];function l(i,h,u,m,p,_){return o(),r("div",null,d)}var v=a(s,[["render",l]]);export{f as __pageData,v as default};
|
||||
import{_ as a,c as r,o,a as e,b as t}from"./app.c59cf861.js";const f='{"title":"How do I migrate my data to the new server and restore my backups?","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/q5.md"}',s={},n=e("h4",{id:"how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups",tabindex:"-1"},[t("How do I migrate my data to the new server and restore my backups? "),e("a",{class:"header-anchor",href:"#how-do-i-migrate-my-data-to-the-new-server-and-restore-my-backups","aria-hidden":"true"},"#")],-1),c=e("ol",null,[e("li",null,[t("First use the one-click script and select "),e("code",null,"Stop Panel")]),e("li",null,[t("Compress the "),e("code",null,"/opt/nezha"),t(" folder to the same path as the new server")]),e("li",null,[t("Run the one-click script in the new server, select "),e("code",null,"Launch Panel")])],-1),d=[n,c];function l(i,h,u,m,p,_){return o(),r("div",null,d)}var v=a(s,[["render",l]]);export{f as __pageData,v as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.2c402e15.js";const p='{"title":"Servers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Add a server","slug":"add-a-server"},{"level":2,"title":"Install Agent","slug":"install-agent"},{"level":2,"title":"Forced Updates","slug":"forced-updates"},{"level":2,"title":"Data List","slug":"data-list"},{"level":2,"title":"Webshell","slug":"webshell"}],"relativePath":"en_US/guide/servers.md"}',r={},i=n('<h1 id="servers" tabindex="-1">Servers <a class="header-anchor" href="#servers" aria-hidden="true">#</a></h1><h2 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-hidden="true">#</a></h2><p>The Servers area is responsible for managing the Agent, the most basic area in Nezha Monitoring, and the basis for other functions.</p><h2 id="add-a-server" tabindex="-1">Add a server <a class="header-anchor" href="#add-a-server" aria-hidden="true">#</a></h2><p>The first step is to add a servers, which can be customized with names, groups, display index and notes.<br> Servers in the same group will be displayed in groups in supported themes, and notes will only be displayed in the admin panel, no need to worry about leaking information.</p><h2 id="install-agent" tabindex="-1">Install Agent <a class="header-anchor" href="#install-agent" aria-hidden="true">#</a></h2><p>Please refer to the previous article: <a href="/en_US/guide/agent.html">Install Agent</a><br> We recommend using one-click installation, that is, <strong>after configuring the communication domain name</strong>, click the button on the column <strong>one-click installation</strong> and copy it to the monitored servers for installation.</p><h2 id="forced-updates" tabindex="-1">Forced Updates <a class="header-anchor" href="#forced-updates" aria-hidden="true">#</a></h2><p>The flags related to the update of the Agent are: <code>--disable-auto-update</code> and <code>--disable-force-update</code>. Please refer to <a href="/en_US/guide/agent.html#customize-agent">Customize Agent</a><br> By default, the Agent is updated automatically, but when the user turns off automatic updates, the specified servers can also be selected for forced updates.<br> This feature does not take effect when <code>-disable-force-update</code> is turned on.</p><h2 id="data-list" tabindex="-1">Data List <a class="header-anchor" href="#data-list" aria-hidden="true">#</a></h2><ul><li>Version number: Record the current version of Agent</li><li>Secret: Used when configuring the Agent</li><li>One-Click Installation: A more convenient way to install Agent</li><li>Manage: WebShell on the left, Edit in the middle, Delete on the right</li></ul><h2 id="webshell" tabindex="-1">Webshell <a class="header-anchor" href="#webshell" aria-hidden="true">#</a></h2><p>This feature does not take effect when <code>disable-command-execute</code> is turned on.<br> Both Linux and Windows are available and can be pasted using Ctrl+Shift+V.<br> For connection failure, please refer to <a href="/en_US/guide/q4.html">Real-time channel disconnection/online terminal connection failure</a>.<br> Note that in theWebShell function, the Agent also connects to the <strong>Domain names for public access</strong> via WebSocket, not via grpc.</p>',13),s=[i];function o(d,l,h,c,u,f){return a(),t("div",null,s)}var b=e(r,[["render",o]]);export{p as __pageData,b as default};
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.c59cf861.js";const p='{"title":"Servers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Add a server","slug":"add-a-server"},{"level":2,"title":"Install Agent","slug":"install-agent"},{"level":2,"title":"Forced Updates","slug":"forced-updates"},{"level":2,"title":"Data List","slug":"data-list"},{"level":2,"title":"Webshell","slug":"webshell"}],"relativePath":"en_US/guide/servers.md"}',r={},i=n('<h1 id="servers" tabindex="-1">Servers <a class="header-anchor" href="#servers" aria-hidden="true">#</a></h1><h2 id="introduction" tabindex="-1">Introduction <a class="header-anchor" href="#introduction" aria-hidden="true">#</a></h2><p>The Servers area is responsible for managing the Agent, the most basic area in Nezha Monitoring, and the basis for other functions.</p><h2 id="add-a-server" tabindex="-1">Add a server <a class="header-anchor" href="#add-a-server" aria-hidden="true">#</a></h2><p>The first step is to add a servers, which can be customized with names, groups, display index and notes.<br> Servers in the same group will be displayed in groups in supported themes, and notes will only be displayed in the admin panel, no need to worry about leaking information.</p><h2 id="install-agent" tabindex="-1">Install Agent <a class="header-anchor" href="#install-agent" aria-hidden="true">#</a></h2><p>Please refer to the previous article: <a href="/en_US/guide/agent.html">Install Agent</a><br> We recommend using one-click installation, that is, <strong>after configuring the communication domain name</strong>, click the button on the column <strong>one-click installation</strong> and copy it to the monitored servers for installation.</p><h2 id="forced-updates" tabindex="-1">Forced Updates <a class="header-anchor" href="#forced-updates" aria-hidden="true">#</a></h2><p>The flags related to the update of the Agent are: <code>--disable-auto-update</code> and <code>--disable-force-update</code>. Please refer to <a href="/en_US/guide/agent.html#customize-agent">Customize Agent</a><br> By default, the Agent is updated automatically, but when the user turns off automatic updates, the specified servers can also be selected for forced updates.<br> This feature does not take effect when <code>-disable-force-update</code> is turned on.</p><h2 id="data-list" tabindex="-1">Data List <a class="header-anchor" href="#data-list" aria-hidden="true">#</a></h2><ul><li>Version number: Record the current version of Agent</li><li>Secret: Used when configuring the Agent</li><li>One-Click Installation: A more convenient way to install Agent</li><li>Manage: WebShell on the left, Edit in the middle, Delete on the right</li></ul><h2 id="webshell" tabindex="-1">Webshell <a class="header-anchor" href="#webshell" aria-hidden="true">#</a></h2><p>This feature does not take effect when <code>disable-command-execute</code> is turned on.<br> Both Linux and Windows are available and can be pasted using Ctrl+Shift+V.<br> For connection failure, please refer to <a href="/en_US/guide/q4.html">Real-time channel disconnection/online terminal connection failure</a>.<br> Note that in theWebShell function, the Agent also connects to the <strong>Domain names for public access</strong> via WebSocket, not via grpc.</p>',13),s=[i];function o(d,l,h,c,u,f){return a(),t("div",null,s)}var b=e(r,[["render",o]]);export{p as __pageData,b as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.2c402e15.js";const p='{"title":"Servers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Add a server","slug":"add-a-server"},{"level":2,"title":"Install Agent","slug":"install-agent"},{"level":2,"title":"Forced Updates","slug":"forced-updates"},{"level":2,"title":"Data List","slug":"data-list"},{"level":2,"title":"Webshell","slug":"webshell"}],"relativePath":"en_US/guide/servers.md"}',r={},i=n("",13),s=[i];function o(d,l,h,c,u,f){return a(),t("div",null,s)}var b=e(r,[["render",o]]);export{p as __pageData,b as default};
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.c59cf861.js";const p='{"title":"Servers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Add a server","slug":"add-a-server"},{"level":2,"title":"Install Agent","slug":"install-agent"},{"level":2,"title":"Forced Updates","slug":"forced-updates"},{"level":2,"title":"Data List","slug":"data-list"},{"level":2,"title":"Webshell","slug":"webshell"}],"relativePath":"en_US/guide/servers.md"}',r={},i=n("",13),s=[i];function o(d,l,h,c,u,f){return a(),t("div",null,s)}var b=e(r,[["render",o]]);export{p as __pageData,b as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o,d as i}from"./app.2c402e15.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md"}',n={},r=i('<p><strong>Service area is a function setting area for setting up Agents to monitor external websites or servers</strong><br><strong>The monitoring results can be viewed on the "Services" page in the home page</strong><br></p><h2 id="how-to-use" tabindex="-1">How to use <a class="header-anchor" href="#how-to-use" aria-hidden="true">#</a></h2><p>To add a new monitor, you can go to the "Services" page in the administration panel and click "Add Service Monitor".</p><p>To add a service monitor, you need to complete the following settings:</p><ul><li><p><code>Name</code> - Customize a name</p></li><li><p><code>Type</code> - Select a monitoring type. Nezha currently supports three monitoring types: "HTTP-GET", "ICMP-Ping" and "TCP-Ping".</p></li><li><p><code>Target</code> - Depending on the type you choose, the target is set in different ways</p></li></ul><blockquote><ul><li><code>HTTP-GET</code>: Selecting this type, you should enter a URL as the target, the URL should be added with <code>http://</code> or <code>https://</code> <strong>If your target URL is <code>https://</code>, it will also monitor the SSL certificate of that URL and trigger a notification when the SSL certificate expires or changes.</strong><br> For example: <a href="https://example.com" target="_blank" rel="noopener noreferrer">https://example.com</a></li></ul></blockquote><blockquote><ul><li><code>ICMP-Ping</code>: When selecting this type, you should enter a domain name or IP without a port number<br> For example: 1.1.1.1 or <a href="http://example.com" target="_blank" rel="noopener noreferrer">example.com</a></li></ul></blockquote><blockquote><ul><li><code>TCP-Ping</code>: When selecting this type, you should enter a domain name or IP and include the port number<br> For example: 1.1.1.1:80 or <a href="http://example.com:22" target="_blank" rel="noopener noreferrer">example.com:22</a></li></ul></blockquote><ul><li><p><code>Interval</code>\uFF1A Sets the time interval in seconds between each time Agent sends requests to the target</p></li><li><p><code>Coverage</code>\uFF1A Select a rule to determine which Agents to use to send requests to the target</p></li><li><p><code>Specific Servers</code>\uFF1A Use with coverage to select the Agent to be excluded from the rule</p></li><li><p><code>Notification Group</code>\uFF1A Select the notification method you have set up on the "Notification" page. <a href="/en_US/guide/notifications.html#flexible-notification-methods">Click here</a> for more information</p></li><li><p><code>Enable Failure Notification</code>\uFF1A Select whether to receive target failure notifications as needed, default is inactive</p></li></ul><p>After setting, click "Add" and you are done.<br> Wait for a moment to go to the "Services" page on the home page to view the monitoring results<br><br></p><h2 id="management-monitor" tabindex="-1">Management Monitor <a class="header-anchor" href="#management-monitor" aria-hidden="true">#</a></h2><p>To manage existing service monitoring, you can go to the "Services" page in the administration panel<br> Select a monitoring configuration and click the icon on the right to edit or delete it</p>',12),a=[r];function c(l,s,d,u,h,p){return o(),t("div",null,a)}var f=e(n,[["render",c]]);export{m as __pageData,f as default};
|
||||
import{_ as e,c as t,o,d as i}from"./app.c59cf861.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md"}',n={},r=i('<p><strong>Service area is a function setting area for setting up Agents to monitor external websites or servers</strong><br><strong>The monitoring results can be viewed on the "Services" page in the home page</strong><br></p><h2 id="how-to-use" tabindex="-1">How to use <a class="header-anchor" href="#how-to-use" aria-hidden="true">#</a></h2><p>To add a new monitor, you can go to the "Services" page in the administration panel and click "Add Service Monitor".</p><p>To add a service monitor, you need to complete the following settings:</p><ul><li><p><code>Name</code> - Customize a name</p></li><li><p><code>Type</code> - Select a monitoring type. Nezha currently supports three monitoring types: "HTTP-GET", "ICMP-Ping" and "TCP-Ping".</p></li><li><p><code>Target</code> - Depending on the type you choose, the target is set in different ways</p></li></ul><blockquote><ul><li><code>HTTP-GET</code>: Selecting this type, you should enter a URL as the target, the URL should be added with <code>http://</code> or <code>https://</code> <strong>If your target URL is <code>https://</code>, it will also monitor the SSL certificate of that URL and trigger a notification when the SSL certificate expires or changes.</strong><br> For example: <a href="https://example.com" target="_blank" rel="noopener noreferrer">https://example.com</a></li></ul></blockquote><blockquote><ul><li><code>ICMP-Ping</code>: When selecting this type, you should enter a domain name or IP without a port number<br> For example: 1.1.1.1 or <a href="http://example.com" target="_blank" rel="noopener noreferrer">example.com</a></li></ul></blockquote><blockquote><ul><li><code>TCP-Ping</code>: When selecting this type, you should enter a domain name or IP and include the port number<br> For example: 1.1.1.1:80 or <a href="http://example.com:22" target="_blank" rel="noopener noreferrer">example.com:22</a></li></ul></blockquote><ul><li><p><code>Interval</code>\uFF1A Sets the time interval in seconds between each time Agent sends requests to the target</p></li><li><p><code>Coverage</code>\uFF1A Select a rule to determine which Agents to use to send requests to the target</p></li><li><p><code>Specific Servers</code>\uFF1A Use with coverage to select the Agent to be excluded from the rule</p></li><li><p><code>Notification Group</code>\uFF1A Select the notification method you have set up on the "Notification" page. <a href="/en_US/guide/notifications.html#flexible-notification-methods">Click here</a> for more information</p></li><li><p><code>Enable Failure Notification</code>\uFF1A Select whether to receive target failure notifications as needed, default is inactive</p></li></ul><p>After setting, click "Add" and you are done.<br> Wait for a moment to go to the "Services" page on the home page to view the monitoring results<br><br></p><h2 id="management-monitor" tabindex="-1">Management Monitor <a class="header-anchor" href="#management-monitor" aria-hidden="true">#</a></h2><p>To manage existing service monitoring, you can go to the "Services" page in the administration panel<br> Select a monitoring configuration and click the icon on the right to edit or delete it</p>',12),a=[r];function c(l,s,d,u,h,p){return o(),t("div",null,a)}var f=e(n,[["render",c]]);export{m as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o,d as i}from"./app.2c402e15.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md"}',n={},r=i("",12),a=[r];function c(l,s,d,u,h,p){return o(),t("div",null,a)}var f=e(n,[["render",c]]);export{m as __pageData,f as default};
|
||||
import{_ as e,c as t,o,d as i}from"./app.c59cf861.js";const m='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Management Monitor","slug":"management-monitor"}],"relativePath":"en_US/guide/services.md"}',n={},r=i("",12),a=[r];function c(l,s,d,u,h,p){return o(),t("div",null,a)}var f=e(n,[["render",c]]);export{m as __pageData,f as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.2c402e15.js";const k='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md"}',e={},o=t(`<h2 id="site-title" tabindex="-1">Site Title <a class="header-anchor" href="#site-title" aria-hidden="true">#</a></h2><p>You can customize your site title here<br><br></p><h2 id="admin-list" tabindex="-1">Admin List <a class="header-anchor" href="#admin-list" aria-hidden="true">#</a></h2><ul><li><p>If you have changed your Github/Gitee username, you can change it in this item, otherwise you can't log in, please separate multiple users with commas: <code>user1,user2</code></p></li><li><p>To change your administrator account, please go to <code>/opt/nezha/dashboard/data/config.yaml</code> to set the new administrator <code>Client ID</code> and <code>Client Secret</code>.<br><br></p></li></ul><h2 id="theme" tabindex="-1">Theme <a class="header-anchor" href="#theme" aria-hidden="true">#</a></h2><p>Select the home page theme here, and update the panel if there is not an existing theme in the options<br><br></p><h2 id="language" tabindex="-1">Language <a class="header-anchor" href="#language" aria-hidden="true">#</a></h2><p>Nezha Monitoring currently supports the following languages:</p><ul><li>\u7B80\u4F53\u4E2D\u6587</li><li>English</li><li>Espa\xF1ol</li></ul><p><a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer"><img src="https://badges.crowdin.net/nezha/localized.svg" alt=""></a><br> We welcome corrections to translations and contributions of additional languages<br><br></p><h2 id="custom-code-style-script" tabindex="-1">Custom code (style, script) <a class="header-anchor" href="#custom-code-style-script" aria-hidden="true">#</a></h2><p>Change logo, change color tone, add statistics code, etc.</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>The custom code only takes effect in the visitor's home page, not in the admin panel.<br> Since the code of different themes is different, if you really need to modify the content of the admin panel, please enter Docker to changes it by yourself.</p></div><br><h4 id="example-of-changing-the-default-theme-progress-bar-color" tabindex="-1">Example of changing the default theme progress bar color <a class="header-anchor" href="#example-of-changing-the-default-theme-progress-bar-color" aria-hidden="true">#</a></h4><div class="language-html"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>style</span><span class="token punctuation">></span></span><span class="token style"><span class="token language-css">
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.c59cf861.js";const k='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md"}',e={},o=t(`<h2 id="site-title" tabindex="-1">Site Title <a class="header-anchor" href="#site-title" aria-hidden="true">#</a></h2><p>You can customize your site title here<br><br></p><h2 id="admin-list" tabindex="-1">Admin List <a class="header-anchor" href="#admin-list" aria-hidden="true">#</a></h2><ul><li><p>If you have changed your Github/Gitee username, you can change it in this item, otherwise you can't log in, please separate multiple users with commas: <code>user1,user2</code></p></li><li><p>To change your administrator account, please go to <code>/opt/nezha/dashboard/data/config.yaml</code> to set the new administrator <code>Client ID</code> and <code>Client Secret</code>.<br><br></p></li></ul><h2 id="theme" tabindex="-1">Theme <a class="header-anchor" href="#theme" aria-hidden="true">#</a></h2><p>Select the home page theme here, and update the panel if there is not an existing theme in the options<br><br></p><h2 id="language" tabindex="-1">Language <a class="header-anchor" href="#language" aria-hidden="true">#</a></h2><p>Nezha Monitoring currently supports the following languages:</p><ul><li>\u7B80\u4F53\u4E2D\u6587</li><li>English</li><li>Espa\xF1ol</li></ul><p><a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer"><img src="https://badges.crowdin.net/nezha/localized.svg" alt=""></a><br> We welcome corrections to translations and contributions of additional languages<br><br></p><h2 id="custom-code-style-script" tabindex="-1">Custom code (style, script) <a class="header-anchor" href="#custom-code-style-script" aria-hidden="true">#</a></h2><p>Change logo, change color tone, add statistics code, etc.</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>The custom code only takes effect in the visitor's home page, not in the admin panel.<br> Since the code of different themes is different, if you really need to modify the content of the admin panel, please enter Docker to changes it by yourself.</p></div><br><h4 id="example-of-changing-the-default-theme-progress-bar-color" tabindex="-1">Example of changing the default theme progress bar color <a class="header-anchor" href="#example-of-changing-the-default-theme-progress-bar-color" aria-hidden="true">#</a></h4><div class="language-html"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>style</span><span class="token punctuation">></span></span><span class="token style"><span class="token language-css">
|
||||
<span class="token selector">.ui.fine.progress> .bar</span> <span class="token punctuation">{</span>
|
||||
<span class="token property">background-color</span><span class="token punctuation">:</span> pink <span class="token important">!important</span><span class="token punctuation">;</span>
|
||||
<span class="token punctuation">}</span>
|
@ -1 +1 @@
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.2c402e15.js";const k='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md"}',e={},o=t("",37),p=[o];function c(i,l,r,u,d,h){return s(),n("div",null,p)}var f=a(e,[["render",c]]);export{k as __pageData,f as default};
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.c59cf861.js";const k='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md"}',e={},o=t("",37),p=[o];function c(i,l,r,u,d,h){return s(),n("div",null,p)}var f=a(e,[["render",c]]);export{k as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o,d as a}from"./app.2c402e15.js";const g='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Manage tasks","slug":"manage-tasks"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/guide/tasks.md"}',i={},s=a('<p><strong>In the task area, you can set up scheduled tasks, periodic tasks, and multi-server batch execution tasks</strong></p><p>Nezha monitoring supports pushing commands to the Agent for execution, so this feature is very flexible and can be used to periodically back up the server in conjunction with restic, rclone, or periodically restart a service to reset the network connection.</p><h2 id="how-to-use" tabindex="-1">How to use <a class="header-anchor" href="#how-to-use" aria-hidden="true">#</a></h2><p>Go to the "Tasks" page of the admin panel and click "Add Scheduled Task"<br> To add a scheduled task you need to make the following settings:</p><ul><li><p><code>Name</code> - Customize a task name</p></li><li><p><code>Cron Expression</code> - Set schedule time, the Cron Expression is like:\uFF1A <code>* * * * * *</code> <code>sec min hour day month week</code>, see details in <a href="https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format" target="_blank" rel="noopener noreferrer">CRON Expression Format</a><br> For example: <code>0 0 3 * * *</code> is <code>Every day at 3 o'clock</code></p></li><li><p><code>Command</code> - Just like writing shell/bat scripts, <strong>but line wrap is not recommended</strong>, <strong>Multiple Commands should be connected with <code>&&/&</code></strong><br> For example, to execute a periodic reboot command, you can type <code>reboot</code> here</p></li><li><p><code>Coverage</code> and <code>Specific Servers</code> - Similar to the settings on the Services page, select rules to determine which Agents need to execute scheduled tasks</p></li><li><p><code>Notification Group</code> - Select the notification method you have set up on the "Notification" page. <a href="/en_US/guide/notifications.html#flexible-notification-methods">Click here</a> for more information</p></li><li><p><code>Send Success Notification</code> - When this item is activated, a message notification will be triggered when the task is successfully executed<br><br></p></li></ul><h2 id="manage-tasks" tabindex="-1">Manage tasks <a class="header-anchor" href="#manage-tasks" aria-hidden="true">#</a></h2><p>To manage existing scheduled tasks, you can go to the "Tasks" page in the administration panel<br> Select a task configuration and the three icons on the right, which are:</p><ul><li><code>Execute Now</code> - When clicked, the scheduled time will be ignored and the task will be executed immediately</li><li><code>Edit</code> - Click to modify the task configuration</li><li><code>Delete</code> - Delete this scheduled task<br><br></li></ul><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-hidden="true">#</a></h2><ol><li>Command not found<br> Command not found may cause by missing PATH environment variable, for Linux Server, you may try adding <code>source ~/.bashrc</code> at beginning of your command or execute by absolute path.</li></ol>',10),n=[s];function c(r,d,l,h,u,p){return o(),t("div",null,n)}var f=e(i,[["render",c]]);export{g as __pageData,f as default};
|
||||
import{_ as e,c as t,o,d as a}from"./app.c59cf861.js";const g='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Manage tasks","slug":"manage-tasks"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/guide/tasks.md"}',i={},s=a('<p><strong>In the task area, you can set up scheduled tasks, periodic tasks, and multi-server batch execution tasks</strong></p><p>Nezha monitoring supports pushing commands to the Agent for execution, so this feature is very flexible and can be used to periodically back up the server in conjunction with restic, rclone, or periodically restart a service to reset the network connection.</p><h2 id="how-to-use" tabindex="-1">How to use <a class="header-anchor" href="#how-to-use" aria-hidden="true">#</a></h2><p>Go to the "Tasks" page of the admin panel and click "Add Scheduled Task"<br> To add a scheduled task you need to make the following settings:</p><ul><li><p><code>Name</code> - Customize a task name</p></li><li><p><code>Cron Expression</code> - Set schedule time, the Cron Expression is like:\uFF1A <code>* * * * * *</code> <code>sec min hour day month week</code>, see details in <a href="https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format" target="_blank" rel="noopener noreferrer">CRON Expression Format</a><br> For example: <code>0 0 3 * * *</code> is <code>Every day at 3 o'clock</code></p></li><li><p><code>Command</code> - Just like writing shell/bat scripts, <strong>but line wrap is not recommended</strong>, <strong>Multiple Commands should be connected with <code>&&/&</code></strong><br> For example, to execute a periodic reboot command, you can type <code>reboot</code> here</p></li><li><p><code>Coverage</code> and <code>Specific Servers</code> - Similar to the settings on the Services page, select rules to determine which Agents need to execute scheduled tasks</p></li><li><p><code>Notification Group</code> - Select the notification method you have set up on the "Notification" page. <a href="/en_US/guide/notifications.html#flexible-notification-methods">Click here</a> for more information</p></li><li><p><code>Send Success Notification</code> - When this item is activated, a message notification will be triggered when the task is successfully executed<br><br></p></li></ul><h2 id="manage-tasks" tabindex="-1">Manage tasks <a class="header-anchor" href="#manage-tasks" aria-hidden="true">#</a></h2><p>To manage existing scheduled tasks, you can go to the "Tasks" page in the administration panel<br> Select a task configuration and the three icons on the right, which are:</p><ul><li><code>Execute Now</code> - When clicked, the scheduled time will be ignored and the task will be executed immediately</li><li><code>Edit</code> - Click to modify the task configuration</li><li><code>Delete</code> - Delete this scheduled task<br><br></li></ul><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-hidden="true">#</a></h2><ol><li>Command not found<br> Command not found may cause by missing PATH environment variable, for Linux Server, you may try adding <code>source ~/.bashrc</code> at beginning of your command or execute by absolute path.</li></ol>',10),n=[s];function c(r,d,l,h,u,p){return o(),t("div",null,n)}var f=e(i,[["render",c]]);export{g as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o,d as a}from"./app.2c402e15.js";const g='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Manage tasks","slug":"manage-tasks"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/guide/tasks.md"}',i={},s=a("",10),n=[s];function c(r,d,l,h,u,p){return o(),t("div",null,n)}var f=e(i,[["render",c]]);export{g as __pageData,f as default};
|
||||
import{_ as e,c as t,o,d as a}from"./app.c59cf861.js";const g='{"title":"How to use","description":"","frontmatter":{},"headers":[{"level":2,"title":"How to use","slug":"how-to-use"},{"level":2,"title":"Manage tasks","slug":"manage-tasks"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"en_US/guide/tasks.md"}',i={},s=a("",10),n=[s];function c(r,d,l,h,u,p){return o(),t("div",null,n)}var f=e(i,[["render",c]]);export{g as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as o,c as a,o as n,a as e,b as t}from"./app.2c402e15.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring","tagline":"A open source, lightweight server and website monitoring and O&M tool","actionText":"Learn More \u2192","actionLink":"/en_US/guide/dashboard","features":[{"title":"One-Click Installation","details":"Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported"},{"title":"Monitoring at any time","details":"Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)"},{"title":"Lightweight O&M tool","details":"Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/index.md"}',s={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),r=[i];function c(l,p,d,m,u,h){return n(),a("div",null,r)}var _=o(s,[["render",c]]);export{f as __pageData,_ as default};
|
||||
import{_ as o,c as a,o as n,a as e,b as t}from"./app.c59cf861.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring","tagline":"A open source, lightweight server and website monitoring and O&M tool","actionText":"Learn More \u2192","actionLink":"/en_US/guide/dashboard","features":[{"title":"One-Click Installation","details":"Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported"},{"title":"Monitoring at any time","details":"Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)"},{"title":"Lightweight O&M tool","details":"Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/index.md"}',s={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),r=[i];function c(l,p,d,m,u,h){return n(),a("div",null,r)}var _=o(s,[["render",c]]);export{f as __pageData,_ as default};
|
@ -1 +1 @@
|
||||
import{_ as o,c as a,o as n,a as e,b as t}from"./app.2c402e15.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring","tagline":"A open source, lightweight server and website monitoring and O&M tool","actionText":"Learn More \u2192","actionLink":"/en_US/guide/dashboard","features":[{"title":"One-Click Installation","details":"Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported"},{"title":"Monitoring at any time","details":"Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)"},{"title":"Lightweight O&M tool","details":"Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/index.md"}',s={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),r=[i];function c(l,p,d,m,u,h){return n(),a("div",null,r)}var _=o(s,[["render",c]]);export{f as __pageData,_ as default};
|
||||
import{_ as o,c as a,o as n,a as e,b as t}from"./app.c59cf861.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"Nezha Monitoring","tagline":"A open source, lightweight server and website monitoring and O&M tool","actionText":"Learn More \u2192","actionLink":"/en_US/guide/dashboard","features":[{"title":"One-Click Installation","details":"Support use one-click script to install Dashboard and Agent services; Linux, WIndows, MacOS, OpenWRT and other mainstream systems are supported"},{"title":"Monitoring at any time","details":"Support monitoring the system status of multiple servers at the same time, support monitoring the status of web pages, ports, SSL certificates; support notifications in case of failure, out of data and other status. Support multiple notification methods (Telegram, email, WeChat, etc.)"},{"title":"Lightweight O&M tool","details":"Support WebSSH, support cyclic monitoring data, support setting scheduled tasks and running command on multiple servers"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"en_US/index.md"}',s={},i=e("p",null,[e("br"),t("This work is licensed under a "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"),t(".")],-1),r=[i];function c(l,p,d,m,u,h){return n(),a("div",null,r)}var _=o(s,[["render",c]]);export{f as __pageData,_ as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as e,c as n,o as a,d as t}from"./app.2c402e15.js";const b='{"title":"\u4E00\u952E\u5B89\u88C5Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E00\u952E\u5B89\u88C5Agent","slug":"\u4E00\u952E\u5B89\u88C5agent"},{"level":3,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":3,"title":"Linux\u4E00\u952E\u5B89\u88C5","slug":"linux\u4E00\u952E\u5B89\u88C5"},{"level":3,"title":"Windows\u4E00\u952E\u5B89\u88C5","slug":"windows\u4E00\u952E\u5B89\u88C5"},{"level":2,"title":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5Agent","slug":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5agent"},{"level":3,"title":"Linux\u5B89\u88C5Agent","slug":"linux\u5B89\u88C5agent"},{"level":3,"title":"Windows\u5B89\u88C5Agent","slug":"windows\u5B89\u88C5agent"},{"level":3,"title":"OpenWRT\u5B89\u88C5Agent","slug":"openwrt\u5B89\u88C5agent"},{"level":2,"title":"\u81EA\u5B9A\u4E49Agent\u76D1\u63A7\u9879\u76EE","slug":"\u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"guide/agent.md"}',s={},o=t("",34),l=[o];function i(r,c,p,d,h,u){return a(),n("div",null,l)}var k=e(s,[["render",i]]);export{b as __pageData,k as default};
|
||||
import{_ as e,c as n,o as a,d as t}from"./app.c59cf861.js";const b='{"title":"\u4E00\u952E\u5B89\u88C5Agent","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4E00\u952E\u5B89\u88C5Agent","slug":"\u4E00\u952E\u5B89\u88C5agent"},{"level":3,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":3,"title":"Linux\u4E00\u952E\u5B89\u88C5","slug":"linux\u4E00\u952E\u5B89\u88C5"},{"level":3,"title":"Windows\u4E00\u952E\u5B89\u88C5","slug":"windows\u4E00\u952E\u5B89\u88C5"},{"level":2,"title":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5Agent","slug":"\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5agent"},{"level":3,"title":"Linux\u5B89\u88C5Agent","slug":"linux\u5B89\u88C5agent"},{"level":3,"title":"Windows\u5B89\u88C5Agent","slug":"windows\u5B89\u88C5agent"},{"level":3,"title":"OpenWRT\u5B89\u88C5Agent","slug":"openwrt\u5B89\u88C5agent"},{"level":2,"title":"\u81EA\u5B9A\u4E49Agent\u76D1\u63A7\u9879\u76EE","slug":"\u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"guide/agent.md"}',s={},o=t("",34),l=[o];function i(r,c,p,d,h,u){return a(),n("div",null,l)}var k=e(s,[["render",i]]);export{b as __pageData,k as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as a,d as r}from"./app.2c402e15.js";const p='{"title":"Agent\u76F8\u5173","description":"","frontmatter":{},"headers":[{"level":3,"title":"\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F"},{"level":3,"title":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519","slug":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519"}],"relativePath":"guide/agentq.md"}',n={},i=r('<h1 id="agent\u76F8\u5173" tabindex="-1">Agent\u76F8\u5173 <a class="header-anchor" href="#agent\u76F8\u5173" aria-hidden="true">#</a></h1><h3 id="\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F" tabindex="-1">\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F <a class="header-anchor" href="#\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F" aria-hidden="true">#</a></h3><p>\u8BF7\u67E5\u770B<a href="/guide/dashboardq.html#\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F">Dashboard\u76F8\u5173-\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F</a><br> \u5728\u6B64\u4E0D\u518D\u8D58\u8FF0\u3002</p><h3 id="\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519" tabindex="-1">\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519 <a class="header-anchor" href="#\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519" aria-hidden="true">#</a></h3><h4 id="curl-failed-to-connect-to-raw-githubusercontent-com" tabindex="-1">curl: Failed to connect to <a href="http://raw.githubusercontent.com" target="_blank" rel="noopener noreferrer">raw.githubusercontent.com</a>...... <a class="header-anchor" href="#curl-failed-to-connect-to-raw-githubusercontent-com" aria-hidden="true">#</a></h4><p>\u591A\u51FA\u73B0\u5728\u56FD\u5185\u4E3B\u673A\u4E2D\uFF0C\u76EE\u524D\u4E00\u952E\u811A\u672C\u53EA\u4ECEgithub\u76F4\u63A5\u83B7\u53D6\u5B89\u88C5\u811A\u672C\uFF0C\u60A8\u53EF\u4EE5\u591A\u5C1D\u8BD5\u51E0\u6B21\uFF0C\u6216\u8005<a href="/guide/agent.html#\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5agent">\u624B\u52A8\u5B89\u88C5Agent</a>\uFF0C\u522B\u5FD8\u4E86\u4F7F\u7528\u955C\u50CF\u3002</p>',6),o=[i];function c(h,d,s,l,g,_){return a(),t("div",null,o)}var f=e(n,[["render",c]]);export{p as __pageData,f as default};
|
||||
import{_ as e,c as t,o as a,d as r}from"./app.c59cf861.js";const p='{"title":"Agent\u76F8\u5173","description":"","frontmatter":{},"headers":[{"level":3,"title":"\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F"},{"level":3,"title":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519","slug":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519"}],"relativePath":"guide/agentq.md"}',n={},i=r('<h1 id="agent\u76F8\u5173" tabindex="-1">Agent\u76F8\u5173 <a class="header-anchor" href="#agent\u76F8\u5173" aria-hidden="true">#</a></h1><h3 id="\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F" tabindex="-1">\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F <a class="header-anchor" href="#\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F" aria-hidden="true">#</a></h3><p>\u8BF7\u67E5\u770B<a href="/guide/dashboardq.html#\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F">Dashboard\u76F8\u5173-\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F</a><br> \u5728\u6B64\u4E0D\u518D\u8D58\u8FF0\u3002</p><h3 id="\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519" tabindex="-1">\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519 <a class="header-anchor" href="#\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519" aria-hidden="true">#</a></h3><h4 id="curl-failed-to-connect-to-raw-githubusercontent-com" tabindex="-1">curl: Failed to connect to <a href="http://raw.githubusercontent.com" target="_blank" rel="noopener noreferrer">raw.githubusercontent.com</a>...... <a class="header-anchor" href="#curl-failed-to-connect-to-raw-githubusercontent-com" aria-hidden="true">#</a></h4><p>\u591A\u51FA\u73B0\u5728\u56FD\u5185\u4E3B\u673A\u4E2D\uFF0C\u76EE\u524D\u4E00\u952E\u811A\u672C\u53EA\u4ECEgithub\u76F4\u63A5\u83B7\u53D6\u5B89\u88C5\u811A\u672C\uFF0C\u60A8\u53EF\u4EE5\u591A\u5C1D\u8BD5\u51E0\u6B21\uFF0C\u6216\u8005<a href="/guide/agent.html#\u5176\u4ED6\u65B9\u5F0F\u5B89\u88C5agent">\u624B\u52A8\u5B89\u88C5Agent</a>\uFF0C\u522B\u5FD8\u4E86\u4F7F\u7528\u955C\u50CF\u3002</p>',6),o=[i];function c(h,d,s,l,g,_){return a(),t("div",null,o)}var f=e(n,[["render",c]]);export{p as __pageData,f as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as a,d as r}from"./app.2c402e15.js";const p='{"title":"Agent\u76F8\u5173","description":"","frontmatter":{},"headers":[{"level":3,"title":"\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F"},{"level":3,"title":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519","slug":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519"}],"relativePath":"guide/agentq.md"}',n={},i=r("",6),o=[i];function c(h,d,s,l,g,_){return a(),t("div",null,o)}var f=e(n,[["render",c]]);export{p as __pageData,f as default};
|
||||
import{_ as e,c as t,o as a,d as r}from"./app.c59cf861.js";const p='{"title":"Agent\u76F8\u5173","description":"","frontmatter":{},"headers":[{"level":3,"title":"\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F"},{"level":3,"title":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519","slug":"\u4E00\u952E\u811A\u672C\u5B89\u88C5\u51FA\u9519"}],"relativePath":"guide/agentq.md"}',n={},i=r("",6),o=[i];function c(h,d,s,l,g,_){return a(),t("div",null,o)}var f=e(n,[["render",c]]);export{p as __pageData,f as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as t,c as o,o as u,d as q}from"./app.2c402e15.js";const T='{"title":"\u521B\u5EFAToken","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u521B\u5EFAToken","slug":"\u521B\u5EFAtoken"},{"level":2,"title":"\u8BA4\u8BC1\u65B9\u5F0F","slug":"\u8BA4\u8BC1\u65B9\u5F0F"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"guide/api.md"}',n={},e=q(`<p><strong>\u54EA\u5412\u9762\u677F\u73B0\u5728\u5DF2\u7ECF\u652F\u6301\u4F7F\u7528API\u63A5\u53E3\u67E5\u8BE2\u9762\u677F\u4E2DAgent\u7684\u72B6\u6001\u4FE1\u606F</strong></p><h2 id="\u521B\u5EFAtoken" tabindex="-1">\u521B\u5EFAToken <a class="header-anchor" href="#\u521B\u5EFAtoken" aria-hidden="true">#</a></h2><p>\u54EA\u5412\u9762\u677F\u7684API\u63A5\u53E3\u5141\u8BB8\u4F7F\u7528Token\u8BA4\u8BC1\u4E0ECookies\u8BA4\u8BC1<br> \u8981\u65B0\u5EFA\u4E00\u4E2AToken\uFF0C\u5728\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u540E\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u7684\u5934\u50CF\uFF0C\u9009\u62E9 \u201CAPI Token\u201D\uFF0C\u8FDB\u5165Token\u7BA1\u7406\u9875\u9762<br> \u70B9\u51FB \u201C\u6DFB\u52A0Token\u201D\uFF0C\u81EA\u5B9A\u4E49\u5907\u6CE8\u540E\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u201D<br> \u5982\u9700\u5220\u9664\u4E00\u4E2AToken\uFF0C\u8BF7\u9009\u62E9\u76F8\u5E94\u7684Token\uFF0C\u70B9\u51FB\u53F3\u4FA7\u7684\u5220\u9664\u56FE\u6807</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Token\u662FAPI\u63A5\u53E3\u7684\u9274\u6743\u5DE5\u5177\uFF0C\u5B83\u5BF9\u4F60\u7684\u9762\u677F\u7684\u4FE1\u606F\u5B89\u5168\u975E\u5E38\u91CD\u8981\uFF0C\u8BF7\u4E0D\u8981\u6CC4\u6F0F\u4F60\u7684Token\u7ED9\u4ED6\u4EBA</p></div><h2 id="\u8BA4\u8BC1\u65B9\u5F0F" tabindex="-1">\u8BA4\u8BC1\u65B9\u5F0F <a class="header-anchor" href="#\u8BA4\u8BC1\u65B9\u5F0F" aria-hidden="true">#</a></h2><p>Token\u8BA4\u8BC1\u65B9\u5F0F\uFF1A</p><div class="language-"><pre><code>Request Headers:
|
||||
import{_ as t,c as o,o as u,d as q}from"./app.c59cf861.js";const T='{"title":"\u521B\u5EFAToken","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u521B\u5EFAToken","slug":"\u521B\u5EFAtoken"},{"level":2,"title":"\u8BA4\u8BC1\u65B9\u5F0F","slug":"\u8BA4\u8BC1\u65B9\u5F0F"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"guide/api.md"}',n={},e=q(`<p><strong>\u54EA\u5412\u9762\u677F\u73B0\u5728\u5DF2\u7ECF\u652F\u6301\u4F7F\u7528API\u63A5\u53E3\u67E5\u8BE2\u9762\u677F\u4E2DAgent\u7684\u72B6\u6001\u4FE1\u606F</strong></p><h2 id="\u521B\u5EFAtoken" tabindex="-1">\u521B\u5EFAToken <a class="header-anchor" href="#\u521B\u5EFAtoken" aria-hidden="true">#</a></h2><p>\u54EA\u5412\u9762\u677F\u7684API\u63A5\u53E3\u5141\u8BB8\u4F7F\u7528Token\u8BA4\u8BC1\u4E0ECookies\u8BA4\u8BC1<br> \u8981\u65B0\u5EFA\u4E00\u4E2AToken\uFF0C\u5728\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u540E\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u7684\u5934\u50CF\uFF0C\u9009\u62E9 \u201CAPI Token\u201D\uFF0C\u8FDB\u5165Token\u7BA1\u7406\u9875\u9762<br> \u70B9\u51FB \u201C\u6DFB\u52A0Token\u201D\uFF0C\u81EA\u5B9A\u4E49\u5907\u6CE8\u540E\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u201D<br> \u5982\u9700\u5220\u9664\u4E00\u4E2AToken\uFF0C\u8BF7\u9009\u62E9\u76F8\u5E94\u7684Token\uFF0C\u70B9\u51FB\u53F3\u4FA7\u7684\u5220\u9664\u56FE\u6807</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>Token\u662FAPI\u63A5\u53E3\u7684\u9274\u6743\u5DE5\u5177\uFF0C\u5B83\u5BF9\u4F60\u7684\u9762\u677F\u7684\u4FE1\u606F\u5B89\u5168\u975E\u5E38\u91CD\u8981\uFF0C\u8BF7\u4E0D\u8981\u6CC4\u6F0F\u4F60\u7684Token\u7ED9\u4ED6\u4EBA</p></div><h2 id="\u8BA4\u8BC1\u65B9\u5F0F" tabindex="-1">\u8BA4\u8BC1\u65B9\u5F0F <a class="header-anchor" href="#\u8BA4\u8BC1\u65B9\u5F0F" aria-hidden="true">#</a></h2><p>Token\u8BA4\u8BC1\u65B9\u5F0F\uFF1A</p><div class="language-"><pre><code>Request Headers:
|
||||
Authorization: Token
|
||||
</code></pre></div><h2 id="\u4F7F\u7528\u8BF4\u660E" tabindex="-1">\u4F7F\u7528\u8BF4\u660E <a class="header-anchor" href="#\u4F7F\u7528\u8BF4\u660E" aria-hidden="true">#</a></h2><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u4E0B\u9762\u793A\u4F8B\u4E2D\u7684\u8D1F\u6570\u65F6\u95F4\u6233\u4E3A\uFF080000-00-00\uFF09<br> \u76EE\u524D\u8868\u793ADashboard\u4E0A\u7EBF\u540E\u8BE5Agent\u4ECE\u672A\u6C47\u62A5\u8FC7<br> \u4F46\u4E0D\u5EFA\u8BAE\u7528\u6B63\u8D1F\u6027\u5224\u65AD\u72B6\u6001</p></div><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><strong>\u8BF7\u6C42\u65B9\u5F0F\u4E3A <code>Get</code>\uFF0C\u8FD4\u56DE\u683C\u5F0F\u4E3A <code>JSON</code></strong></p></div><ul><li>\u83B7\u53D6\u670D\u52A1\u5668\u5217\u8868\uFF1A<code>GET /api/v1/server/list?tag=</code><br> query: tag (ServerTag\u662F\u670D\u52A1\u5668\u7684\u5206\u7EC4\uFF0C\u63D0\u4F9B\u6B64\u53C2\u6570\u5219\u4EC5\u67E5\u8BE2\u8BE5\u5206\u7EC4\u4E2D\u7684\u670D\u52A1\u5668)</li></ul><p>JSON\u8FD4\u56DE\u793A\u4F8B\uFF1A</p><div class="language-"><pre><code>{
|
||||
"code": 0,
|
@ -1 +1 @@
|
||||
import{_ as t,c as o,o as u,d as q}from"./app.2c402e15.js";const T='{"title":"\u521B\u5EFAToken","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u521B\u5EFAToken","slug":"\u521B\u5EFAtoken"},{"level":2,"title":"\u8BA4\u8BC1\u65B9\u5F0F","slug":"\u8BA4\u8BC1\u65B9\u5F0F"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"guide/api.md"}',n={},e=q("",16),a=[e];function s(r,i,d,l,c,p){return u(),o("div",null,a)}var g=t(n,[["render",s]]);export{T as __pageData,g as default};
|
||||
import{_ as t,c as o,o as u,d as q}from"./app.c59cf861.js";const T='{"title":"\u521B\u5EFAToken","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u521B\u5EFAToken","slug":"\u521B\u5EFAtoken"},{"level":2,"title":"\u8BA4\u8BC1\u65B9\u5F0F","slug":"\u8BA4\u8BC1\u65B9\u5F0F"},{"level":2,"title":"\u4F7F\u7528\u8BF4\u660E","slug":"\u4F7F\u7528\u8BF4\u660E"}],"relativePath":"guide/api.md"}',n={},e=q("",16),a=[e];function s(r,i,d,l,c,p){return u(),o("div",null,a)}var g=t(n,[["render",s]]);export{T as __pageData,g as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as e,c as a,o as n,d as t}from"./app.2c402e15.js";const k='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"\u83B7\u53D6Github\u7684Client ID\u548C\u5BC6\u94A5","slug":"\u83B7\u53D6github\u7684client-id\u548C\u5BC6\u94A5"},{"level":2,"title":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5Dashboard","slug":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5dashboard"},{"level":2,"title":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406","slug":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},{"level":2,"title":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6ESSL","slug":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6Essl"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"guide/dashboard.md"}',s={},o=t("",34),r=[o];function p(l,c,i,d,h,u){return n(),a("div",null,r)}var m=e(s,[["render",p]]);export{k as __pageData,m as default};
|
||||
import{_ as e,c as a,o as n,d as t}from"./app.c59cf861.js";const k='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"\u83B7\u53D6Github\u7684Client ID\u548C\u5BC6\u94A5","slug":"\u83B7\u53D6github\u7684client-id\u548C\u5BC6\u94A5"},{"level":2,"title":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5Dashboard","slug":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5dashboard"},{"level":2,"title":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406","slug":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},{"level":2,"title":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6ESSL","slug":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6Essl"},{"level":2,"title":"FAQ","slug":"faq"}],"relativePath":"guide/dashboard.md"}',s={},o=t("",34),r=[o];function p(l,c,i,d,h,u){return n(),a("div",null,r)}var m=e(s,[["render",p]]);export{k as __pageData,m as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,c as e,o as t,d as s}from"./app.2c402e15.js";const g='{"title":"Dashboard\u76F8\u5173","description":"","frontmatter":{},"headers":[{"level":3,"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","slug":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25"},{"level":3,"title":"\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F"},{"level":3,"title":"\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0\\\\\u5220\u9664\u67E5\u770B\u5BC6\u7801","slug":"\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0-\u5220\u9664\u67E5\u770B\u5BC6\u7801"},{"level":3,"title":"\u9762\u677F\u5B89\u88C5\u5931\u8D25: iptables ......","slug":"\u9762\u677F\u5B89\u88C5\u5931\u8D25-iptables"}],"relativePath":"guide/dashboardq.md"}',n={},r=s(`<h1 id="dashboard\u76F8\u5173" tabindex="-1">Dashboard\u76F8\u5173 <a class="header-anchor" href="#dashboard\u76F8\u5173" aria-hidden="true">#</a></h1><h3 id="\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25" tabindex="-1">\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 <a class="header-anchor" href="#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25" aria-hidden="true">#</a></h3><p>\u8BF7\u67E5\u770B<a href="/guide/q4.html">\u5E38\u89C1\u95EE\u9898-\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25</a><br> \u5728\u6B64\u4E0D\u518D\u8D58\u8FF0\u3002</p><h3 id="\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F" tabindex="-1">\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F <a class="header-anchor" href="#\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F" aria-hidden="true">#</a></h3><p>\u9996\u5148\u89E3\u91CA\u540E\u53F0\u663E\u793A\u7684IP\u662F\u600E\u4E48\u6765\u7684\uFF0CAgent\u4F1A\u6BCF\u9694\u4E00\u6BB5\u65F6\u95F4\u8BF7\u6C42\u4E00\u904DIP-API\uFF0C\u83B7\u53D6\u5230IP\u4FE1\u606F\u540E\u8FDB\u884C\u4E0A\u62A5\uFF0C\u76EE\u524D\u4F7F\u7528\u7684IP-API\u53EF\u5728\u6B64\u67E5\u770B<a href="https://github.com/naiba/nezha/blob/master/cmd/agent/monitor/myip.go" target="_blank" rel="noopener noreferrer">myip.go</a>\u3002<br> \u5982\u60A8\u8BA4\u4E3A\u540E\u53F0\u663E\u793A\u7684IP\u548C\u670D\u52A1\u5546\u63D0\u4F9B\u7ED9\u60A8\u7684IP\u4E0D\u4E00\u81F4\uFF0C\u6700\u5927\u7684\u53EF\u80FD\u662F\u670D\u52A1\u5546\u7ED9\u60A8\u7684\u662F<strong>\u5165\u53E3</strong>\uFF0C\u4F46Agent\u6D4B\u8BD5\u7684\u662F\u60A8\u7684<strong>\u51FA\u53E3</strong>\u3002\u8FD9\u4E2A\u95EE\u9898\u4E5F\u53EF\u80FD\u4F1A\u51FA\u73B0\u5728\u591A\u7EBF\u4E3B\u673A\u4E2D\u3002<br> \u4E3E\u4E2A\u7B80\u5355\u4E5F\u5341\u5206\u5E38\u89C1\u7684\u4F8B\u5B50\uFF0C\u670D\u52A1\u5546\u7ED9\u60A8\u63D0\u4F9B\u7684\u662F\u4E00\u53F0\u9AD8\u9632\u4E3B\u673A\uFF0C\u4E3A\u4E86\u540C\u65F6\u6EE1\u8DB3\u9AD8\u9632\u548C\u4F4E\u7F51\u7EDC\u4E2D\u65AD\u7387\u7684\u76EE\u6807\uFF0C\u63D0\u4F9B\u7ED9\u60A8\u7684IP\u53EF\u80FD\u662F\u7ECF\u8FC7\u6620\u5C04\u540E\u7684\u9AD8\u9632IP\u800C\u5E76\u975E\u60A8\u4E3B\u673A\u7684\u771F\u5B9E\u51FA\u53E3IP\u3002<br> \u60A8\u4E5F\u53EF\u4EE5\u4F7F\u7528\u4EE5\u4E0B\u547D\u4EE4\u5728Agent\u90E8\u7F72\u4E3B\u673A\u4E2D\u8FDB\u884C\u6D4B\u8BD5\u3002</p><div class="language-shell"><pre><code><span class="token function">curl</span> api.myip.la
|
||||
import{_ as a,c as e,o as t,d as s}from"./app.c59cf861.js";const g='{"title":"Dashboard\u76F8\u5173","description":"","frontmatter":{},"headers":[{"level":3,"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","slug":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25"},{"level":3,"title":"\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F"},{"level":3,"title":"\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0\\\\\u5220\u9664\u67E5\u770B\u5BC6\u7801","slug":"\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0-\u5220\u9664\u67E5\u770B\u5BC6\u7801"},{"level":3,"title":"\u9762\u677F\u5B89\u88C5\u5931\u8D25: iptables ......","slug":"\u9762\u677F\u5B89\u88C5\u5931\u8D25-iptables"}],"relativePath":"guide/dashboardq.md"}',n={},r=s(`<h1 id="dashboard\u76F8\u5173" tabindex="-1">Dashboard\u76F8\u5173 <a class="header-anchor" href="#dashboard\u76F8\u5173" aria-hidden="true">#</a></h1><h3 id="\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25" tabindex="-1">\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 <a class="header-anchor" href="#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25" aria-hidden="true">#</a></h3><p>\u8BF7\u67E5\u770B<a href="/guide/q4.html">\u5E38\u89C1\u95EE\u9898-\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25</a><br> \u5728\u6B64\u4E0D\u518D\u8D58\u8FF0\u3002</p><h3 id="\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F" tabindex="-1">\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F <a class="header-anchor" href="#\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F" aria-hidden="true">#</a></h3><p>\u9996\u5148\u89E3\u91CA\u540E\u53F0\u663E\u793A\u7684IP\u662F\u600E\u4E48\u6765\u7684\uFF0CAgent\u4F1A\u6BCF\u9694\u4E00\u6BB5\u65F6\u95F4\u8BF7\u6C42\u4E00\u904DIP-API\uFF0C\u83B7\u53D6\u5230IP\u4FE1\u606F\u540E\u8FDB\u884C\u4E0A\u62A5\uFF0C\u76EE\u524D\u4F7F\u7528\u7684IP-API\u53EF\u5728\u6B64\u67E5\u770B<a href="https://github.com/naiba/nezha/blob/master/cmd/agent/monitor/myip.go" target="_blank" rel="noopener noreferrer">myip.go</a>\u3002<br> \u5982\u60A8\u8BA4\u4E3A\u540E\u53F0\u663E\u793A\u7684IP\u548C\u670D\u52A1\u5546\u63D0\u4F9B\u7ED9\u60A8\u7684IP\u4E0D\u4E00\u81F4\uFF0C\u6700\u5927\u7684\u53EF\u80FD\u662F\u670D\u52A1\u5546\u7ED9\u60A8\u7684\u662F<strong>\u5165\u53E3</strong>\uFF0C\u4F46Agent\u6D4B\u8BD5\u7684\u662F\u60A8\u7684<strong>\u51FA\u53E3</strong>\u3002\u8FD9\u4E2A\u95EE\u9898\u4E5F\u53EF\u80FD\u4F1A\u51FA\u73B0\u5728\u591A\u7EBF\u4E3B\u673A\u4E2D\u3002<br> \u4E3E\u4E2A\u7B80\u5355\u4E5F\u5341\u5206\u5E38\u89C1\u7684\u4F8B\u5B50\uFF0C\u670D\u52A1\u5546\u7ED9\u60A8\u63D0\u4F9B\u7684\u662F\u4E00\u53F0\u9AD8\u9632\u4E3B\u673A\uFF0C\u4E3A\u4E86\u540C\u65F6\u6EE1\u8DB3\u9AD8\u9632\u548C\u4F4E\u7F51\u7EDC\u4E2D\u65AD\u7387\u7684\u76EE\u6807\uFF0C\u63D0\u4F9B\u7ED9\u60A8\u7684IP\u53EF\u80FD\u662F\u7ECF\u8FC7\u6620\u5C04\u540E\u7684\u9AD8\u9632IP\u800C\u5E76\u975E\u60A8\u4E3B\u673A\u7684\u771F\u5B9E\u51FA\u53E3IP\u3002<br> \u60A8\u4E5F\u53EF\u4EE5\u4F7F\u7528\u4EE5\u4E0B\u547D\u4EE4\u5728Agent\u90E8\u7F72\u4E3B\u673A\u4E2D\u8FDB\u884C\u6D4B\u8BD5\u3002</p><div class="language-shell"><pre><code><span class="token function">curl</span> api.myip.la
|
||||
<span class="token function">curl</span> ip.sb
|
||||
<span class="token function">curl</span> ip-api.com
|
||||
</code></pre></div><h3 id="\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0-\u5220\u9664\u67E5\u770B\u5BC6\u7801" tabindex="-1">\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0\\\u5220\u9664\u67E5\u770B\u5BC6\u7801 <a class="header-anchor" href="#\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0-\u5220\u9664\u67E5\u770B\u5BC6\u7801" aria-hidden="true">#</a></h3><p>\u8BF7\u67E5\u770B\u6216\u7F16\u8F91<code>/opt/nezha/dashboard/data/config.yaml</code>\u6587\u4EF6\u3002<br> \u5BC6\u7801\u4F4D\u4E8Esite-viewpassword\u3002</p><h3 id="\u9762\u677F\u5B89\u88C5\u5931\u8D25-iptables" tabindex="-1">\u9762\u677F\u5B89\u88C5\u5931\u8D25: iptables ...... <a class="header-anchor" href="#\u9762\u677F\u5B89\u88C5\u5931\u8D25-iptables" aria-hidden="true">#</a></h3><p>\u9996\u5148\u5C1D\u8BD5\u91CD\u542Fdocker\u518D\u64CD\u4F5C</p><div class="language-shell"><pre><code>systemctl status <span class="token function">docker</span>
|
@ -1 +1 @@
|
||||
import{_ as a,c as e,o as t,d as s}from"./app.2c402e15.js";const g='{"title":"Dashboard\u76F8\u5173","description":"","frontmatter":{},"headers":[{"level":3,"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","slug":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25"},{"level":3,"title":"\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F"},{"level":3,"title":"\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0\\\\\u5220\u9664\u67E5\u770B\u5BC6\u7801","slug":"\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0-\u5220\u9664\u67E5\u770B\u5BC6\u7801"},{"level":3,"title":"\u9762\u677F\u5B89\u88C5\u5931\u8D25: iptables ......","slug":"\u9762\u677F\u5B89\u88C5\u5931\u8D25-iptables"}],"relativePath":"guide/dashboardq.md"}',n={},r=s("",12),i=[r];function o(d,l,c,p,h,b){return t(),e("div",null,i)}var _=a(n,[["render",o]]);export{g as __pageData,_ as default};
|
||||
import{_ as a,c as e,o as t,d as s}from"./app.c59cf861.js";const g='{"title":"Dashboard\u76F8\u5173","description":"","frontmatter":{},"headers":[{"level":3,"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","slug":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25"},{"level":3,"title":"\u540E\u53F0\u663E\u793A\u7684IP\u548CAgent\u5B9E\u9645IP\u4E0D\u4E00\u81F4\uFF1F","slug":"\u540E\u53F0\u663E\u793A\u7684ip\u548Cagent\u5B9E\u9645ip\u4E0D\u4E00\u81F4\uFF1F"},{"level":3,"title":"\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0\\\\\u5220\u9664\u67E5\u770B\u5BC6\u7801","slug":"\u67E5\u770B\u5BC6\u7801\u5FD8\u8BB0-\u5220\u9664\u67E5\u770B\u5BC6\u7801"},{"level":3,"title":"\u9762\u677F\u5B89\u88C5\u5931\u8D25: iptables ......","slug":"\u9762\u677F\u5B89\u88C5\u5931\u8D25-iptables"}],"relativePath":"guide/dashboardq.md"}',n={},r=s("",12),i=[r];function o(d,l,c,p,h,b){return t(),e("div",null,i)}var _=a(n,[["render",o]]);export{g as __pageData,_ as default};
|
@ -1 +0,0 @@
|
||||
import{_ as t,c as a,o,a as e,b as r}from"./app.2c402e15.js";const m='{"title":"\u767B\u9646\u76F8\u5173","description":"","frontmatter":{},"headers":[],"relativePath":"guide/loginq.md"}',s={},n=e("h1",{id:"\u767B\u9646\u76F8\u5173",tabindex:"-1"},[r("\u767B\u9646\u76F8\u5173 "),e("a",{class:"header-anchor",href:"#\u767B\u9646\u76F8\u5173","aria-hidden":"true"},"#")],-1),c=[n];function d(i,_,l,h,p,f){return o(),a("div",null,c)}var x=t(s,[["render",d]]);export{m as __pageData,x as default};
|
@ -1 +0,0 @@
|
||||
import{_ as t,c as a,o,a as e,b as r}from"./app.2c402e15.js";const m='{"title":"\u767B\u9646\u76F8\u5173","description":"","frontmatter":{},"headers":[],"relativePath":"guide/loginq.md"}',s={},n=e("h1",{id:"\u767B\u9646\u76F8\u5173",tabindex:"-1"},[r("\u767B\u9646\u76F8\u5173 "),e("a",{class:"header-anchor",href:"#\u767B\u9646\u76F8\u5173","aria-hidden":"true"},"#")],-1),c=[n];function d(i,_,l,h,p,f){return o(),a("div",null,c)}var x=t(s,[["render",d]]);export{m as __pageData,x as default};
|
1
assets/guide_loginq.md.f0ef566f.js
Normal file
1
assets/guide_loginq.md.f0ef566f.js
Normal file
@ -0,0 +1 @@
|
||||
import{_ as t,c as a,o,a as e,b as r}from"./app.c59cf861.js";const m='{"title":"\u767B\u5F55\u76F8\u5173","description":"","frontmatter":{},"headers":[],"relativePath":"guide/loginq.md"}',s={},n=e("h1",{id:"\u767B\u5F55\u76F8\u5173",tabindex:"-1"},[r("\u767B\u5F55\u76F8\u5173 "),e("a",{class:"header-anchor",href:"#\u767B\u5F55\u76F8\u5173","aria-hidden":"true"},"#")],-1),c=[n];function d(i,_,l,h,p,f){return o(),a("div",null,c)}var x=t(s,[["render",d]]);export{m as __pageData,x as default};
|
1
assets/guide_loginq.md.f0ef566f.lean.js
Normal file
1
assets/guide_loginq.md.f0ef566f.lean.js
Normal file
@ -0,0 +1 @@
|
||||
import{_ as t,c as a,o,a as e,b as r}from"./app.c59cf861.js";const m='{"title":"\u767B\u5F55\u76F8\u5173","description":"","frontmatter":{},"headers":[],"relativePath":"guide/loginq.md"}',s={},n=e("h1",{id:"\u767B\u5F55\u76F8\u5173",tabindex:"-1"},[r("\u767B\u5F55\u76F8\u5173 "),e("a",{class:"header-anchor",href:"#\u767B\u5F55\u76F8\u5173","aria-hidden":"true"},"#")],-1),c=[n];function d(i,_,l,h,p,f){return o(),a("div",null,c)}var x=t(s,[["render",d]]);export{m as __pageData,x as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as t,d as l}from"./app.2c402e15.js";const h='{"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","slug":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F"},{"level":2,"title":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E","slug":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E"},{"level":3,"title":"\u57FA\u672C\u89C4\u5219","slug":"\u57FA\u672C\u89C4\u5219"},{"level":3,"title":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66","slug":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66"}],"relativePath":"guide/notifications.md"}',i={},c=l("",20),u=[c];function d(r,a,n,s,p,q){return t(),o("div",null,u)}var m=e(i,[["render",d]]);export{h as __pageData,m as default};
|
||||
import{_ as e,c as o,o as t,d as l}from"./app.c59cf861.js";const h='{"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F","slug":"\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F"},{"level":2,"title":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E","slug":"\u62A5\u8B66\u89C4\u5219\u8BF4\u660E"},{"level":3,"title":"\u57FA\u672C\u89C4\u5219","slug":"\u57FA\u672C\u89C4\u5219"},{"level":3,"title":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66","slug":"\u7279\u6B8A\uFF1A\u4EFB\u610F\u5468\u671F\u6D41\u91CF\u62A5\u8B66"}],"relativePath":"guide/notifications.md"}',i={},c=l("",20),u=[c];function d(r,a,n,s,p,q){return t(),o("div",null,u)}var m=e(i,[["render",d]]);export{h as __pageData,m as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as n,c as s,o as a,d as e}from"./app.2c402e15.js";const v='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"NGINX\u914D\u7F6E","slug":"nginx\u914D\u7F6E"},{"level":2,"title":"\u4F7F\u7528\u65B9\u5F0F","slug":"\u4F7F\u7528\u65B9\u5F0F"},{"level":2,"title":"\u9632\u6B62\u76D7\u7528","slug":"\u9632\u6B62\u76D7\u7528"}],"relativePath":"guide/q1.md"}',t={},p=e(`<h2 id="\u51C6\u5907\u5DE5\u4F5C" tabindex="-1">\u51C6\u5907\u5DE5\u4F5C <a class="header-anchor" href="#\u51C6\u5907\u5DE5\u4F5C" aria-hidden="true">#</a></h2><p><strong>\u4F60\u53EF\u4EE5\u9009\u62E9CloudFlare\u7684workers\u8FDB\u884C\u53CD\u4EE3,\u4F46\u5927\u9646\u7684\u7F51\u7EDC\u4F60\u61C2\u7684,\u8FD9\u91CC\u4ECB\u7ECD\u7528\u4F60\u81EA\u5DF1\u670D\u52A1\u5668\u53CD\u4EE3\u65B9\u5F0F</strong><br> \u642D\u5EFA\u4E00\u4E2ATGbot api\u53CD\u4EE3\uFF0C\u4F60\u9700\u8981\uFF1A<br> 1.\u4E00\u4E2A\u4E0D\u53D7GFW\u5C01\u9501\u7684\u670D\u52A1\u5668(\u4E14\u5B89\u88C5\u597Dnginx)<br> 2.\u4E00\u4E2A\u57DF\u540D(\u63D0\u524D\u7533\u8BF7SSL\u8BC1\u4E66) <br></p><h2 id="nginx\u914D\u7F6E" tabindex="-1">NGINX\u914D\u7F6E <a class="header-anchor" href="#nginx\u914D\u7F6E" aria-hidden="true">#</a></h2><p>\u7F16\u8F91\u4F60nginx\u7684\u914D\u7F6E\u6587\u4EF6,\u5728http{}\u4E2D\u52A0\u4E0A\u5982\u4E0B\u914D\u7F6E</p><div class="language-nginx"><pre><code><span class="token comment"># http\u5F3A\u5236\u8DF3\u8F6C\u5230htpps</span>
|
||||
import{_ as n,c as s,o as a,d as e}from"./app.c59cf861.js";const v='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"NGINX\u914D\u7F6E","slug":"nginx\u914D\u7F6E"},{"level":2,"title":"\u4F7F\u7528\u65B9\u5F0F","slug":"\u4F7F\u7528\u65B9\u5F0F"},{"level":2,"title":"\u9632\u6B62\u76D7\u7528","slug":"\u9632\u6B62\u76D7\u7528"}],"relativePath":"guide/q1.md"}',t={},p=e(`<h2 id="\u51C6\u5907\u5DE5\u4F5C" tabindex="-1">\u51C6\u5907\u5DE5\u4F5C <a class="header-anchor" href="#\u51C6\u5907\u5DE5\u4F5C" aria-hidden="true">#</a></h2><p><strong>\u4F60\u53EF\u4EE5\u9009\u62E9CloudFlare\u7684workers\u8FDB\u884C\u53CD\u4EE3,\u4F46\u5927\u9646\u7684\u7F51\u7EDC\u4F60\u61C2\u7684,\u8FD9\u91CC\u4ECB\u7ECD\u7528\u4F60\u81EA\u5DF1\u670D\u52A1\u5668\u53CD\u4EE3\u65B9\u5F0F</strong><br> \u642D\u5EFA\u4E00\u4E2ATGbot api\u53CD\u4EE3\uFF0C\u4F60\u9700\u8981\uFF1A<br> 1.\u4E00\u4E2A\u4E0D\u53D7GFW\u5C01\u9501\u7684\u670D\u52A1\u5668(\u4E14\u5B89\u88C5\u597Dnginx)<br> 2.\u4E00\u4E2A\u57DF\u540D(\u63D0\u524D\u7533\u8BF7SSL\u8BC1\u4E66) <br></p><h2 id="nginx\u914D\u7F6E" tabindex="-1">NGINX\u914D\u7F6E <a class="header-anchor" href="#nginx\u914D\u7F6E" aria-hidden="true">#</a></h2><p>\u7F16\u8F91\u4F60nginx\u7684\u914D\u7F6E\u6587\u4EF6,\u5728http{}\u4E2D\u52A0\u4E0A\u5982\u4E0B\u914D\u7F6E</p><div class="language-nginx"><pre><code><span class="token comment"># http\u5F3A\u5236\u8DF3\u8F6C\u5230htpps</span>
|
||||
<span class="token directive"><span class="token keyword">server</span></span> <span class="token punctuation">{</span>
|
||||
<span class="token directive"><span class="token keyword">listen</span> <span class="token number">80</span></span><span class="token punctuation">;</span>
|
||||
<span class="token directive"><span class="token keyword">listen</span> [::]:80</span><span class="token punctuation">;</span>
|
@ -1 +1 @@
|
||||
import{_ as n,c as s,o as a,d as e}from"./app.2c402e15.js";const v='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"NGINX\u914D\u7F6E","slug":"nginx\u914D\u7F6E"},{"level":2,"title":"\u4F7F\u7528\u65B9\u5F0F","slug":"\u4F7F\u7528\u65B9\u5F0F"},{"level":2,"title":"\u9632\u6B62\u76D7\u7528","slug":"\u9632\u6B62\u76D7\u7528"}],"relativePath":"guide/q1.md"}',t={},p=e("",11),o=[p];function c(r,l,i,k,d,u){return a(),s("div",null,o)}var _=n(t,[["render",c]]);export{v as __pageData,_ as default};
|
||||
import{_ as n,c as s,o as a,d as e}from"./app.c59cf861.js";const v='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"NGINX\u914D\u7F6E","slug":"nginx\u914D\u7F6E"},{"level":2,"title":"\u4F7F\u7528\u65B9\u5F0F","slug":"\u4F7F\u7528\u65B9\u5F0F"},{"level":2,"title":"\u9632\u6B62\u76D7\u7528","slug":"\u9632\u6B62\u76D7\u7528"}],"relativePath":"guide/q1.md"}',t={},p=e("",11),o=[p];function c(r,l,i,k,d,u){return a(),s("div",null,o)}var _=n(t,[["render",c]]);export{v as __pageData,_ as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.2c402e15.js";const f='{"title":"Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md"}',o={},r=n('<h4 id="agent-\u542F\u52A8-\u4E0A\u7EBF-\u95EE\u9898\u81EA\u68C0\u6D41\u7A0B" tabindex="-1">Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B <a class="header-anchor" href="#agent-\u542F\u52A8-\u4E0A\u7EBF-\u95EE\u9898\u81EA\u68C0\u6D41\u7A0B" aria-hidden="true">#</a></h4><ol><li>\u76F4\u63A5\u6267\u884C <code>/opt/nezha/agent/nezha-agent -s \u9762\u677FIP\u6216\u975ECDN\u57DF\u540D:\u9762\u677FRPC\u7AEF\u53E3 -p Agent\u5BC6\u94A5 -d</code> \u67E5\u770B\u65E5\u5FD7\u662F\u5426\u662F\u56E0\u4E3A DNS\u3001\u7F51\u7EDC\u4E0D\u4F73\u5BFC\u81F4\u8D85\u65F6\uFF08timeout\uFF09</li><li><code>nc -v \u57DF\u540D/IP \u9762\u677FRPC\u7AEF\u53E3</code> \u6216\u8005 <code>telnet \u57DF\u540D/IP \u9762\u677FRPC\u7AEF\u53E3</code> \u6765\u68C0\u9A8C\u662F\u5426\u662F\u7F51\u7EDC\u95EE\u9898\uFF0C\u68C0\u67E5\u672C\u673A\u4E0E\u9762\u677F\u670D\u52A1\u5668\u7684\u51FA\u5165\u7AD9\u9632\u706B\u5899\uFF0C\u5982\u679C\u65E0\u6CD5\u5224\u65AD\u95EE\u9898\u53EF\u501F\u52A9 <a href="https://port.ping.pe/" target="_blank" rel="noopener noreferrer">https://port.ping.pe/</a> \u63D0\u4F9B\u7684\u7AEF\u53E3\u68C0\u67E5\u5DE5\u5177\u8FDB\u884C\u68C0\u6D4B\u3002</li><li>\u5982\u679C\u4E0A\u9762\u6B65\u9AA4\u68C0\u6D4B\u6B63\u5E38\uFF0CAgent \u6B63\u5E38\u4E0A\u7EBF\uFF0C\u5C1D\u8BD5\u5173\u95ED SELinux\uFF0C<a href="https://www.google.com/search?q=%E5%85%B3%E9%97%ADSELINUX" target="_blank" rel="noopener noreferrer">\u5982\u4F55\u5173\u95ED SELinux\uFF1F</a></li></ol>',2),c=[r];function _(i,s,d,l,p,h){return a(),t("div",null,c)}var u=e(o,[["render",_]]);export{f as __pageData,u as default};
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.c59cf861.js";const f='{"title":"Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md"}',o={},r=n('<h4 id="agent-\u542F\u52A8-\u4E0A\u7EBF-\u95EE\u9898\u81EA\u68C0\u6D41\u7A0B" tabindex="-1">Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B <a class="header-anchor" href="#agent-\u542F\u52A8-\u4E0A\u7EBF-\u95EE\u9898\u81EA\u68C0\u6D41\u7A0B" aria-hidden="true">#</a></h4><ol><li>\u76F4\u63A5\u6267\u884C <code>/opt/nezha/agent/nezha-agent -s \u9762\u677FIP\u6216\u975ECDN\u57DF\u540D:\u9762\u677FRPC\u7AEF\u53E3 -p Agent\u5BC6\u94A5 -d</code> \u67E5\u770B\u65E5\u5FD7\u662F\u5426\u662F\u56E0\u4E3A DNS\u3001\u7F51\u7EDC\u4E0D\u4F73\u5BFC\u81F4\u8D85\u65F6\uFF08timeout\uFF09</li><li><code>nc -v \u57DF\u540D/IP \u9762\u677FRPC\u7AEF\u53E3</code> \u6216\u8005 <code>telnet \u57DF\u540D/IP \u9762\u677FRPC\u7AEF\u53E3</code> \u6765\u68C0\u9A8C\u662F\u5426\u662F\u7F51\u7EDC\u95EE\u9898\uFF0C\u68C0\u67E5\u672C\u673A\u4E0E\u9762\u677F\u670D\u52A1\u5668\u7684\u51FA\u5165\u7AD9\u9632\u706B\u5899\uFF0C\u5982\u679C\u65E0\u6CD5\u5224\u65AD\u95EE\u9898\u53EF\u501F\u52A9 <a href="https://port.ping.pe/" target="_blank" rel="noopener noreferrer">https://port.ping.pe/</a> \u63D0\u4F9B\u7684\u7AEF\u53E3\u68C0\u67E5\u5DE5\u5177\u8FDB\u884C\u68C0\u6D4B\u3002</li><li>\u5982\u679C\u4E0A\u9762\u6B65\u9AA4\u68C0\u6D4B\u6B63\u5E38\uFF0CAgent \u6B63\u5E38\u4E0A\u7EBF\uFF0C\u5C1D\u8BD5\u5173\u95ED SELinux\uFF0C<a href="https://www.google.com/search?q=%E5%85%B3%E9%97%ADSELINUX" target="_blank" rel="noopener noreferrer">\u5982\u4F55\u5173\u95ED SELinux\uFF1F</a></li></ol>',2),c=[r];function _(i,s,d,l,p,h){return a(),t("div",null,c)}var u=e(o,[["render",_]]);export{f as __pageData,u as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.2c402e15.js";const f='{"title":"Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md"}',o={},r=n("",2),c=[r];function _(i,s,d,l,p,h){return a(),t("div",null,c)}var u=e(o,[["render",_]]);export{f as __pageData,u as default};
|
||||
import{_ as e,c as t,o as a,d as n}from"./app.c59cf861.js";const f='{"title":"Agent \u542F\u52A8/\u4E0A\u7EBF \u95EE\u9898\u81EA\u68C0\u6D41\u7A0B","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md"}',o={},r=n("",2),c=[r];function _(i,s,d,l,p,h){return a(),t("div",null,c)}var u=e(o,[["render",_]]);export{f as __pageData,u as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as n,c as a,o as s,d as e}from"./app.2c402e15.js";const g='{"title":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q3.md"}',t={},o=e(`<h4 id="\u53CD\u5411\u4EE3\u7406-grpc-\u7AEF\u53E3\uFF08\u652F\u6301-cloudflare-cdn\uFF09" tabindex="-1">\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09 <a class="header-anchor" href="#\u53CD\u5411\u4EE3\u7406-grpc-\u7AEF\u53E3\uFF08\u652F\u6301-cloudflare-cdn\uFF09" aria-hidden="true">#</a></h4><p>\u4F7F\u7528 Nginx \u6216\u8005 Caddy \u53CD\u5411\u4EE3\u7406 gRPC</p><ul><li>Nginx \u914D\u7F6E</li></ul><div class="language-nginx"><pre><code><span class="token directive"><span class="token keyword">server</span></span> <span class="token punctuation">{</span>
|
||||
import{_ as n,c as a,o as s,d as e}from"./app.c59cf861.js";const g='{"title":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q3.md"}',t={},o=e(`<h4 id="\u53CD\u5411\u4EE3\u7406-grpc-\u7AEF\u53E3\uFF08\u652F\u6301-cloudflare-cdn\uFF09" tabindex="-1">\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09 <a class="header-anchor" href="#\u53CD\u5411\u4EE3\u7406-grpc-\u7AEF\u53E3\uFF08\u652F\u6301-cloudflare-cdn\uFF09" aria-hidden="true">#</a></h4><p>\u4F7F\u7528 Nginx \u6216\u8005 Caddy \u53CD\u5411\u4EE3\u7406 gRPC</p><ul><li>Nginx \u914D\u7F6E</li></ul><div class="language-nginx"><pre><code><span class="token directive"><span class="token keyword">server</span></span> <span class="token punctuation">{</span>
|
||||
<span class="token directive"><span class="token keyword">listen</span> <span class="token number">443</span> ssl http2</span><span class="token punctuation">;</span>
|
||||
<span class="token directive"><span class="token keyword">listen</span> [::]:443 ssl http2</span><span class="token punctuation">;</span>
|
||||
<span class="token directive"><span class="token keyword">server_name</span> data.example.com</span><span class="token punctuation">;</span> <span class="token comment"># \u4F60\u7684 Agent \u8FDE\u63A5 Dashboard \u7684\u57DF\u540D</span>
|
@ -1 +1 @@
|
||||
import{_ as n,c as a,o as s,d as e}from"./app.2c402e15.js";const g='{"title":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q3.md"}',t={},o=e("",13),p=[o];function c(l,d,r,i,u,k){return s(),a("div",null,p)}var C=n(t,[["render",c]]);export{g as __pageData,C as default};
|
||||
import{_ as n,c as a,o as s,d as e}from"./app.c59cf861.js";const g='{"title":"\u53CD\u5411\u4EE3\u7406 gRPC \u7AEF\u53E3\uFF08\u652F\u6301 Cloudflare CDN\uFF09","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q3.md"}',t={},o=e("",13),p=[o];function c(l,d,r,i,u,k){return s(),a("div",null,p)}var C=n(t,[["render",c]]);export{g as __pageData,C as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as o,o as r,a as e,b as t}from"./app.2c402e15.js";const b='{"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q4.md"}',s={},c=e("h4",{id:"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",tabindex:"-1"},[t("\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 "),e("a",{class:"header-anchor",href:"#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","aria-hidden":"true"},"#")],-1),n=e("ul",null,[e("li",null,"\u5982\u679C\u4F60\u4F7F\u7528\u4E86CDN\uFF0C\u8BF7\u786E\u8BA4CDN\u670D\u52A1\u5546\u63D0\u4F9BWebSocket\u670D\u52A1\uFF0C\u5E76\u4E14\u5DF2\u5F00\u542FWebSocket"),e("li",null,[t("\u786E\u8BA4\u4F60\u7684\u53CD\u4EE3\u89C4\u5219\u4E2D\u9488\u5BF9 /ws,/terminal \u8DEF\u5F84\u7684 WebSocket \u8FDB\u884C\u4E86\u7279\u522B\u914D\u7F6E\uFF0C\u4F60\u53EF\u4EE5 "),e("a",{href:"/guide/dashboard.html#\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},"\u70B9\u51FB\u8FD9\u91CC"),t(" \u67E5\u770B\u53CD\u5411\u4EE3\u7406\u914D\u7F6E")])],-1),d=[c,n];function i(l,_,h,u,p,f){return r(),o("div",null,d)}var k=a(s,[["render",i]]);export{b as __pageData,k as default};
|
||||
import{_ as a,c as o,o as r,a as e,b as t}from"./app.c59cf861.js";const b='{"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q4.md"}',s={},c=e("h4",{id:"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",tabindex:"-1"},[t("\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 "),e("a",{class:"header-anchor",href:"#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","aria-hidden":"true"},"#")],-1),n=e("ul",null,[e("li",null,"\u5982\u679C\u4F60\u4F7F\u7528\u4E86CDN\uFF0C\u8BF7\u786E\u8BA4CDN\u670D\u52A1\u5546\u63D0\u4F9BWebSocket\u670D\u52A1\uFF0C\u5E76\u4E14\u5DF2\u5F00\u542FWebSocket"),e("li",null,[t("\u786E\u8BA4\u4F60\u7684\u53CD\u4EE3\u89C4\u5219\u4E2D\u9488\u5BF9 /ws,/terminal \u8DEF\u5F84\u7684 WebSocket \u8FDB\u884C\u4E86\u7279\u522B\u914D\u7F6E\uFF0C\u4F60\u53EF\u4EE5 "),e("a",{href:"/guide/dashboard.html#\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},"\u70B9\u51FB\u8FD9\u91CC"),t(" \u67E5\u770B\u53CD\u5411\u4EE3\u7406\u914D\u7F6E")])],-1),d=[c,n];function i(l,_,h,u,p,f){return r(),o("div",null,d)}var k=a(s,[["render",i]]);export{b as __pageData,k as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as o,o as r,a as e,b as t}from"./app.2c402e15.js";const b='{"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q4.md"}',s={},c=e("h4",{id:"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",tabindex:"-1"},[t("\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 "),e("a",{class:"header-anchor",href:"#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","aria-hidden":"true"},"#")],-1),n=e("ul",null,[e("li",null,"\u5982\u679C\u4F60\u4F7F\u7528\u4E86CDN\uFF0C\u8BF7\u786E\u8BA4CDN\u670D\u52A1\u5546\u63D0\u4F9BWebSocket\u670D\u52A1\uFF0C\u5E76\u4E14\u5DF2\u5F00\u542FWebSocket"),e("li",null,[t("\u786E\u8BA4\u4F60\u7684\u53CD\u4EE3\u89C4\u5219\u4E2D\u9488\u5BF9 /ws,/terminal \u8DEF\u5F84\u7684 WebSocket \u8FDB\u884C\u4E86\u7279\u522B\u914D\u7F6E\uFF0C\u4F60\u53EF\u4EE5 "),e("a",{href:"/guide/dashboard.html#\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},"\u70B9\u51FB\u8FD9\u91CC"),t(" \u67E5\u770B\u53CD\u5411\u4EE3\u7406\u914D\u7F6E")])],-1),d=[c,n];function i(l,_,h,u,p,f){return r(),o("div",null,d)}var k=a(s,[["render",i]]);export{b as __pageData,k as default};
|
||||
import{_ as a,c as o,o as r,a as e,b as t}from"./app.c59cf861.js";const b='{"title":"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q4.md"}',s={},c=e("h4",{id:"\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25",tabindex:"-1"},[t("\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25 "),e("a",{class:"header-anchor",href:"#\u5B9E\u65F6\u901A\u9053\u65AD\u5F00-\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25","aria-hidden":"true"},"#")],-1),n=e("ul",null,[e("li",null,"\u5982\u679C\u4F60\u4F7F\u7528\u4E86CDN\uFF0C\u8BF7\u786E\u8BA4CDN\u670D\u52A1\u5546\u63D0\u4F9BWebSocket\u670D\u52A1\uFF0C\u5E76\u4E14\u5DF2\u5F00\u542FWebSocket"),e("li",null,[t("\u786E\u8BA4\u4F60\u7684\u53CD\u4EE3\u89C4\u5219\u4E2D\u9488\u5BF9 /ws,/terminal \u8DEF\u5F84\u7684 WebSocket \u8FDB\u884C\u4E86\u7279\u522B\u914D\u7F6E\uFF0C\u4F60\u53EF\u4EE5 "),e("a",{href:"/guide/dashboard.html#\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},"\u70B9\u51FB\u8FD9\u91CC"),t(" \u67E5\u770B\u53CD\u5411\u4EE3\u7406\u914D\u7F6E")])],-1),d=[c,n];function i(l,_,h,u,p,f){return r(),o("div",null,d)}var k=a(s,[["render",i]]);export{b as __pageData,k as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as o,o as n,a as e,b as t}from"./app.2c402e15.js";const x='{"title":"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q5.md"}',l={},r=e("h4",{id:"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F",tabindex:"-1"},[t("\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F "),e("a",{class:"header-anchor",href:"#\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","aria-hidden":"true"},"#")],-1),s=e("ol",null,[e("li",null,[t("\u5148\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u505C\u6B62\u9762\u677F")]),e("li",null,[t("\u5728\u65E7\u670D\u52A1\u5668\u4E2D\u6253\u5305 "),e("code",null,"/opt/nezha"),t(" \u6587\u4EF6\u5939\uFF0C\u590D\u5236\u5230\u65B0\u73AF\u5883\u76F8\u540C\u4F4D\u7F6E\u89E3\u538B")]),e("li",null,[t("\u5728\u65B0\u73AF\u5883\u4E2D\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u542F\u52A8\u9762\u677F")])],-1),c=[r,s];function d(i,_,u,h,p,f){return n(),o("div",null,c)}var $=a(l,[["render",d]]);export{x as __pageData,$ as default};
|
||||
import{_ as a,c as o,o as n,a as e,b as t}from"./app.c59cf861.js";const x='{"title":"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q5.md"}',l={},r=e("h4",{id:"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F",tabindex:"-1"},[t("\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F "),e("a",{class:"header-anchor",href:"#\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","aria-hidden":"true"},"#")],-1),s=e("ol",null,[e("li",null,[t("\u5148\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u505C\u6B62\u9762\u677F")]),e("li",null,[t("\u5728\u65E7\u670D\u52A1\u5668\u4E2D\u6253\u5305 "),e("code",null,"/opt/nezha"),t(" \u6587\u4EF6\u5939\uFF0C\u590D\u5236\u5230\u65B0\u73AF\u5883\u76F8\u540C\u4F4D\u7F6E\u89E3\u538B")]),e("li",null,[t("\u5728\u65B0\u73AF\u5883\u4E2D\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u542F\u52A8\u9762\u677F")])],-1),c=[r,s];function d(i,_,u,h,p,f){return n(),o("div",null,c)}var $=a(l,[["render",d]]);export{x as __pageData,$ as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as o,o as n,a as e,b as t}from"./app.2c402e15.js";const x='{"title":"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q5.md"}',l={},r=e("h4",{id:"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F",tabindex:"-1"},[t("\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F "),e("a",{class:"header-anchor",href:"#\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","aria-hidden":"true"},"#")],-1),s=e("ol",null,[e("li",null,[t("\u5148\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u505C\u6B62\u9762\u677F")]),e("li",null,[t("\u5728\u65E7\u670D\u52A1\u5668\u4E2D\u6253\u5305 "),e("code",null,"/opt/nezha"),t(" \u6587\u4EF6\u5939\uFF0C\u590D\u5236\u5230\u65B0\u73AF\u5883\u76F8\u540C\u4F4D\u7F6E\u89E3\u538B")]),e("li",null,[t("\u5728\u65B0\u73AF\u5883\u4E2D\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u542F\u52A8\u9762\u677F")])],-1),c=[r,s];function d(i,_,u,h,p,f){return n(),o("div",null,c)}var $=a(l,[["render",d]]);export{x as __pageData,$ as default};
|
||||
import{_ as a,c as o,o as n,a as e,b as t}from"./app.c59cf861.js";const x='{"title":"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q5.md"}',l={},r=e("h4",{id:"\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F",tabindex:"-1"},[t("\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F "),e("a",{class:"header-anchor",href:"#\u5982\u4F55\u8FDB\u884C\u6570\u636E\u8FC1\u79FB\u3001\u5907\u4EFD\u6062\u590D\uFF1F","aria-hidden":"true"},"#")],-1),s=e("ol",null,[e("li",null,[t("\u5148\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u505C\u6B62\u9762\u677F")]),e("li",null,[t("\u5728\u65E7\u670D\u52A1\u5668\u4E2D\u6253\u5305 "),e("code",null,"/opt/nezha"),t(" \u6587\u4EF6\u5939\uFF0C\u590D\u5236\u5230\u65B0\u73AF\u5883\u76F8\u540C\u4F4D\u7F6E\u89E3\u538B")]),e("li",null,[t("\u5728\u65B0\u73AF\u5883\u4E2D\u8FD0\u884C\u4E00\u952E\u811A\u672C\uFF0C\u9009\u62E9 "),e("code",null,"\u542F\u52A8\u9762\u677F")])],-1),c=[r,s];function d(i,_,u,h,p,f){return n(),o("div",null,c)}var $=a(l,[["render",d]]);export{x as __pageData,$ as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as a,o as t,d as r}from"./app.2c402e15.js";const p='{"title":"\u4E3B\u673A","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u6DFB\u52A0\u670D\u52A1\u5668","slug":"\u6DFB\u52A0\u670D\u52A1\u5668"},{"level":2,"title":"\u5B89\u88C5Agent","slug":"\u5B89\u88C5agent"},{"level":2,"title":"\u5F3A\u5236\u66F4\u65B0","slug":"\u5F3A\u5236\u66F4\u65B0"},{"level":2,"title":"\u6570\u636E\u5217","slug":"\u6570\u636E\u5217"},{"level":2,"title":"\u5728\u7EBF\u7EC8\u7AEF","slug":"\u5728\u7EBF\u7EC8\u7AEF"}],"relativePath":"guide/servers.md"}',d={},i=r('<h1 id="\u4E3B\u673A" tabindex="-1">\u4E3B\u673A <a class="header-anchor" href="#\u4E3B\u673A" aria-hidden="true">#</a></h1><h2 id="\u4ECB\u7ECD" tabindex="-1">\u4ECB\u7ECD <a class="header-anchor" href="#\u4ECB\u7ECD" aria-hidden="true">#</a></h2><p>\u4E3B\u673A\u533A\u57DF\u8D1F\u8D23\u7BA1\u7406Agent\uFF0C\u662F\u54EA\u5412\u63A2\u9488\u4E2D\u6700\u57FA\u7840\u7684\u533A\u57DF\uFF0C\u4E5F\u662F\u5176\u4ED6\u529F\u80FD\u7684\u57FA\u7840\u3002</p><h2 id="\u6DFB\u52A0\u670D\u52A1\u5668" tabindex="-1">\u6DFB\u52A0\u670D\u52A1\u5668 <a class="header-anchor" href="#\u6DFB\u52A0\u670D\u52A1\u5668" aria-hidden="true">#</a></h2><p>\u7B2C\u4E00\u6B65\u662F\u6DFB\u52A0\u4E3B\u673A\uFF0C\u53EF\u4EE5\u81EA\u5B9A\u4E49\u540D\u79F0\u3001\u5206\u7EC4\u3001\u6392\u5E8F\u548C\u5907\u6CE8\u3002<br> \u62E5\u6709\u76F8\u540C\u5206\u7EC4\u7684\u4E3B\u673A\u4F1A\u5728\u53D7\u652F\u6301\u7684\u4E3B\u9898\u4E2D\u5212\u5206\u5230\u4E00\u8D77\u8FDB\u884C\u663E\u793A\uFF0C\u5907\u6CE8\u4EC5\u4F1A\u5728\u540E\u53F0\u663E\u793A\uFF0C\u65E0\u9700\u62C5\u5FC3\u6CC4\u9732\u4FE1\u606F\u3002</p><h2 id="\u5B89\u88C5agent" tabindex="-1">\u5B89\u88C5Agent <a class="header-anchor" href="#\u5B89\u88C5agent" aria-hidden="true">#</a></h2><p>\u8BF7\u53C2\u8003\u524D\u6587<a href="/guide/agent.html">\u5B89\u88C5Agent</a><br> \u63A8\u8350\u4F7F\u7528\u4E00\u952E\u5B89\u88C5\uFF0C\u5373<strong>\u914D\u7F6E\u597D\u53C2\u6570\u540E</strong>\uFF0C\u70B9\u51FB\u4E3B\u673A<strong>\u4E00\u952E\u5B89\u88C5</strong>\u5217\u4E0A\u7684\u6309\u94AE\uFF0C\u590D\u5236\u5230\u76F8\u5E94\u4E3B\u673A\u8FDB\u884C\u5B89\u88C5\u3002</p><h2 id="\u5F3A\u5236\u66F4\u65B0" tabindex="-1">\u5F3A\u5236\u66F4\u65B0 <a class="header-anchor" href="#\u5F3A\u5236\u66F4\u65B0" aria-hidden="true">#</a></h2><p>Agent\u66F4\u65B0\u76F8\u5173\u7684\u53C2\u6570\u662F <a href="/guide/agent.html#\u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE">\u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE</a> \u4E2D\u7684 <code>--disable-auto-update</code> \u548C <code>--disable-force-update</code>\u3002<br> \u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0CAgent\u4F1A\u81EA\u52A8\u66F4\u65B0\uFF0C\u65E0\u9700\u5E72\u9884\u3002\u4F46\u5F53\u7528\u6237\u5173\u95ED\u81EA\u52A8\u66F4\u65B0\u540E\uFF0C\u4E5F\u53EF\u4EE5\u9009\u4E2D\u6307\u5B9A\u4E3B\u673A\u8FDB\u884C\u5F3A\u5236\u66F4\u65B0\u3002<br> disable-force-update\u5F00\u542F\u65F6\u6B64\u529F\u80FD\u4E0D\u751F\u6548\u3002</p><h2 id="\u6570\u636E\u5217" tabindex="-1">\u6570\u636E\u5217 <a class="header-anchor" href="#\u6570\u636E\u5217" aria-hidden="true">#</a></h2><ul><li>\u7248\u672C\u53F7: \u8BB0\u5F55Agent\u5F53\u524D\u7248\u672C</li><li>\u5BC6\u94A5: \u5373secret\\key\uFF0C\u914D\u7F6EAgent\u65F6\u4F1A\u7528\u5230</li><li>\u4E00\u952E\u5B89\u88C5: \u8F83\u4E3A\u4FBF\u6377\u7684Agent\u5B89\u88C5\u65B9\u5F0F</li><li>\u7BA1\u7406: \u5DE6\u4E3AWebShell\uFF0C\u4E2D\u4E3A\u7F16\u8F91\uFF0C\u53F3\u4E3A\u5220\u9664</li></ul><h2 id="\u5728\u7EBF\u7EC8\u7AEF" tabindex="-1">\u5728\u7EBF\u7EC8\u7AEF <a class="header-anchor" href="#\u5728\u7EBF\u7EC8\u7AEF" aria-hidden="true">#</a></h2><p>\u5373WebShell\uFF0C<code>disable-command-execute </code>\u5F00\u542F\u65F6\u6B64\u529F\u80FD\u4E0D\u751F\u6548\u3002<br> Linux\u548CWindows\u5747\u53EF\u7528\uFF0C\u53EF\u4F7F\u7528Ctrl+Shift+V\u7C98\u8D34\u3002<br> \u8FDE\u63A5\u5931\u8D25\u8BF7\u53C2\u8003<a href="/guide/q4.html">\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25</a>\u3002<br> \u6CE8\u610F\u5728\u7EBF\u7EC8\u7AEF\u529F\u80FD\u4E2D\uFF0CAgent\u4E5F\u662F\u901A\u8FC7WebSocket\u8FDE\u63A5\u5230<strong>\u516C\u5F00\u8BBF\u95EE\u57DF\u540D</strong>\uFF0C\u800C\u975E\u901A\u8FC7grpc\u4EA4\u4E92\u3002</p>',13),n=[i];function l(h,s,o,c,g,u){return t(),a("div",null,n)}var b=e(d,[["render",l]]);export{p as __pageData,b as default};
|
||||
import{_ as e,c as a,o as t,d as r}from"./app.c59cf861.js";const p='{"title":"\u4E3B\u673A","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u6DFB\u52A0\u670D\u52A1\u5668","slug":"\u6DFB\u52A0\u670D\u52A1\u5668"},{"level":2,"title":"\u5B89\u88C5Agent","slug":"\u5B89\u88C5agent"},{"level":2,"title":"\u5F3A\u5236\u66F4\u65B0","slug":"\u5F3A\u5236\u66F4\u65B0"},{"level":2,"title":"\u6570\u636E\u5217","slug":"\u6570\u636E\u5217"},{"level":2,"title":"\u5728\u7EBF\u7EC8\u7AEF","slug":"\u5728\u7EBF\u7EC8\u7AEF"}],"relativePath":"guide/servers.md"}',d={},i=r('<h1 id="\u4E3B\u673A" tabindex="-1">\u4E3B\u673A <a class="header-anchor" href="#\u4E3B\u673A" aria-hidden="true">#</a></h1><h2 id="\u4ECB\u7ECD" tabindex="-1">\u4ECB\u7ECD <a class="header-anchor" href="#\u4ECB\u7ECD" aria-hidden="true">#</a></h2><p>\u4E3B\u673A\u533A\u57DF\u8D1F\u8D23\u7BA1\u7406Agent\uFF0C\u662F\u54EA\u5412\u63A2\u9488\u4E2D\u6700\u57FA\u7840\u7684\u533A\u57DF\uFF0C\u4E5F\u662F\u5176\u4ED6\u529F\u80FD\u7684\u57FA\u7840\u3002</p><h2 id="\u6DFB\u52A0\u670D\u52A1\u5668" tabindex="-1">\u6DFB\u52A0\u670D\u52A1\u5668 <a class="header-anchor" href="#\u6DFB\u52A0\u670D\u52A1\u5668" aria-hidden="true">#</a></h2><p>\u7B2C\u4E00\u6B65\u662F\u6DFB\u52A0\u4E3B\u673A\uFF0C\u53EF\u4EE5\u81EA\u5B9A\u4E49\u540D\u79F0\u3001\u5206\u7EC4\u3001\u6392\u5E8F\u548C\u5907\u6CE8\u3002<br> \u62E5\u6709\u76F8\u540C\u5206\u7EC4\u7684\u4E3B\u673A\u4F1A\u5728\u53D7\u652F\u6301\u7684\u4E3B\u9898\u4E2D\u5212\u5206\u5230\u4E00\u8D77\u8FDB\u884C\u663E\u793A\uFF0C\u5907\u6CE8\u4EC5\u4F1A\u5728\u540E\u53F0\u663E\u793A\uFF0C\u65E0\u9700\u62C5\u5FC3\u6CC4\u9732\u4FE1\u606F\u3002</p><h2 id="\u5B89\u88C5agent" tabindex="-1">\u5B89\u88C5Agent <a class="header-anchor" href="#\u5B89\u88C5agent" aria-hidden="true">#</a></h2><p>\u8BF7\u53C2\u8003\u524D\u6587<a href="/guide/agent.html">\u5B89\u88C5Agent</a><br> \u63A8\u8350\u4F7F\u7528\u4E00\u952E\u5B89\u88C5\uFF0C\u5373<strong>\u914D\u7F6E\u597D\u53C2\u6570\u540E</strong>\uFF0C\u70B9\u51FB\u4E3B\u673A<strong>\u4E00\u952E\u5B89\u88C5</strong>\u5217\u4E0A\u7684\u6309\u94AE\uFF0C\u590D\u5236\u5230\u76F8\u5E94\u4E3B\u673A\u8FDB\u884C\u5B89\u88C5\u3002</p><h2 id="\u5F3A\u5236\u66F4\u65B0" tabindex="-1">\u5F3A\u5236\u66F4\u65B0 <a class="header-anchor" href="#\u5F3A\u5236\u66F4\u65B0" aria-hidden="true">#</a></h2><p>Agent\u66F4\u65B0\u76F8\u5173\u7684\u53C2\u6570\u662F <a href="/guide/agent.html#\u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE">\u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE</a> \u4E2D\u7684 <code>--disable-auto-update</code> \u548C <code>--disable-force-update</code>\u3002<br> \u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0CAgent\u4F1A\u81EA\u52A8\u66F4\u65B0\uFF0C\u65E0\u9700\u5E72\u9884\u3002\u4F46\u5F53\u7528\u6237\u5173\u95ED\u81EA\u52A8\u66F4\u65B0\u540E\uFF0C\u4E5F\u53EF\u4EE5\u9009\u4E2D\u6307\u5B9A\u4E3B\u673A\u8FDB\u884C\u5F3A\u5236\u66F4\u65B0\u3002<br> disable-force-update\u5F00\u542F\u65F6\u6B64\u529F\u80FD\u4E0D\u751F\u6548\u3002</p><h2 id="\u6570\u636E\u5217" tabindex="-1">\u6570\u636E\u5217 <a class="header-anchor" href="#\u6570\u636E\u5217" aria-hidden="true">#</a></h2><ul><li>\u7248\u672C\u53F7: \u8BB0\u5F55Agent\u5F53\u524D\u7248\u672C</li><li>\u5BC6\u94A5: \u5373secret\\key\uFF0C\u914D\u7F6EAgent\u65F6\u4F1A\u7528\u5230</li><li>\u4E00\u952E\u5B89\u88C5: \u8F83\u4E3A\u4FBF\u6377\u7684Agent\u5B89\u88C5\u65B9\u5F0F</li><li>\u7BA1\u7406: \u5DE6\u4E3AWebShell\uFF0C\u4E2D\u4E3A\u7F16\u8F91\uFF0C\u53F3\u4E3A\u5220\u9664</li></ul><h2 id="\u5728\u7EBF\u7EC8\u7AEF" tabindex="-1">\u5728\u7EBF\u7EC8\u7AEF <a class="header-anchor" href="#\u5728\u7EBF\u7EC8\u7AEF" aria-hidden="true">#</a></h2><p>\u5373WebShell\uFF0C<code>disable-command-execute </code>\u5F00\u542F\u65F6\u6B64\u529F\u80FD\u4E0D\u751F\u6548\u3002<br> Linux\u548CWindows\u5747\u53EF\u7528\uFF0C\u53EF\u4F7F\u7528Ctrl+Shift+V\u7C98\u8D34\u3002<br> \u8FDE\u63A5\u5931\u8D25\u8BF7\u53C2\u8003<a href="/guide/q4.html">\u5B9E\u65F6\u901A\u9053\u65AD\u5F00/\u5728\u7EBF\u7EC8\u7AEF\u8FDE\u63A5\u5931\u8D25</a>\u3002<br> \u6CE8\u610F\u5728\u7EBF\u7EC8\u7AEF\u529F\u80FD\u4E2D\uFF0CAgent\u4E5F\u662F\u901A\u8FC7WebSocket\u8FDE\u63A5\u5230<strong>\u516C\u5F00\u8BBF\u95EE\u57DF\u540D</strong>\uFF0C\u800C\u975E\u901A\u8FC7grpc\u4EA4\u4E92\u3002</p>',13),n=[i];function l(h,s,o,c,g,u){return t(),a("div",null,n)}var b=e(d,[["render",l]]);export{p as __pageData,b as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as a,o as t,d as r}from"./app.2c402e15.js";const p='{"title":"\u4E3B\u673A","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u6DFB\u52A0\u670D\u52A1\u5668","slug":"\u6DFB\u52A0\u670D\u52A1\u5668"},{"level":2,"title":"\u5B89\u88C5Agent","slug":"\u5B89\u88C5agent"},{"level":2,"title":"\u5F3A\u5236\u66F4\u65B0","slug":"\u5F3A\u5236\u66F4\u65B0"},{"level":2,"title":"\u6570\u636E\u5217","slug":"\u6570\u636E\u5217"},{"level":2,"title":"\u5728\u7EBF\u7EC8\u7AEF","slug":"\u5728\u7EBF\u7EC8\u7AEF"}],"relativePath":"guide/servers.md"}',d={},i=r("",13),n=[i];function l(h,s,o,c,g,u){return t(),a("div",null,n)}var b=e(d,[["render",l]]);export{p as __pageData,b as default};
|
||||
import{_ as e,c as a,o as t,d as r}from"./app.c59cf861.js";const p='{"title":"\u4E3B\u673A","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4ECB\u7ECD","slug":"\u4ECB\u7ECD"},{"level":2,"title":"\u6DFB\u52A0\u670D\u52A1\u5668","slug":"\u6DFB\u52A0\u670D\u52A1\u5668"},{"level":2,"title":"\u5B89\u88C5Agent","slug":"\u5B89\u88C5agent"},{"level":2,"title":"\u5F3A\u5236\u66F4\u65B0","slug":"\u5F3A\u5236\u66F4\u65B0"},{"level":2,"title":"\u6570\u636E\u5217","slug":"\u6570\u636E\u5217"},{"level":2,"title":"\u5728\u7EBF\u7EC8\u7AEF","slug":"\u5728\u7EBF\u7EC8\u7AEF"}],"relativePath":"guide/servers.md"}',d={},i=r("",13),n=[i];function l(h,s,o,c,g,u){return t(),a("div",null,n)}var b=e(d,[["render",l]]);export{p as __pageData,b as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as t,d as r}from"./app.2c402e15.js";const g='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u76D1\u63A7","slug":"\u7BA1\u7406\u76D1\u63A7"}],"relativePath":"guide/services.md"}',l={},c=r('<p><strong>\u670D\u52A1\u533A\u57DF\u662F\u8BBE\u7F6E Agent \u76D1\u63A7\u5916\u90E8\u7F51\u7AD9\u6216\u670D\u52A1\u5668\u7684\u529F\u80FD\u8BBE\u7F6E\u533A</strong><br><strong>\u8BBE\u7F6E\u597D\u7684\u670D\u52A1\u76D1\u63A7\u53EF\u4EE5\u5728\u4E3B\u9875\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875\u67E5\u770B\u76D1\u63A7\u7ED3\u679C</strong><br></p><h2 id="\u4F7F\u7528\u65B9\u6CD5" tabindex="-1">\u4F7F\u7528\u65B9\u6CD5 <a class="header-anchor" href="#\u4F7F\u7528\u65B9\u6CD5" aria-hidden="true">#</a></h2><p>\u5982\u9700\u65B0\u589E\u4E00\u4E2A\u76D1\u63A7\uFF0C\u53EF\u4EE5\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875\uFF0C\u70B9\u51FB\u201C\u6DFB\u52A0\u76D1\u63A7\u201D</p><p>\u65B0\u589E\u4E00\u4E2A\u670D\u52A1\u76D1\u63A7\uFF0C\u4F60\u9700\u8981\u8BBE\u7F6E\u4EE5\u4E0B\u53C2\u6570\uFF1A</p><ul><li><p><code>\u540D\u79F0</code> - \u81EA\u5B9A\u4E49\u4E00\u4E2A\u540D\u79F0</p></li><li><p><code>\u7C7B\u578B</code> - \u9009\u62E9\u4E00\u4E2A\u76D1\u63A7\u7C7B\u578B\uFF0C\u76EE\u524D\u54EA\u5412\u76D1\u63A7\u652F\u6301\u4E09\u79CD\u76D1\u63A7\u7C7B\u578B\uFF0C\u5206\u522B\u662F \u201CHTTP-GET\u201D\u3001\u201CICMP-Ping\u201D \u548C \u201CTCP-Ping\u201D</p></li><li><p><code>\u76EE\u6807</code> - \u6839\u636E\u4F60\u9009\u62E9\u7684\u7C7B\u578B\u4E0D\u540C\uFF0C\u76EE\u6807\u7684\u8BBE\u7F6E\u65B9\u6CD5\u4E5F\u4E0D\u540C</p></li></ul><blockquote><ul><li><code>HTTP-GET</code>: \u9009\u62E9\u6B64\u7C7B\u578B\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2AURL\u4F5C\u4E3A\u76EE\u6807\uFF0CURL\u9700\u6DFB\u52A0 <code>http://</code> \u6216 <code>https://</code> <strong>\u5982\u679C\u4F60\u7684\u76EE\u6807URL\u662F <code>https://</code> ,\u5C06\u4F1A\u540C\u65F6\u76D1\u63A7\u8BE5URL\u7684SSL\u8BC1\u4E66\uFF0C\u5F53SSL\u8BC1\u4E66\u5230\u671F\u6216\u53D1\u751F\u53D8\u66F4\uFF0C\u4F1A\u89E6\u53D1\u63D0\u9192</strong><br> \u4F8B\u5982\uFF1A <a href="https://example.com" target="_blank" rel="noopener noreferrer">https://example.com</a></li></ul></blockquote><blockquote><ul><li><code>ICMP-Ping</code>: \u9009\u62E9\u6B64\u7C7B\u578B\u65F6\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2A\u57DF\u540D\u6216IP\uFF0C\u4E0D\u542B\u7AEF\u53E3\u53F7<br> \u4F8B\u5982\uFF1A1.1.1.1 \u6216 <a href="http://example.com" target="_blank" rel="noopener noreferrer">example.com</a></li></ul></blockquote><blockquote><ul><li><code>TCP-Ping</code>: \u9009\u62E9\u6B64\u7C7B\u578B\u65F6\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2A\u57DF\u540D\u6216IP\u5E76\u5305\u542B\u7AEF\u53E3\u53F7<br> \u4F8B\u5982\uFF1A1.1.1.1:80 \u6216 <a href="http://example.com:22" target="_blank" rel="noopener noreferrer">example.com:22</a></li></ul></blockquote><ul><li><p><code>\u8BF7\u6C42\u95F4\u9694</code>\uFF1A \u8BBE\u5B9A Agent \u6BCF\u6B21\u8BF7\u6C42\u76EE\u6807\u7684\u65F6\u95F4\u95F4\u9694\uFF0C\u4EE5\u79D2\u4E3A\u5355\u4F4D</p></li><li><p><code>\u8986\u76D6\u8303\u56F4</code>\uFF1A \u9009\u62E9\u4E00\u6761\u89C4\u5219\u6765\u786E\u5B9A\u8981\u4F7F\u7528\u54EA\u4E9B Agent \u6765\u8BF7\u6C42\u76EE\u6807</p></li><li><p><code>\u7279\u5B9A\u670D\u52A1\u5668</code>\uFF1A \u914D\u5408\u8986\u76D6\u8303\u56F4\u4F7F\u7528\uFF0C\u9009\u62E9\u89C4\u5219\u5185\u9700\u8981\u6392\u9664\u7684 Agent</p></li><li><p><code>\u901A\u77E5\u65B9\u5F0F\u7EC4</code>\uFF1A \u9009\u62E9\u4F60\u5DF2\u7ECF\u5728 \u201C\u62A5\u8B66\u201D \u9875\u8BBE\u7F6E\u597D\u7684\u901A\u77E5\u65B9\u5F0F\uFF0C<a href="/guide/notifications.html#\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F">\u70B9\u51FB\u8FD9\u91CC</a>\u4E86\u89E3\u8BE6\u60C5</p></li><li><p><code>\u542F\u7528\u6545\u969C\u901A\u77E5</code>\uFF1A \u6839\u636E\u9700\u8981\u9009\u62E9\u662F\u5426\u63A5\u6536\u76EE\u6807\u6545\u969C\u901A\u77E5\uFF0C\u9ED8\u8BA4\u4E3A\u4E0D\u52FE\u9009</p></li></ul><p>\u8BBE\u7F6E\u5B8C\u6210\u540E\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u201D \u5373\u53EF<br> \u7A0D\u7B49\u7247\u523B\u524D\u5F80\u4E3B\u9875\u7684 \u201C\u670D\u52A1\u201D \u9875\uFF0C\u67E5\u770B\u76D1\u63A7\u7ED3\u679C<br><br></p><h2 id="\u7BA1\u7406\u76D1\u63A7" tabindex="-1">\u7BA1\u7406\u76D1\u63A7 <a class="header-anchor" href="#\u7BA1\u7406\u76D1\u63A7" aria-hidden="true">#</a></h2><p>\u5982\u9700\u5BF9\u5DF2\u6709\u7684\u670D\u52A1\u76D1\u63A7\u8FDB\u884C\u7BA1\u7406\uFF0C\u53EF\u4EE5\u524D\u5F80\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875<br> \u9009\u62E9\u4E00\u6761\u76D1\u63A7\u914D\u7F6E\uFF0C\u70B9\u51FB\u53F3\u4FA7\u7684\u56FE\u6807\u8FDB\u884C\u7F16\u8F91\u6216\u5220\u9664</p>',12),a=[c];function i(d,p,n,s,_,h){return t(),o("div",null,a)}var b=e(l,[["render",i]]);export{g as __pageData,b as default};
|
||||
import{_ as e,c as o,o as t,d as r}from"./app.c59cf861.js";const g='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u76D1\u63A7","slug":"\u7BA1\u7406\u76D1\u63A7"}],"relativePath":"guide/services.md"}',l={},c=r('<p><strong>\u670D\u52A1\u533A\u57DF\u662F\u8BBE\u7F6E Agent \u76D1\u63A7\u5916\u90E8\u7F51\u7AD9\u6216\u670D\u52A1\u5668\u7684\u529F\u80FD\u8BBE\u7F6E\u533A</strong><br><strong>\u8BBE\u7F6E\u597D\u7684\u670D\u52A1\u76D1\u63A7\u53EF\u4EE5\u5728\u4E3B\u9875\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875\u67E5\u770B\u76D1\u63A7\u7ED3\u679C</strong><br></p><h2 id="\u4F7F\u7528\u65B9\u6CD5" tabindex="-1">\u4F7F\u7528\u65B9\u6CD5 <a class="header-anchor" href="#\u4F7F\u7528\u65B9\u6CD5" aria-hidden="true">#</a></h2><p>\u5982\u9700\u65B0\u589E\u4E00\u4E2A\u76D1\u63A7\uFF0C\u53EF\u4EE5\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875\uFF0C\u70B9\u51FB\u201C\u6DFB\u52A0\u76D1\u63A7\u201D</p><p>\u65B0\u589E\u4E00\u4E2A\u670D\u52A1\u76D1\u63A7\uFF0C\u4F60\u9700\u8981\u8BBE\u7F6E\u4EE5\u4E0B\u53C2\u6570\uFF1A</p><ul><li><p><code>\u540D\u79F0</code> - \u81EA\u5B9A\u4E49\u4E00\u4E2A\u540D\u79F0</p></li><li><p><code>\u7C7B\u578B</code> - \u9009\u62E9\u4E00\u4E2A\u76D1\u63A7\u7C7B\u578B\uFF0C\u76EE\u524D\u54EA\u5412\u76D1\u63A7\u652F\u6301\u4E09\u79CD\u76D1\u63A7\u7C7B\u578B\uFF0C\u5206\u522B\u662F \u201CHTTP-GET\u201D\u3001\u201CICMP-Ping\u201D \u548C \u201CTCP-Ping\u201D</p></li><li><p><code>\u76EE\u6807</code> - \u6839\u636E\u4F60\u9009\u62E9\u7684\u7C7B\u578B\u4E0D\u540C\uFF0C\u76EE\u6807\u7684\u8BBE\u7F6E\u65B9\u6CD5\u4E5F\u4E0D\u540C</p></li></ul><blockquote><ul><li><code>HTTP-GET</code>: \u9009\u62E9\u6B64\u7C7B\u578B\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2AURL\u4F5C\u4E3A\u76EE\u6807\uFF0CURL\u9700\u6DFB\u52A0 <code>http://</code> \u6216 <code>https://</code> <strong>\u5982\u679C\u4F60\u7684\u76EE\u6807URL\u662F <code>https://</code> ,\u5C06\u4F1A\u540C\u65F6\u76D1\u63A7\u8BE5URL\u7684SSL\u8BC1\u4E66\uFF0C\u5F53SSL\u8BC1\u4E66\u5230\u671F\u6216\u53D1\u751F\u53D8\u66F4\uFF0C\u4F1A\u89E6\u53D1\u63D0\u9192</strong><br> \u4F8B\u5982\uFF1A <a href="https://example.com" target="_blank" rel="noopener noreferrer">https://example.com</a></li></ul></blockquote><blockquote><ul><li><code>ICMP-Ping</code>: \u9009\u62E9\u6B64\u7C7B\u578B\u65F6\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2A\u57DF\u540D\u6216IP\uFF0C\u4E0D\u542B\u7AEF\u53E3\u53F7<br> \u4F8B\u5982\uFF1A1.1.1.1 \u6216 <a href="http://example.com" target="_blank" rel="noopener noreferrer">example.com</a></li></ul></blockquote><blockquote><ul><li><code>TCP-Ping</code>: \u9009\u62E9\u6B64\u7C7B\u578B\u65F6\uFF0C\u4F60\u5E94\u8BE5\u8F93\u5165\u4E00\u4E2A\u57DF\u540D\u6216IP\u5E76\u5305\u542B\u7AEF\u53E3\u53F7<br> \u4F8B\u5982\uFF1A1.1.1.1:80 \u6216 <a href="http://example.com:22" target="_blank" rel="noopener noreferrer">example.com:22</a></li></ul></blockquote><ul><li><p><code>\u8BF7\u6C42\u95F4\u9694</code>\uFF1A \u8BBE\u5B9A Agent \u6BCF\u6B21\u8BF7\u6C42\u76EE\u6807\u7684\u65F6\u95F4\u95F4\u9694\uFF0C\u4EE5\u79D2\u4E3A\u5355\u4F4D</p></li><li><p><code>\u8986\u76D6\u8303\u56F4</code>\uFF1A \u9009\u62E9\u4E00\u6761\u89C4\u5219\u6765\u786E\u5B9A\u8981\u4F7F\u7528\u54EA\u4E9B Agent \u6765\u8BF7\u6C42\u76EE\u6807</p></li><li><p><code>\u7279\u5B9A\u670D\u52A1\u5668</code>\uFF1A \u914D\u5408\u8986\u76D6\u8303\u56F4\u4F7F\u7528\uFF0C\u9009\u62E9\u89C4\u5219\u5185\u9700\u8981\u6392\u9664\u7684 Agent</p></li><li><p><code>\u901A\u77E5\u65B9\u5F0F\u7EC4</code>\uFF1A \u9009\u62E9\u4F60\u5DF2\u7ECF\u5728 \u201C\u62A5\u8B66\u201D \u9875\u8BBE\u7F6E\u597D\u7684\u901A\u77E5\u65B9\u5F0F\uFF0C<a href="/guide/notifications.html#\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F">\u70B9\u51FB\u8FD9\u91CC</a>\u4E86\u89E3\u8BE6\u60C5</p></li><li><p><code>\u542F\u7528\u6545\u969C\u901A\u77E5</code>\uFF1A \u6839\u636E\u9700\u8981\u9009\u62E9\u662F\u5426\u63A5\u6536\u76EE\u6807\u6545\u969C\u901A\u77E5\uFF0C\u9ED8\u8BA4\u4E3A\u4E0D\u52FE\u9009</p></li></ul><p>\u8BBE\u7F6E\u5B8C\u6210\u540E\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u201D \u5373\u53EF<br> \u7A0D\u7B49\u7247\u523B\u524D\u5F80\u4E3B\u9875\u7684 \u201C\u670D\u52A1\u201D \u9875\uFF0C\u67E5\u770B\u76D1\u63A7\u7ED3\u679C<br><br></p><h2 id="\u7BA1\u7406\u76D1\u63A7" tabindex="-1">\u7BA1\u7406\u76D1\u63A7 <a class="header-anchor" href="#\u7BA1\u7406\u76D1\u63A7" aria-hidden="true">#</a></h2><p>\u5982\u9700\u5BF9\u5DF2\u6709\u7684\u670D\u52A1\u76D1\u63A7\u8FDB\u884C\u7BA1\u7406\uFF0C\u53EF\u4EE5\u524D\u5F80\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u670D\u52A1\u201D \u9875<br> \u9009\u62E9\u4E00\u6761\u76D1\u63A7\u914D\u7F6E\uFF0C\u70B9\u51FB\u53F3\u4FA7\u7684\u56FE\u6807\u8FDB\u884C\u7F16\u8F91\u6216\u5220\u9664</p>',12),a=[c];function i(d,p,n,s,_,h){return t(),o("div",null,a)}var b=e(l,[["render",i]]);export{g as __pageData,b as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as t,d as r}from"./app.2c402e15.js";const g='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u76D1\u63A7","slug":"\u7BA1\u7406\u76D1\u63A7"}],"relativePath":"guide/services.md"}',l={},c=r("",12),a=[c];function i(d,p,n,s,_,h){return t(),o("div",null,a)}var b=e(l,[["render",i]]);export{g as __pageData,b as default};
|
||||
import{_ as e,c as o,o as t,d as r}from"./app.c59cf861.js";const g='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u76D1\u63A7","slug":"\u7BA1\u7406\u76D1\u63A7"}],"relativePath":"guide/services.md"}',l={},c=r("",12),a=[c];function i(d,p,n,s,_,h){return t(),o("div",null,a)}var b=e(l,[["render",i]]);export{g as __pageData,b as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.2c402e15.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165CDN\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165cdn\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md"}',p={},e=t(`<h2 id="\u7AD9\u70B9\u6807\u9898" tabindex="-1">\u7AD9\u70B9\u6807\u9898 <a class="header-anchor" href="#\u7AD9\u70B9\u6807\u9898" aria-hidden="true">#</a></h2><p>\u4F60\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u81EA\u5B9A\u4E49\u4F60\u7684\u7AD9\u70B9\u6807\u9898 <br></p><h2 id="\u7BA1\u7406\u5458\u5217\u8868" tabindex="-1">\u7BA1\u7406\u5458\u5217\u8868 <a class="header-anchor" href="#\u7BA1\u7406\u5458\u5217\u8868" aria-hidden="true">#</a></h2><ul><li><p>\u5982\u679C\u4F60\u4FEE\u6539\u4E86\u81EA\u5DF1\u7684Github/Gitee\u7528\u6237\u540D\uFF0C\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u540C\u6B65\u4FEE\u6539\uFF0C\u5426\u5219\u65E0\u6CD5\u767B\u9646\uFF0C\u591A\u4E2A\u7528\u6237\u8BF7\u7528\u9017\u53F7\u9694\u5F00: <code>user1,user2</code></p></li><li><p>\u5982\u9700\u66F4\u6539\u7BA1\u7406\u5458\u8D26\u6237\uFF0C\u8BF7\u524D\u5F80 <code>/opt/nezha/dashboard/data/config.yaml</code> \uFF0C\u91CD\u65B0\u8BBE\u7F6E\u65B0\u7684\u7BA1\u7406\u5458 <code>Client ID</code> \u548C <code>Client Secret</code><br></p></li></ul><h2 id="\u4E3B\u9898" tabindex="-1">\u4E3B\u9898 <a class="header-anchor" href="#\u4E3B\u9898" aria-hidden="true">#</a></h2><p>\u5728\u8FD9\u91CC\u9009\u62E9\u4E3B\u9875\u4E3B\u9898\uFF0C\u5982\u679C\u9009\u9879\u4E2D\u6CA1\u6709\u67D0\u4E2A\u5DF2\u5B58\u5728\u7684\u4E3B\u9898\uFF0C\u8BF7\u66F4\u65B0\u9762\u677F <br></p><h2 id="language" tabindex="-1">Language <a class="header-anchor" href="#language" aria-hidden="true">#</a></h2><p>\u54EA\u5412\u76D1\u63A7\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A</p><ul><li>\u7B80\u4F53\u4E2D\u6587</li><li>English</li><li>Espa\xF1ol</li></ul><p><a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer"><img src="https://badges.crowdin.net/nezha/localized.svg" alt=""></a><br> \u6211\u4EEC\u6B22\u8FCE\u60A8\u5BF9\u7FFB\u8BD1\u8FDB\u884C\u52D8\u8BEF\u548C\u8D21\u732E\u66F4\u591A\u8BED\u8A00 <br></p><h2 id="\u81EA\u5B9A\u4E49\u4EE3\u7801" tabindex="-1">\u81EA\u5B9A\u4E49\u4EE3\u7801 <a class="header-anchor" href="#\u81EA\u5B9A\u4E49\u4EE3\u7801" aria-hidden="true">#</a></h2><p>\u6539LOGO\u3001\u6539\u8272\u8C03\u3001\u52A0\u7EDF\u8BA1\u4EE3\u7801\u7B49\u3002</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u81EA\u5B9A\u4E49\u4EE3\u7801\u4EC5\u5728\u6E38\u5BA2\u9996\u9875\u751F\u6548\uFF0C\u7BA1\u7406\u9762\u677F\u4E0D\u751F\u6548<br> \u7531\u4E8E\u4E0D\u540C\u4E3B\u9898\u7684\u4EE3\u7801\u4E0D\u540C\uFF0C\u5982\u786E\u9700\u4FEE\u6539\u7BA1\u7406\u9762\u677F\u4E2D\u7684\u5185\u5BB9\uFF0C\u8BF7\u81EA\u884C\u524D\u5F80 Docker \u4E2D\u7814\u7A76\u4FEE\u6539</p></div><br><h4 id="\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B" tabindex="-1">\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B <a class="header-anchor" href="#\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B" aria-hidden="true">#</a></h4><div class="language-html"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>style</span><span class="token punctuation">></span></span><span class="token style"><span class="token language-css">
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.c59cf861.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165CDN\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165cdn\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md"}',p={},e=t(`<h2 id="\u7AD9\u70B9\u6807\u9898" tabindex="-1">\u7AD9\u70B9\u6807\u9898 <a class="header-anchor" href="#\u7AD9\u70B9\u6807\u9898" aria-hidden="true">#</a></h2><p>\u4F60\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u81EA\u5B9A\u4E49\u4F60\u7684\u7AD9\u70B9\u6807\u9898 <br></p><h2 id="\u7BA1\u7406\u5458\u5217\u8868" tabindex="-1">\u7BA1\u7406\u5458\u5217\u8868 <a class="header-anchor" href="#\u7BA1\u7406\u5458\u5217\u8868" aria-hidden="true">#</a></h2><ul><li><p>\u5982\u679C\u4F60\u4FEE\u6539\u4E86\u81EA\u5DF1\u7684Github/Gitee\u7528\u6237\u540D\uFF0C\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u540C\u6B65\u4FEE\u6539\uFF0C\u5426\u5219\u65E0\u6CD5\u767B\u5F55\uFF0C\u591A\u4E2A\u7528\u6237\u8BF7\u7528\u9017\u53F7\u9694\u5F00: <code>user1,user2</code></p></li><li><p>\u5982\u9700\u66F4\u6539\u7BA1\u7406\u5458\u8D26\u6237\uFF0C\u8BF7\u524D\u5F80 <code>/opt/nezha/dashboard/data/config.yaml</code> \uFF0C\u91CD\u65B0\u8BBE\u7F6E\u65B0\u7684\u7BA1\u7406\u5458 <code>Client ID</code> \u548C <code>Client Secret</code><br></p></li></ul><h2 id="\u4E3B\u9898" tabindex="-1">\u4E3B\u9898 <a class="header-anchor" href="#\u4E3B\u9898" aria-hidden="true">#</a></h2><p>\u5728\u8FD9\u91CC\u9009\u62E9\u4E3B\u9875\u4E3B\u9898\uFF0C\u5982\u679C\u9009\u9879\u4E2D\u6CA1\u6709\u67D0\u4E2A\u5DF2\u5B58\u5728\u7684\u4E3B\u9898\uFF0C\u8BF7\u66F4\u65B0\u9762\u677F <br></p><h2 id="language" tabindex="-1">Language <a class="header-anchor" href="#language" aria-hidden="true">#</a></h2><p>\u54EA\u5412\u76D1\u63A7\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A</p><ul><li>\u7B80\u4F53\u4E2D\u6587</li><li>English</li><li>Espa\xF1ol</li></ul><p><a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer"><img src="https://badges.crowdin.net/nezha/localized.svg" alt=""></a><br> \u6211\u4EEC\u6B22\u8FCE\u60A8\u5BF9\u7FFB\u8BD1\u8FDB\u884C\u52D8\u8BEF\u548C\u8D21\u732E\u66F4\u591A\u8BED\u8A00 <br></p><h2 id="\u81EA\u5B9A\u4E49\u4EE3\u7801" tabindex="-1">\u81EA\u5B9A\u4E49\u4EE3\u7801 <a class="header-anchor" href="#\u81EA\u5B9A\u4E49\u4EE3\u7801" aria-hidden="true">#</a></h2><p>\u6539LOGO\u3001\u6539\u8272\u8C03\u3001\u52A0\u7EDF\u8BA1\u4EE3\u7801\u7B49\u3002</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u81EA\u5B9A\u4E49\u4EE3\u7801\u4EC5\u5728\u6E38\u5BA2\u9996\u9875\u751F\u6548\uFF0C\u7BA1\u7406\u9762\u677F\u4E0D\u751F\u6548<br> \u7531\u4E8E\u4E0D\u540C\u4E3B\u9898\u7684\u4EE3\u7801\u4E0D\u540C\uFF0C\u5982\u786E\u9700\u4FEE\u6539\u7BA1\u7406\u9762\u677F\u4E2D\u7684\u5185\u5BB9\uFF0C\u8BF7\u81EA\u884C\u524D\u5F80 Docker \u4E2D\u7814\u7A76\u4FEE\u6539</p></div><br><h4 id="\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B" tabindex="-1">\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B <a class="header-anchor" href="#\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B" aria-hidden="true">#</a></h4><div class="language-html"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>style</span><span class="token punctuation">></span></span><span class="token style"><span class="token language-css">
|
||||
<span class="token selector">.ui.fine.progress> .bar</span> <span class="token punctuation">{</span>
|
||||
<span class="token property">background-color</span><span class="token punctuation">:</span> pink <span class="token important">!important</span><span class="token punctuation">;</span>
|
||||
<span class="token punctuation">}</span>
|
@ -1 +1 @@
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.2c402e15.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165CDN\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165cdn\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md"}',p={},e=t("",37),o=[e];function c(l,i,r,u,k,d){return s(),n("div",null,o)}var b=a(p,[["render",c]]);export{g as __pageData,b as default};
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.c59cf861.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165CDN\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165cdn\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md"}',p={},e=t("",37),o=[e];function c(l,i,r,u,k,d){return s(),n("div",null,o)}var b=a(p,[["render",c]]);export{g as __pageData,b as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as r,d as c}from"./app.2c402e15.js";const b='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u4EFB\u52A1","slug":"\u7BA1\u7406\u4EFB\u52A1"},{"level":2,"title":"\u5E38\u89C1\u95EE\u9898","slug":"\u5E38\u89C1\u95EE\u9898"}],"relativePath":"guide/tasks.md"}',d={},t=c('<p><strong>\u5728\u4EFB\u52A1\u533A\u57DF\u4E2D\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u8BA1\u5212\u4EFB\u52A1\uFF0C\u5B9A\u671F\u4EFB\u52A1\uFF0C\u591A\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1</strong></p><p>\u54EA\u5412\u76D1\u63A7\u652F\u6301\u63A8\u9001\u547D\u4EE4\u5230 Agent \u6267\u884C\uFF0C\u56E0\u6B64\u6B64\u529F\u80FD\u975E\u5E38\u7075\u6D3B\uFF0C\u4F7F\u7528\u6B64\u529F\u80FD\u53EF\u4EE5\u5B9A\u671F\u7ED3\u5408 restic\u3001rclone \u7ED9\u670D\u52A1\u5668\u5907\u4EFD\uFF0C\u6216\u8005\u5B9A\u671F\u91CD\u542F\u67D0\u9879\u670D\u52A1\u6765\u91CD\u7F6E\u7F51\u7EDC\u8FDE\u63A5</p><h2 id="\u4F7F\u7528\u65B9\u6CD5" tabindex="-1">\u4F7F\u7528\u65B9\u6CD5 <a class="header-anchor" href="#\u4F7F\u7528\u65B9\u6CD5" aria-hidden="true">#</a></h2><p>\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u7684 \u201C\u4EFB\u52A1\u201D \u9875\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u8BA1\u5212\u4EFB\u52A1\u201D<br> \u6DFB\u52A0\u8BA1\u5212\u4EFB\u52A1\u4F60\u9700\u8981\u586B\u5165\u4EE5\u4E0B\u53C2\u6570\uFF1A</p><ul><li><p><code>\u540D\u79F0</code> - \u81EA\u5B9A\u4E49\u4E00\u4E2A\u4EFB\u52A1\u540D\u79F0</p></li><li><p><code>\u8BA1\u5212</code> - \u8BBE\u7F6E\u8BA1\u5212\u65F6\u95F4\uFF0C\u65F6\u95F4\u7684\u683C\u5F0F\u4E3A\uFF1A <code>* * * * * *</code> \u5206\u522B\u5BF9\u5E94 <code>\u79D2 \u5206 \u65F6 \u5929 \u6708 \u661F\u671F</code>\uFF0C\u8BE6\u60C5\u89C1<a href="https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format" target="_blank" rel="noopener noreferrer">\u8BA1\u5212\u8868\u8FBE\u5F0F\u683C\u5F0F</a><br> \u5982\uFF1A<code>0 0 3 * * *</code> \u5BF9\u5E94\u4E3A <code>\u6BCF\u59293\u70B9</code></p></li><li><p><code>\u547D\u4EE4</code> - \u4F60\u53EF\u4EE5\u5728\u8FD9\u91CC\u8BBE\u7F6E\u9700\u8981\u6267\u884C\u7684\u547D\u4EE4\uFF0C\u5C31\u50CF\u5199 Shell/Bat \u811A\u672C\u4E00\u6837\uFF0C<strong>\u4F46\u662F\u4E0D\u63A8\u8350\u6362\u884C\uFF0C\u591A\u4E2A\u547D\u4EE4\u4F7F\u7528 <code>&&/&</code> \u8FDE\u63A5</strong><br> \u4F8B\u5982\u6267\u884C\u5B9A\u671F\u91CD\u542F\u547D\u4EE4\uFF0C\u53EF\u4EE5\u5728\u8FD9\u91CC\u8F93\u5165 <code>reboot</code></p></li><li><p><code>\u8986\u76D6\u8303\u56F4</code> \u548C <code>\u7279\u5B9A\u670D\u52A1\u5668</code> - \u8DDF\u201C\u670D\u52A1\u201D\u9875\u4E2D\u7684\u8BBE\u7F6E\u7C7B\u4F3C\uFF0C\u9009\u62E9\u89C4\u5219\u6765\u786E\u5B9A\u54EA\u4E9B Agent \u6267\u884C\u8BA1\u5212\u4EFB\u52A1</p></li><li><p><code>\u901A\u77E5\u65B9\u5F0F\u7EC4</code> - \u9009\u62E9\u4F60\u5DF2\u7ECF\u5728 \u201C\u62A5\u8B66\u201D \u9875\u8BBE\u7F6E\u597D\u7684\u901A\u77E5\u65B9\u5F0F\uFF0C<a href="/guide/notifications.html#\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F">\u70B9\u51FB\u8FD9\u91CC</a>\u4E86\u89E3\u8BE6\u60C5</p></li><li><p><code>\u63A8\u9001\u6210\u529F\u7684\u6D88\u606F</code> - \u52FE\u9009\u6B64\u9879\uFF0C\u4EFB\u52A1\u6267\u884C\u6210\u529F\u540E\u4F1A\u89E6\u53D1\u6D88\u606F\u901A\u77E5<br><br></p></li></ul><h2 id="\u7BA1\u7406\u4EFB\u52A1" tabindex="-1">\u7BA1\u7406\u4EFB\u52A1 <a class="header-anchor" href="#\u7BA1\u7406\u4EFB\u52A1" aria-hidden="true">#</a></h2><p>\u5982\u9700\u5BF9\u5DF2\u6709\u7684\u8BA1\u5212\u4EFB\u52A1\u8FDB\u884C\u7BA1\u7406\uFF0C\u53EF\u4EE5\u524D\u5F80\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u4EFB\u52A1\u201D \u9875<br> \u9009\u62E9\u4E00\u6761\u4EFB\u52A1\u914D\u7F6E\uFF0C\u53F3\u4FA7\u7684\u4E09\u4E2A\u56FE\u6807\uFF0C\u5206\u522B\u662F\uFF1A</p><ul><li><code>\u7ACB\u5373\u6267\u884C</code> - \u70B9\u51FB\u540E\u5C06\u5FFD\u7565\u8BA1\u5212\u65F6\u95F4\uFF0C\u7ACB\u523B\u6267\u884C\u4EFB\u52A1</li><li><code>\u7F16\u8F91</code> - \u70B9\u51FB\u53EF\u4EE5\u4FEE\u6539\u4EFB\u52A1\u914D\u7F6E</li><li><code>\u5220\u9664</code> - \u5220\u9664\u8FD9\u6761\u8BA1\u5212\u4EFB\u52A1<br><br></li></ul><h2 id="\u5E38\u89C1\u95EE\u9898" tabindex="-1">\u5E38\u89C1\u95EE\u9898 <a class="header-anchor" href="#\u5E38\u89C1\u95EE\u9898" aria-hidden="true">#</a></h2><ol><li>xxx \u547D\u4EE4\u627E\u4E0D\u5230<br> \u5982\u679C\u8FD0\u884C\u5931\u8D25\uFF0C\u63D0\u793A xxx \u547D\u4EE4\u627E\u4E0D\u5230\uFF0C\u53EF\u80FD\u662F PATH \u73AF\u5883\u53D8\u91CF\u7684\u95EE\u9898\uFF0CLinux \u670D\u52A1\u5668\u5728\u547D\u4EE4\u5F00\u5934\u52A0\u5165 <code>source ~/.bashrc</code> \u6216\u8005\u4F7F\u7528\u7EDD\u5BF9\u8DEF\u5F84\u6267\u884C</li></ol>',10),a=[t];function i(l,s,n,p,h,_){return r(),o("div",null,a)}var g=e(d,[["render",i]]);export{b as __pageData,g as default};
|
||||
import{_ as e,c as o,o as r,d as c}from"./app.c59cf861.js";const b='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u4EFB\u52A1","slug":"\u7BA1\u7406\u4EFB\u52A1"},{"level":2,"title":"\u5E38\u89C1\u95EE\u9898","slug":"\u5E38\u89C1\u95EE\u9898"}],"relativePath":"guide/tasks.md"}',d={},t=c('<p><strong>\u5728\u4EFB\u52A1\u533A\u57DF\u4E2D\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u8BA1\u5212\u4EFB\u52A1\uFF0C\u5B9A\u671F\u4EFB\u52A1\uFF0C\u591A\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1</strong></p><p>\u54EA\u5412\u76D1\u63A7\u652F\u6301\u63A8\u9001\u547D\u4EE4\u5230 Agent \u6267\u884C\uFF0C\u56E0\u6B64\u6B64\u529F\u80FD\u975E\u5E38\u7075\u6D3B\uFF0C\u4F7F\u7528\u6B64\u529F\u80FD\u53EF\u4EE5\u5B9A\u671F\u7ED3\u5408 restic\u3001rclone \u7ED9\u670D\u52A1\u5668\u5907\u4EFD\uFF0C\u6216\u8005\u5B9A\u671F\u91CD\u542F\u67D0\u9879\u670D\u52A1\u6765\u91CD\u7F6E\u7F51\u7EDC\u8FDE\u63A5</p><h2 id="\u4F7F\u7528\u65B9\u6CD5" tabindex="-1">\u4F7F\u7528\u65B9\u6CD5 <a class="header-anchor" href="#\u4F7F\u7528\u65B9\u6CD5" aria-hidden="true">#</a></h2><p>\u8FDB\u5165\u7BA1\u7406\u9762\u677F\u7684 \u201C\u4EFB\u52A1\u201D \u9875\uFF0C\u70B9\u51FB \u201C\u6DFB\u52A0\u8BA1\u5212\u4EFB\u52A1\u201D<br> \u6DFB\u52A0\u8BA1\u5212\u4EFB\u52A1\u4F60\u9700\u8981\u586B\u5165\u4EE5\u4E0B\u53C2\u6570\uFF1A</p><ul><li><p><code>\u540D\u79F0</code> - \u81EA\u5B9A\u4E49\u4E00\u4E2A\u4EFB\u52A1\u540D\u79F0</p></li><li><p><code>\u8BA1\u5212</code> - \u8BBE\u7F6E\u8BA1\u5212\u65F6\u95F4\uFF0C\u65F6\u95F4\u7684\u683C\u5F0F\u4E3A\uFF1A <code>* * * * * *</code> \u5206\u522B\u5BF9\u5E94 <code>\u79D2 \u5206 \u65F6 \u5929 \u6708 \u661F\u671F</code>\uFF0C\u8BE6\u60C5\u89C1<a href="https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format" target="_blank" rel="noopener noreferrer">\u8BA1\u5212\u8868\u8FBE\u5F0F\u683C\u5F0F</a><br> \u5982\uFF1A<code>0 0 3 * * *</code> \u5BF9\u5E94\u4E3A <code>\u6BCF\u59293\u70B9</code></p></li><li><p><code>\u547D\u4EE4</code> - \u4F60\u53EF\u4EE5\u5728\u8FD9\u91CC\u8BBE\u7F6E\u9700\u8981\u6267\u884C\u7684\u547D\u4EE4\uFF0C\u5C31\u50CF\u5199 Shell/Bat \u811A\u672C\u4E00\u6837\uFF0C<strong>\u4F46\u662F\u4E0D\u63A8\u8350\u6362\u884C\uFF0C\u591A\u4E2A\u547D\u4EE4\u4F7F\u7528 <code>&&/&</code> \u8FDE\u63A5</strong><br> \u4F8B\u5982\u6267\u884C\u5B9A\u671F\u91CD\u542F\u547D\u4EE4\uFF0C\u53EF\u4EE5\u5728\u8FD9\u91CC\u8F93\u5165 <code>reboot</code></p></li><li><p><code>\u8986\u76D6\u8303\u56F4</code> \u548C <code>\u7279\u5B9A\u670D\u52A1\u5668</code> - \u8DDF\u201C\u670D\u52A1\u201D\u9875\u4E2D\u7684\u8BBE\u7F6E\u7C7B\u4F3C\uFF0C\u9009\u62E9\u89C4\u5219\u6765\u786E\u5B9A\u54EA\u4E9B Agent \u6267\u884C\u8BA1\u5212\u4EFB\u52A1</p></li><li><p><code>\u901A\u77E5\u65B9\u5F0F\u7EC4</code> - \u9009\u62E9\u4F60\u5DF2\u7ECF\u5728 \u201C\u62A5\u8B66\u201D \u9875\u8BBE\u7F6E\u597D\u7684\u901A\u77E5\u65B9\u5F0F\uFF0C<a href="/guide/notifications.html#\u7075\u6D3B\u7684\u901A\u77E5\u65B9\u5F0F">\u70B9\u51FB\u8FD9\u91CC</a>\u4E86\u89E3\u8BE6\u60C5</p></li><li><p><code>\u63A8\u9001\u6210\u529F\u7684\u6D88\u606F</code> - \u52FE\u9009\u6B64\u9879\uFF0C\u4EFB\u52A1\u6267\u884C\u6210\u529F\u540E\u4F1A\u89E6\u53D1\u6D88\u606F\u901A\u77E5<br><br></p></li></ul><h2 id="\u7BA1\u7406\u4EFB\u52A1" tabindex="-1">\u7BA1\u7406\u4EFB\u52A1 <a class="header-anchor" href="#\u7BA1\u7406\u4EFB\u52A1" aria-hidden="true">#</a></h2><p>\u5982\u9700\u5BF9\u5DF2\u6709\u7684\u8BA1\u5212\u4EFB\u52A1\u8FDB\u884C\u7BA1\u7406\uFF0C\u53EF\u4EE5\u524D\u5F80\u7BA1\u7406\u9762\u677F\u4E2D\u7684 \u201C\u4EFB\u52A1\u201D \u9875<br> \u9009\u62E9\u4E00\u6761\u4EFB\u52A1\u914D\u7F6E\uFF0C\u53F3\u4FA7\u7684\u4E09\u4E2A\u56FE\u6807\uFF0C\u5206\u522B\u662F\uFF1A</p><ul><li><code>\u7ACB\u5373\u6267\u884C</code> - \u70B9\u51FB\u540E\u5C06\u5FFD\u7565\u8BA1\u5212\u65F6\u95F4\uFF0C\u7ACB\u523B\u6267\u884C\u4EFB\u52A1</li><li><code>\u7F16\u8F91</code> - \u70B9\u51FB\u53EF\u4EE5\u4FEE\u6539\u4EFB\u52A1\u914D\u7F6E</li><li><code>\u5220\u9664</code> - \u5220\u9664\u8FD9\u6761\u8BA1\u5212\u4EFB\u52A1<br><br></li></ul><h2 id="\u5E38\u89C1\u95EE\u9898" tabindex="-1">\u5E38\u89C1\u95EE\u9898 <a class="header-anchor" href="#\u5E38\u89C1\u95EE\u9898" aria-hidden="true">#</a></h2><ol><li>xxx \u547D\u4EE4\u627E\u4E0D\u5230<br> \u5982\u679C\u8FD0\u884C\u5931\u8D25\uFF0C\u63D0\u793A xxx \u547D\u4EE4\u627E\u4E0D\u5230\uFF0C\u53EF\u80FD\u662F PATH \u73AF\u5883\u53D8\u91CF\u7684\u95EE\u9898\uFF0CLinux \u670D\u52A1\u5668\u5728\u547D\u4EE4\u5F00\u5934\u52A0\u5165 <code>source ~/.bashrc</code> \u6216\u8005\u4F7F\u7528\u7EDD\u5BF9\u8DEF\u5F84\u6267\u884C</li></ol>',10),a=[t];function i(l,s,n,p,h,_){return r(),o("div",null,a)}var g=e(d,[["render",i]]);export{b as __pageData,g as default};
|
@ -1 +1 @@
|
||||
import{_ as e,c as o,o as r,d as c}from"./app.2c402e15.js";const b='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u4EFB\u52A1","slug":"\u7BA1\u7406\u4EFB\u52A1"},{"level":2,"title":"\u5E38\u89C1\u95EE\u9898","slug":"\u5E38\u89C1\u95EE\u9898"}],"relativePath":"guide/tasks.md"}',d={},t=c("",10),a=[t];function i(l,s,n,p,h,_){return r(),o("div",null,a)}var g=e(d,[["render",i]]);export{b as __pageData,g as default};
|
||||
import{_ as e,c as o,o as r,d as c}from"./app.c59cf861.js";const b='{"title":"\u4F7F\u7528\u65B9\u6CD5","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u4F7F\u7528\u65B9\u6CD5","slug":"\u4F7F\u7528\u65B9\u6CD5"},{"level":2,"title":"\u7BA1\u7406\u4EFB\u52A1","slug":"\u7BA1\u7406\u4EFB\u52A1"},{"level":2,"title":"\u5E38\u89C1\u95EE\u9898","slug":"\u5E38\u89C1\u95EE\u9898"}],"relativePath":"guide/tasks.md"}',d={},t=c("",10),a=[t];function i(l,s,n,p,h,_){return r(),o("div",null,a)}var g=e(d,[["render",i]]);export{b as __pageData,g as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as r,o,a as e,b as t}from"./app.2c402e15.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7","tagline":"\u4E00\u4E2A\u5F00\u6E90\u3001\u8F7B\u91CF\u7684\u670D\u52A1\u5668\u548C\u7F51\u7AD9\u76D1\u63A7\u3001\u8FD0\u7EF4\u5DE5\u5177","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/guide/dashboard","features":[{"title":"\u4E00\u952E\u5B89\u88C5","details":"\u652F\u6301\u4E00\u952E\u811A\u672C\u5B89\u88C5\u9762\u677F\u548C\u76D1\u63A7\u670D\u52A1\uFF0C\u8F7B\u677E\u4F7F\u7528\uFF1BLinux\u3001WIndows\u3001MacOS\u3001OpenWRT\u7B49\u4E3B\u6D41\u7CFB\u7EDF\u5747\u53D7\u652F\u6301"},{"title":"\u968F\u65F6\u76D1\u63A7","details":"\u652F\u6301\u540C\u65F6\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\u7684\u7CFB\u7EDF\u72B6\u6001\uFF0C\u652F\u6301\u76D1\u63A7\u7F51\u9875\u3001\u7AEF\u53E3\u3001SSL\u8BC1\u4E66\u72B6\u6001\uFF1B\u652F\u6301\u6545\u969C\u3001\u6D41\u91CF\u7B49\u72B6\u6001\u62A5\u8B66\uFF0C\u652F\u6301\u591A\u79CD\u901A\u77E5\u65B9\u5F0F\uFF08Telegram\u3001\u90AE\u4EF6\u3001\u5FAE\u4FE1\u7B49\uFF09"},{"title":"\u8F7B\u91CF\u8FD0\u7EF4","details":"\u652F\u6301\u5728\u7EBFSSH\uFF0C\u652F\u6301\u6D41\u91CF\u5FAA\u73AF\u76D1\u63A7\uFF0C\u652F\u6301\u8BBE\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u3001\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"index.md"}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),i=[n];function c(d,l,h,p,_,m){return o(),r("div",null,i)}var g=a(s,[["render",c]]);export{f as __pageData,g as default};
|
||||
import{_ as a,c as r,o,a as e,b as t}from"./app.c59cf861.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7","tagline":"\u4E00\u4E2A\u5F00\u6E90\u3001\u8F7B\u91CF\u7684\u670D\u52A1\u5668\u548C\u7F51\u7AD9\u76D1\u63A7\u3001\u8FD0\u7EF4\u5DE5\u5177","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/guide/dashboard","features":[{"title":"\u4E00\u952E\u5B89\u88C5","details":"\u652F\u6301\u4E00\u952E\u811A\u672C\u5B89\u88C5\u9762\u677F\u548C\u76D1\u63A7\u670D\u52A1\uFF0C\u8F7B\u677E\u4F7F\u7528\uFF1BLinux\u3001WIndows\u3001MacOS\u3001OpenWRT\u7B49\u4E3B\u6D41\u7CFB\u7EDF\u5747\u53D7\u652F\u6301"},{"title":"\u968F\u65F6\u76D1\u63A7","details":"\u652F\u6301\u540C\u65F6\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\u7684\u7CFB\u7EDF\u72B6\u6001\uFF0C\u652F\u6301\u76D1\u63A7\u7F51\u9875\u3001\u7AEF\u53E3\u3001SSL\u8BC1\u4E66\u72B6\u6001\uFF1B\u652F\u6301\u6545\u969C\u3001\u6D41\u91CF\u7B49\u72B6\u6001\u62A5\u8B66\uFF0C\u652F\u6301\u591A\u79CD\u901A\u77E5\u65B9\u5F0F\uFF08Telegram\u3001\u90AE\u4EF6\u3001\u5FAE\u4FE1\u7B49\uFF09"},{"title":"\u8F7B\u91CF\u8FD0\u7EF4","details":"\u652F\u6301\u5728\u7EBFSSH\uFF0C\u652F\u6301\u6D41\u91CF\u5FAA\u73AF\u76D1\u63A7\uFF0C\u652F\u6301\u8BBE\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u3001\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"index.md"}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),i=[n];function c(d,l,h,p,_,m){return o(),r("div",null,i)}var g=a(s,[["render",c]]);export{f as __pageData,g as default};
|
@ -1 +1 @@
|
||||
import{_ as a,c as r,o,a as e,b as t}from"./app.2c402e15.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7","tagline":"\u4E00\u4E2A\u5F00\u6E90\u3001\u8F7B\u91CF\u7684\u670D\u52A1\u5668\u548C\u7F51\u7AD9\u76D1\u63A7\u3001\u8FD0\u7EF4\u5DE5\u5177","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/guide/dashboard","features":[{"title":"\u4E00\u952E\u5B89\u88C5","details":"\u652F\u6301\u4E00\u952E\u811A\u672C\u5B89\u88C5\u9762\u677F\u548C\u76D1\u63A7\u670D\u52A1\uFF0C\u8F7B\u677E\u4F7F\u7528\uFF1BLinux\u3001WIndows\u3001MacOS\u3001OpenWRT\u7B49\u4E3B\u6D41\u7CFB\u7EDF\u5747\u53D7\u652F\u6301"},{"title":"\u968F\u65F6\u76D1\u63A7","details":"\u652F\u6301\u540C\u65F6\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\u7684\u7CFB\u7EDF\u72B6\u6001\uFF0C\u652F\u6301\u76D1\u63A7\u7F51\u9875\u3001\u7AEF\u53E3\u3001SSL\u8BC1\u4E66\u72B6\u6001\uFF1B\u652F\u6301\u6545\u969C\u3001\u6D41\u91CF\u7B49\u72B6\u6001\u62A5\u8B66\uFF0C\u652F\u6301\u591A\u79CD\u901A\u77E5\u65B9\u5F0F\uFF08Telegram\u3001\u90AE\u4EF6\u3001\u5FAE\u4FE1\u7B49\uFF09"},{"title":"\u8F7B\u91CF\u8FD0\u7EF4","details":"\u652F\u6301\u5728\u7EBFSSH\uFF0C\u652F\u6301\u6D41\u91CF\u5FAA\u73AF\u76D1\u63A7\uFF0C\u652F\u6301\u8BBE\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u3001\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"index.md"}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),i=[n];function c(d,l,h,p,_,m){return o(),r("div",null,i)}var g=a(s,[["render",c]]);export{f as __pageData,g as default};
|
||||
import{_ as a,c as r,o,a as e,b as t}from"./app.c59cf861.js";const f='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://raw.githubusercontent.com/naiba/nezha/master/resource/static/brand.svg","heroText":"\u54EA\u5412\u76D1\u63A7","tagline":"\u4E00\u4E2A\u5F00\u6E90\u3001\u8F7B\u91CF\u7684\u670D\u52A1\u5668\u548C\u7F51\u7AD9\u76D1\u63A7\u3001\u8FD0\u7EF4\u5DE5\u5177","actionText":"\u5F00\u59CB\u4F7F\u7528 \u2192","actionLink":"/guide/dashboard","features":[{"title":"\u4E00\u952E\u5B89\u88C5","details":"\u652F\u6301\u4E00\u952E\u811A\u672C\u5B89\u88C5\u9762\u677F\u548C\u76D1\u63A7\u670D\u52A1\uFF0C\u8F7B\u677E\u4F7F\u7528\uFF1BLinux\u3001WIndows\u3001MacOS\u3001OpenWRT\u7B49\u4E3B\u6D41\u7CFB\u7EDF\u5747\u53D7\u652F\u6301"},{"title":"\u968F\u65F6\u76D1\u63A7","details":"\u652F\u6301\u540C\u65F6\u76D1\u63A7\u591A\u4E2A\u670D\u52A1\u5668\u7684\u7CFB\u7EDF\u72B6\u6001\uFF0C\u652F\u6301\u76D1\u63A7\u7F51\u9875\u3001\u7AEF\u53E3\u3001SSL\u8BC1\u4E66\u72B6\u6001\uFF1B\u652F\u6301\u6545\u969C\u3001\u6D41\u91CF\u7B49\u72B6\u6001\u62A5\u8B66\uFF0C\u652F\u6301\u591A\u79CD\u901A\u77E5\u65B9\u5F0F\uFF08Telegram\u3001\u90AE\u4EF6\u3001\u5FAE\u4FE1\u7B49\uFF09"},{"title":"\u8F7B\u91CF\u8FD0\u7EF4","details":"\u652F\u6301\u5728\u7EBFSSH\uFF0C\u652F\u6301\u6D41\u91CF\u5FAA\u73AF\u76D1\u63A7\uFF0C\u652F\u6301\u8BBE\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u3001\u670D\u52A1\u5668\u6279\u91CF\u6267\u884C\u4EFB\u52A1"}],"footer":"Copyright \xA9 2022-present Nezhahq"},"headers":[],"relativePath":"index.md"}',s={},n=e("p",null,[e("br"),t("\u672C\u4F5C\u54C1\u91C7\u7528 "),e("a",{rel:"license",href:"http://creativecommons.org/licenses/by-nc-sa/4.0/"},"\u77E5\u8BC6\u5171\u4EAB\u7F72\u540D-\u975E\u5546\u4E1A\u6027\u4F7F\u7528-\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB 4.0 \u56FD\u9645\u8BB8\u53EF\u534F\u8BAE"),t(" \u8FDB\u884C\u8BB8\u53EF\u3002")],-1),i=[n];function c(d,l,h,p,_,m){return o(),r("div",null,i)}var g=a(s,[["render",c]]);export{f as __pageData,g as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -6,8 +6,8 @@
|
||||
<title>Install Agent using one-click script | Nezha Monitoring</title>
|
||||
<meta name="description" content="Nezha Monitoring is a lightweight O&M tool">
|
||||
<link rel="stylesheet" href="/assets/style.17a88c2e.css">
|
||||
<link rel="modulepreload" href="/assets/app.2c402e15.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_agent.md.076cfc62.lean.js">
|
||||
<link rel="modulepreload" href="/assets/app.c59cf861.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_agent.md.eb18d6fc.lean.js">
|
||||
|
||||
<meta name="twitter:title" content="Install Agent using one-click script | Nezha Monitoring">
|
||||
<meta property="og:title" content="Install Agent using one-click script | Nezha Monitoring">
|
||||
@ -36,8 +36,8 @@
|
||||
start
|
||||
<span class="token punctuation">}</span>
|
||||
</code></pre></div><ul><li>Give it permission to execute: <code>chmod +x /etc/init.d/nezha-service</code></li><li>Start the service <code>/etc/init.d/nezha-service enable && /etc/init.d/nezha-service start</code><br><br></li></ul><h2 id="customize-agent" tabindex="-1">Customize Agent <a class="header-anchor" href="#customize-agent" aria-hidden="true">#</a></h2><h4 id="customize-the-nic-and-hard-drive-partitions-to-be-monitored" tabindex="-1">Customize the NIC and hard drive partitions to be monitored <a class="header-anchor" href="#customize-the-nic-and-hard-drive-partitions-to-be-monitored" aria-hidden="true">#</a></h4><ul><li>Run <code>/opt/nezha/agent/nezha-agent --edit-agent-config</code> to select a custom NIC and partition, and then restart Agent</li></ul><h4 id="other-flags" tabindex="-1">Other Flags <a class="header-anchor" href="#other-flags" aria-hidden="true">#</a></h4><p>Run <code>./nezha-agent --help</code> to view supported flags,if you are already using the one-click script, you can edit <code>/etc/systemd/system/nezha-agent.service</code>,at the end of this line <code>ExecStart=</code> add:</p><ul><li><code>--report-delay</code> System information reporting interval, default is 1 second, can be set to 3 to reduce the system resource usage on the agent side (configuration range 1-4)</li><li><code>--skip-conn</code> Not monitoring the number of connections, if it is a server with a large number of connections, the CPU usage will be high. It is recommended to set this to reduce CPU usage</li><li><code>--skip-procs</code> Disable monitoring the number of processes can also reduce CPU and memory usage</li><li><code>--disable-auto-update</code> Disable <strong>Automatic Update</strong> Agent (security feature)</li><li><code>--disable-force-update</code> Disable <strong>Forced Update</strong> Agent (security feature)</li><li><code>--disable-command-execute</code> Disable execution of scheduled tasks, disallow WebShell (security feature)</li><li><code>--tls</code> Enable SSL/TLS encryption (If you are using nginx to reverse proxy Agent´s grpc connections, and if nginx has SSL/TLS enabled, you need to enable this configuration)</li></ul></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/agent.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><!----></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/en_US/guide/dashboard" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Install Dashboard</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/servers" data-v-38ede35f><span class="text" data-v-38ede35f>Servers</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"ee592849\",\"developer_l10n.md\":\"5bac23a7\",\"developer_theme.md\":\"0248c1c7\",\"en_us_developer_index.md\":\"b71cc532\",\"en_us_developer_l10n.md\":\"9753d10a\",\"en_us_developer_theme.md\":\"9b8e6231\",\"en_us_guide_agent.md\":\"076cfc62\",\"en_us_guide_agentq.md\":\"fc681108\",\"en_us_guide_api.md\":\"d2e082d0\",\"en_us_guide_dashboard.md\":\"1b96296b\",\"en_us_guide_dashboardq.md\":\"12f00603\",\"en_us_guide_loginq.md\":\"fccba1cc\",\"en_us_guide_notifications.md\":\"4edbd002\",\"en_us_guide_q2.md\":\"a230a9b9\",\"en_us_guide_q3.md\":\"8d0aa8e5\",\"en_us_guide_q4.md\":\"62e807a2\",\"en_us_guide_q5.md\":\"0a1d56d0\",\"en_us_guide_servers.md\":\"2fa6797d\",\"en_us_guide_services.md\":\"06fcb74e\",\"en_us_guide_settings.md\":\"252f768c\",\"en_us_guide_tasks.md\":\"5a8f357d\",\"en_us_index.md\":\"c8719a21\",\"guide_agent.md\":\"f81e9d13\",\"guide_agentq.md\":\"8f3e39d8\",\"guide_api.md\":\"00182bb5\",\"guide_dashboard.md\":\"ea45c425\",\"guide_dashboardq.md\":\"13446037\",\"guide_loginq.md\":\"d018cda9\",\"guide_notifications.md\":\"ac3a804b\",\"guide_q1.md\":\"60864821\",\"guide_q2.md\":\"9519d1ef\",\"guide_q3.md\":\"278a14da\",\"guide_q4.md\":\"49995c8a\",\"guide_q5.md\":\"ef18e2c9\",\"guide_servers.md\":\"f21f9777\",\"guide_services.md\":\"c286c180\",\"guide_settings.md\":\"978f81fd\",\"guide_tasks.md\":\"fac6c260\",\"index.md\":\"2c78f74e\"}")</script>
|
||||
<script type="module" async src="/assets/app.2c402e15.js"></script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"eb18d6fc\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"0119ec1c\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"91296351\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"234c8088\",\"guide_agentq.md\":\"bb3a20db\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"b8948c90\",\"guide_dashboardq.md\":\"3a907dbe\",\"guide_loginq.md\":\"f0ef566f\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"c386562b\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"1bec4c22\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
@ -6,8 +6,8 @@
|
||||
<title>Create Token | Nezha Monitoring</title>
|
||||
<meta name="description" content="Nezha Monitoring is a lightweight O&M tool">
|
||||
<link rel="stylesheet" href="/assets/style.17a88c2e.css">
|
||||
<link rel="modulepreload" href="/assets/app.2c402e15.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_api.md.d2e082d0.lean.js">
|
||||
<link rel="modulepreload" href="/assets/app.c59cf861.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_api.md.fde8c0a6.lean.js">
|
||||
|
||||
<meta name="twitter:title" content="Create Token | Nezha Monitoring">
|
||||
<meta property="og:title" content="Create Token | Nezha Monitoring">
|
||||
@ -126,8 +126,8 @@ Authorization: Token
|
||||
]
|
||||
}
|
||||
</code></pre></div></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/api.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><!----></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/en_US/guide/settings" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Settings</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/q2" data-v-38ede35f><span class="text" data-v-38ede35f>Let the Agent start/on-line, and the self-test process of the problem</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"ee592849\",\"developer_l10n.md\":\"5bac23a7\",\"developer_theme.md\":\"0248c1c7\",\"en_us_developer_index.md\":\"b71cc532\",\"en_us_developer_l10n.md\":\"9753d10a\",\"en_us_developer_theme.md\":\"9b8e6231\",\"en_us_guide_agent.md\":\"076cfc62\",\"en_us_guide_agentq.md\":\"fc681108\",\"en_us_guide_api.md\":\"d2e082d0\",\"en_us_guide_dashboard.md\":\"1b96296b\",\"en_us_guide_dashboardq.md\":\"12f00603\",\"en_us_guide_loginq.md\":\"fccba1cc\",\"en_us_guide_notifications.md\":\"4edbd002\",\"en_us_guide_q2.md\":\"a230a9b9\",\"en_us_guide_q3.md\":\"8d0aa8e5\",\"en_us_guide_q4.md\":\"62e807a2\",\"en_us_guide_q5.md\":\"0a1d56d0\",\"en_us_guide_servers.md\":\"2fa6797d\",\"en_us_guide_services.md\":\"06fcb74e\",\"en_us_guide_settings.md\":\"252f768c\",\"en_us_guide_tasks.md\":\"5a8f357d\",\"en_us_index.md\":\"c8719a21\",\"guide_agent.md\":\"f81e9d13\",\"guide_agentq.md\":\"8f3e39d8\",\"guide_api.md\":\"00182bb5\",\"guide_dashboard.md\":\"ea45c425\",\"guide_dashboardq.md\":\"13446037\",\"guide_loginq.md\":\"d018cda9\",\"guide_notifications.md\":\"ac3a804b\",\"guide_q1.md\":\"60864821\",\"guide_q2.md\":\"9519d1ef\",\"guide_q3.md\":\"278a14da\",\"guide_q4.md\":\"49995c8a\",\"guide_q5.md\":\"ef18e2c9\",\"guide_servers.md\":\"f21f9777\",\"guide_services.md\":\"c286c180\",\"guide_settings.md\":\"978f81fd\",\"guide_tasks.md\":\"fac6c260\",\"index.md\":\"2c78f74e\"}")</script>
|
||||
<script type="module" async src="/assets/app.2c402e15.js"></script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"eb18d6fc\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"0119ec1c\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"91296351\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"234c8088\",\"guide_agentq.md\":\"bb3a20db\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"b8948c90\",\"guide_dashboardq.md\":\"3a907dbe\",\"guide_loginq.md\":\"f0ef566f\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"c386562b\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"1bec4c22\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -6,8 +6,8 @@
|
||||
<title>Preparations | Nezha Monitoring</title>
|
||||
<meta name="description" content="Nezha Monitoring is a lightweight O&M tool">
|
||||
<link rel="stylesheet" href="/assets/style.17a88c2e.css">
|
||||
<link rel="modulepreload" href="/assets/app.2c402e15.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.1b96296b.lean.js">
|
||||
<link rel="modulepreload" href="/assets/app.c59cf861.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.0119ec1c.lean.js">
|
||||
|
||||
<meta name="twitter:title" content="Preparations | Nezha Monitoring">
|
||||
<meta property="og:title" content="Preparations | Nezha Monitoring">
|
||||
@ -36,8 +36,8 @@ proxy /terminal/* http://ip:8008 {
|
||||
websocket
|
||||
}
|
||||
</code></pre></div></li></ul><br><br><h2 id="configuring-ssl-in-the-aapanel" tabindex="-1">Configuring SSL in the aaPanel <a class="header-anchor" href="#configuring-ssl-in-the-aapanel" aria-hidden="true">#</a></h2><p>First, temporarily disable the reverse proxy<br> As with other websites, you can choose to automatically apply for a Let´s Encrypt certificate or manually configure an existing certificate by going to "SSL" in the site settings<br> After you finish setting up SSL, you need to go back to <a href="https://github.com/settings/developers" target="_blank" rel="noopener noreferrer">https://github.com/settings/developers</a> and edit the authentication application you created before, change all the domain names in the "Homepage URL" and "Authorization callback URL" you filled in before from <code>http</code> to <code>https</code>, such as: "<a href="https://cdn.example.com" target="_blank" rel="noopener noreferrer">https://cdn.example.com</a>" and "<a href="https://cdn.example.com/oauth2/callback" target="_blank" rel="noopener noreferrer">https://cdn.example.com/oauth2/callback</a>", <strong>If you don't change these links, you may not be able to log into the admin panel</strong></p></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/dashboard.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><!----></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><!----></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/agent" data-v-38ede35f><span class="text" data-v-38ede35f>Install Agent</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"ee592849\",\"developer_l10n.md\":\"5bac23a7\",\"developer_theme.md\":\"0248c1c7\",\"en_us_developer_index.md\":\"b71cc532\",\"en_us_developer_l10n.md\":\"9753d10a\",\"en_us_developer_theme.md\":\"9b8e6231\",\"en_us_guide_agent.md\":\"076cfc62\",\"en_us_guide_agentq.md\":\"fc681108\",\"en_us_guide_api.md\":\"d2e082d0\",\"en_us_guide_dashboard.md\":\"1b96296b\",\"en_us_guide_dashboardq.md\":\"12f00603\",\"en_us_guide_loginq.md\":\"fccba1cc\",\"en_us_guide_notifications.md\":\"4edbd002\",\"en_us_guide_q2.md\":\"a230a9b9\",\"en_us_guide_q3.md\":\"8d0aa8e5\",\"en_us_guide_q4.md\":\"62e807a2\",\"en_us_guide_q5.md\":\"0a1d56d0\",\"en_us_guide_servers.md\":\"2fa6797d\",\"en_us_guide_services.md\":\"06fcb74e\",\"en_us_guide_settings.md\":\"252f768c\",\"en_us_guide_tasks.md\":\"5a8f357d\",\"en_us_index.md\":\"c8719a21\",\"guide_agent.md\":\"f81e9d13\",\"guide_agentq.md\":\"8f3e39d8\",\"guide_api.md\":\"00182bb5\",\"guide_dashboard.md\":\"ea45c425\",\"guide_dashboardq.md\":\"13446037\",\"guide_loginq.md\":\"d018cda9\",\"guide_notifications.md\":\"ac3a804b\",\"guide_q1.md\":\"60864821\",\"guide_q2.md\":\"9519d1ef\",\"guide_q3.md\":\"278a14da\",\"guide_q4.md\":\"49995c8a\",\"guide_q5.md\":\"ef18e2c9\",\"guide_servers.md\":\"f21f9777\",\"guide_services.md\":\"c286c180\",\"guide_settings.md\":\"978f81fd\",\"guide_tasks.md\":\"fac6c260\",\"index.md\":\"2c78f74e\"}")</script>
|
||||
<script type="module" async src="/assets/app.2c402e15.js"></script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"eb18d6fc\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"0119ec1c\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"91296351\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"234c8088\",\"guide_agentq.md\":\"bb3a20db\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"b8948c90\",\"guide_dashboardq.md\":\"3a907dbe\",\"guide_loginq.md\":\"f0ef566f\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"c386562b\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"1bec4c22\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -6,8 +6,8 @@
|
||||
<title>Reverse Proxy gRPC Port (support Cloudflare CDN) | Nezha Monitoring</title>
|
||||
<meta name="description" content="Nezha Monitoring is a lightweight O&M tool">
|
||||
<link rel="stylesheet" href="/assets/style.17a88c2e.css">
|
||||
<link rel="modulepreload" href="/assets/app.2c402e15.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.8d0aa8e5.lean.js">
|
||||
<link rel="modulepreload" href="/assets/app.c59cf861.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.37e5f372.lean.js">
|
||||
|
||||
<meta name="twitter:title" content="Reverse Proxy gRPC Port (support Cloudflare CDN) | Nezha Monitoring">
|
||||
<meta property="og:title" content="Reverse Proxy gRPC Port (support Cloudflare CDN) | Nezha Monitoring">
|
||||
@ -38,8 +38,8 @@
|
||||
}
|
||||
}
|
||||
</code></pre></div><p>Dashboard Configuration</p><ul><li>First login to the Dashboard and enter the admin panel, go to the settings page, fill in the <code>CDN Bypassed Domain/IP</code> with the domain name you configured in Nginx or Caddy, for example <code>data.example.com</code>, and save it.</li><li>Then open the <code>/opt/nezha/dashboard/data/config.yaml</code> file in the panel server and change <code>proxygrpcport</code> to the port that Nginx or Caddy is listening on, such as <code>443</code> as set in the previous step. Since we have SSL/TLS enabled in Nginx or Caddy, we need to set <code>tls</code> to <code>true</code>, restart the panel when you are done.</li></ul><p>Agent Configuration</p><ul><li>Log in to the admin panel, copy the one-click install command, and run the one-click install command on the corresponding server to reinstall the agent.</li></ul><p>Enable Cloudflare CDN (optional)</p><p>According to Cloudflare gRPC requirements: gRPC services must listen on port 443 and must support TLS and HTTP/2. So if you need to enable CDN, you must use port 443 when configuring Nginx or Caddy reverse proxy gRPC and configure the certificate (Caddy will automatically apply and configure the certificate).</p><ul><li>Log in to Cloudflare and select the domain you are using. Go to the <code>Network</code> page and turn on the <code>gRPC</code> switch, then go to the <code>DNS</code> page, find the resolution record of the domain with gRPC configuration, and turn on the orange cloud icon to enable CDN.</li></ul></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/q3.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><!----></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><a class="link" href="/en_US/guide/q2" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Let the Agent start/on-line, and the self-test process of the problem</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/q4" data-v-38ede35f><span class="text" data-v-38ede35f>Real-time channel disconnection/online terminal connection failure</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"ee592849\",\"developer_l10n.md\":\"5bac23a7\",\"developer_theme.md\":\"0248c1c7\",\"en_us_developer_index.md\":\"b71cc532\",\"en_us_developer_l10n.md\":\"9753d10a\",\"en_us_developer_theme.md\":\"9b8e6231\",\"en_us_guide_agent.md\":\"076cfc62\",\"en_us_guide_agentq.md\":\"fc681108\",\"en_us_guide_api.md\":\"d2e082d0\",\"en_us_guide_dashboard.md\":\"1b96296b\",\"en_us_guide_dashboardq.md\":\"12f00603\",\"en_us_guide_loginq.md\":\"fccba1cc\",\"en_us_guide_notifications.md\":\"4edbd002\",\"en_us_guide_q2.md\":\"a230a9b9\",\"en_us_guide_q3.md\":\"8d0aa8e5\",\"en_us_guide_q4.md\":\"62e807a2\",\"en_us_guide_q5.md\":\"0a1d56d0\",\"en_us_guide_servers.md\":\"2fa6797d\",\"en_us_guide_services.md\":\"06fcb74e\",\"en_us_guide_settings.md\":\"252f768c\",\"en_us_guide_tasks.md\":\"5a8f357d\",\"en_us_index.md\":\"c8719a21\",\"guide_agent.md\":\"f81e9d13\",\"guide_agentq.md\":\"8f3e39d8\",\"guide_api.md\":\"00182bb5\",\"guide_dashboard.md\":\"ea45c425\",\"guide_dashboardq.md\":\"13446037\",\"guide_loginq.md\":\"d018cda9\",\"guide_notifications.md\":\"ac3a804b\",\"guide_q1.md\":\"60864821\",\"guide_q2.md\":\"9519d1ef\",\"guide_q3.md\":\"278a14da\",\"guide_q4.md\":\"49995c8a\",\"guide_q5.md\":\"ef18e2c9\",\"guide_servers.md\":\"f21f9777\",\"guide_services.md\":\"c286c180\",\"guide_settings.md\":\"978f81fd\",\"guide_tasks.md\":\"fac6c260\",\"index.md\":\"2c78f74e\"}")</script>
|
||||
<script type="module" async src="/assets/app.2c402e15.js"></script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"eb18d6fc\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"0119ec1c\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"91296351\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"234c8088\",\"guide_agentq.md\":\"bb3a20db\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"b8948c90\",\"guide_dashboardq.md\":\"3a907dbe\",\"guide_loginq.md\":\"f0ef566f\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"c386562b\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"1bec4c22\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user