nezhahq.github.io/assets/guide_servers.md.ebf7ea6c.js

2 lines
3.0 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,o as a,c as t,R as r}from"./chunks/framework.44fd0451.js";const p=JSON.parse('{"title":"主机","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"guide/servers.md","filePath":"guide/servers.md","lastUpdated":1701657270000}'),o={name:"guide/servers.md"},n=r('<h1 id="主机" tabindex="-1">主机 <a class="header-anchor" href="#主机" aria-label="Permalink to &quot;主机&quot;"></a></h1><h2 id="介绍" tabindex="-1">介绍 <a class="header-anchor" href="#介绍" aria-label="Permalink to &quot;介绍&quot;"></a></h2><p>主机区域负责管理Agent是哪吒探针中最基础的区域也是其他功能的基础。</p><h2 id="添加服务器" tabindex="-1">添加服务器 <a class="header-anchor" href="#添加服务器" aria-label="Permalink to &quot;添加服务器&quot;"></a></h2><p>第一步是添加主机,可以自定义名称、分组、排序和备注。<br> 拥有相同分组的主机会在受支持的主题中划分到一起进行显示,备注仅会在后台显示,无需担心泄露信息。</p><h2 id="安装agent" tabindex="-1">安装Agent <a class="header-anchor" href="#安装agent" aria-label="Permalink to &quot;安装Agent&quot;"></a></h2><p>请参考前文<a href="/guide/agent.html">安装Agent</a><br> 推荐使用一键安装,即<strong>配置好参数后</strong>,点击主机<strong>一键安装</strong>列上的按钮,复制到相应主机进行安装。</p><h2 id="强制更新" tabindex="-1">强制更新 <a class="header-anchor" href="#强制更新" aria-label="Permalink to &quot;强制更新&quot;"></a></h2><p>Agent更新相关的参数是 <a href="/guide/agent.html#自定义agent监控项目">自定义agent监控项目</a> 中的 <code>--disable-auto-update</code> 和 <code>--disable-force-update</code>。<br> 默认情况下Agent会自动更新无需干预。但当用户关闭自动更新后也可以选中指定主机进行强制更新。<br> disable-force-update开启时此功能不生效。</p><h2 id="数据列" tabindex="-1">数据列 <a class="header-anchor" href="#数据列" aria-label="Permalink to &quot;数据列&quot;"></a></h2><ul><li>版本号: 记录Agent当前版本</li><li>密钥: 即secret\\key配置Agent时会用到</li><li>一键安装: 较为便捷的Agent安装方式</li><li>管理: 左为WebShell中为编辑右为删除</li></ul><h2 id="在线终端" tabindex="-1">在线终端 <a class="header-anchor" href="#在线终端" aria-label="Permalink to &quot;在线终端&quot;"></a></h2><p>即WebShell<code>disable-command-execute </code>开启时此功能不生效。<br> Linux和Windows均可用可使用Ctrl+Shift+V粘贴。<br> 连接失败请参考<a href="/guide/q4.html">实时通道断开/在线终端连接失败</a>。<br> 注意在线终端功能中Agent也是通过WebSocket连接到<strong>公开访问域名</strong>而非通过grpc交互。</p>',13),i=[n];function l(d,s,h,c,u,g){return a(),t("div",null,i)}const _=e(o,[["render",l]]);export{p as __pageData,_ as default};