This commit is contained in:
hhhkkk520 committed 2022-05-20 17:15:23 +00:00
1 parent 0209708b03
commit 827f253854
54 files changed
+65 -65

No files matched your search

@@ -0,0 +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('<p>Nezha Monitoring supports monitoring of server load, CPU, memory, hard disk, bandwidth, data transfer, monthly data transfer, number of processes, number of connections, and sends alarm notifications when one of these items reaches a user-set limit.<br><br><br></p><h2 id="flexible-notification-methods" tabindex="-1">Flexible notification methods <a class="header-anchor" href="#flexible-notification-methods" aria-hidden="true">#</a></h2><p><code>#NEZHA#</code> is the panel message placeholder, the panel will automatically replace the placeholder with the actual message when it triggers the notification</p><p>The content of Body is in <code>JSON</code> format\uFF1A<strong>When the request type is FORM</strong>\uFF0Cthe value is in the form of <code>key:value</code>\uFF0C<code>value</code> can contain placeholders that will be automatically replaced when notified. <strong>When the request type is JSON</strong> It will only do string substitution and submit to the <code>URL</code> directly.</p><p>Placeholders can also be placed inside the URL, and it will perform a simple string substitution when requested.</p><p>Refer to the example below, it is very flexible.</p><ul><li><p>Telegram Example, contributed by <a href="https://github.com/haitau" target="_blank" rel="noopener noreferrer">@haitau</a></p><ul><li>Name\uFF1ATelegram Robot message notification</li><li>URL\uFF1A<a href="https://api.telegram.org/botXXXXXX/sendMessage?chat_id=YYYYYY&amp;text=#NEZHA#" target="_blank" rel="noopener noreferrer">https://api.telegram.org/botXXXXXX/sendMessage?chat_id=YYYYYY&amp;text=#NEZHA#</a></li><li>Request method: GET</li><li>Request type: default</li><li>Body: null</li><li>URL Parameter acquisition instructions\uFF1AThe XXXXXX in botXXXXXX is the token provided when you follow the official @Botfather in Telegram and enter /newbot to create a new bot. (In the line after <em>Use this token to access the HTTP API</em>). The &#39;bot&#39; are essential. After creating a bot, you need to talk to the BOT in Telegram (send a random message) before you can send a message by using API. YYYYYY is Telegram user&#39;s ID, you can get it by talking to the bot @userinfobot.</li></ul></li></ul><br><br><h2 id="description-of-notification-rules" tabindex="-1">Description of notification rules <a class="header-anchor" href="#description-of-notification-rules" aria-hidden="true">#</a></h2><h3 id="basic-rules" tabindex="-1">Basic Rules <a class="header-anchor" href="#basic-rules" aria-hidden="true">#</a></h3><ul><li>Type: one or more types can be selected, such as in a rule to select more than one type, you need to <strong>meet all the selected types at the same time</strong> to trigger the notification (see the example later) <ul><li><code>cpu</code>\u3001<code>memory</code>\u3001<code>swap</code>\u3001<code>disk</code></li><li><code>net_in_speed</code> Inbound speed, <code>net_out_speed</code> Outbound speed, <code>net_all_speed</code> Inbound + Outbound speed, <code>transfer_in</code> Inbound Transfer, <code>transfer_out</code> Outbound Transfer, <code>transfer_all</code> Total Transfer</li><li><code>offline</code> Offline monitoring</li><li><code>load1</code>\u3001<code>load5</code>\u3001<code>load15</code> Load</li><li><code>process_count</code> Number of processes <em>Currently, counting the number of processes takes up too many resources and is not supported at the moment</em></li><li><code>tcp_conn_count</code>\u3001<code>udp_conn_count</code> Number of connections</li></ul></li><li>duration\uFF1ALasting for a few seconds, the notification will only be triggered when the sampling record reaches 30% or more within a few seconds</li><li>min/max <ul><li>Transfer, network speed, and other values of the same type. Unit is byte (1KB=1024B\uFF0C1MB = 1024*1024B)</li><li>Memory, hard disk, CPU. units are usage percentages</li><li>No setup required for offline monitoring</li></ul></li><li>cover <code>[{&quot;type&quot;:&quot;offline&quot;,&quot;duration&quot;:10, &quot;cover&quot;:0, &quot;ignore&quot;:{&quot;5&quot;: true}}]</code><ul><li><code>0</code> Cover all, use <code>ignore</code> to ignore specific servers</li><li><code>1</code> Ignore all, use <code>ignore</code> to monitoring specific servers<br> For example: <code>[{&quot;type&quot;:&quot;offline&quot;,&quot;duration&quot;:10, &quot;cover&quot;:0, &quot;ignore&quot;:{&quot;5&quot;: true}}]</code></li></ul></li><li>ignoLine truncated
@@ -0,0 +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};
@@ -1 +0,0 @@
import{_ as t,c as e,o,a}from"./app.2c402e15.js";const m='{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/notifications.md"}',n={},s=a("p",null,"notifications",-1),i=[s];function c(r,_,d,p,f,l){return o(),e("div",null,i)}var h=t(n,[["render",c]]);export{m as __pageData,h as default};
@@ -1 +0,0 @@
import{_ as t,c as e,o,a}from"./app.2c402e15.js";const m='{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/notifications.md"}',n={},s=a("p",null,"notifications",-1),i=[s];function c(r,_,d,p,f,l){return o(),e("div",null,i)}var h=t(n,[["render",c]]);export{m as __pageData,h as default};
@@ -0,0 +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};
@@ -0,0 +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};
@@ -1 +0,0 @@
import{_ as e,c as t,o as s,a as r}from"./app.2c402e15.js";const m='{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/servers.md"}',a={},o=r("p",null,"servers",-1),n=[o];function c(_,d,i,p,l,f){return s(),t("div",null,n)}var v=e(a,[["render",c]]);export{m as __pageData,v as default};
@@ -1 +0,0 @@
import{_ as e,c as t,o as s,a as r}from"./app.2c402e15.js";const m='{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/servers.md"}',a={},o=r("p",null,"servers",-1),n=[o];function c(_,d,i,p,l,f){return s(),t("div",null,n)}var v=e(a,[["render",c]]);export{m as __pageData,v as default};
@@ -0,0 +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 &quot;Services&quot; 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 &quot;Services&quot; page in the administration panel and click &quot;Add Service Monitor&quot;.</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: &quot;HTTP-GET&quot;, &quot;ICMP-Ping&quot; and &quot;TCP-Ping&quot;.</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 &quot;Notification&quot; 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 &quot;Add&quot; and you are done.<br> Wait for a moment to go to the &quot;Services&quot; 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 &quot;Services&quot; 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};
@@ -0,0 +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};
@@ -1 +0,0 @@
import{_ as e,c as t,o as s,a}from"./app.2c402e15.js";const m='{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/services.md"}',r={},o=a("p",null,"services",-1),c=[o];function n(_,i,d,p,l,f){return s(),t("div",null,c)}var v=e(r,[["render",n]]);export{m as __pageData,v as default};
@@ -1 +0,0 @@
import{_ as e,c as t,o as s,a}from"./app.2c402e15.js";const m='{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"en_US/guide/services.md"}',r={},o=a("p",null,"services",-1),c=[o];function n(_,i,d,p,l,f){return s(),t("div",null,c)}var v=e(r,[["render",n]]);export{m as __pageData,v 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"}',i={},n=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>\u5F3A\u5236\u66F4\u65B0\u5BF9\u5E94\u7684\u662F<a href="/guide/agent.html#\u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE">\u81EA\u5B9A\u4E49agent\u76D1\u63A7\u9879\u76EE</a>\u4E2D\u7684--disable-auto-update\u548C--disable-force-update\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\uFF0Cdisable-command-execute\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>\u7528\u6237\u4F7F\u7528\u57DF\u540D</strong>\uFF0C\u800C\u975E\u901A\u8FC7grpc\u4EA4\u4E92\u3002</p>',13),l=[n];function d(h,s,o,c,g,u){return t(),a("div",null,l)}var b=e(i,[["render",d]]);export{p as __pageData,b as default};
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};
@@ -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"}',i={},n=r("",13),l=[n];function d(h,s,o,c,g,u){return t(),a("div",null,l)}var b=e(i,[["render",d]]);export{p as __pageData,b as default};
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};