2 lines
3.0 KiB
JavaScript
2 lines
3.0 KiB
JavaScript
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":1698335020000}'),o={name:"guide/servers.md"},n=r('<h1 id="主机" tabindex="-1">主机 <a class="header-anchor" href="#主机" aria-label="Permalink to "主机""></a></h1><h2 id="介绍" tabindex="-1">介绍 <a class="header-anchor" href="#介绍" aria-label="Permalink to "介绍""></a></h2><p>主机区域负责管理Agent,是哪吒探针中最基础的区域,也是其他功能的基础。</p><h2 id="添加服务器" tabindex="-1">添加服务器 <a class="header-anchor" href="#添加服务器" aria-label="Permalink to "添加服务器""></a></h2><p>第一步是添加主机,可以自定义名称、分组、排序和备注。<br> 拥有相同分组的主机会在受支持的主题中划分到一起进行显示,备注仅会在后台显示,无需担心泄露信息。</p><h2 id="安装agent" tabindex="-1">安装Agent <a class="header-anchor" href="#安装agent" aria-label="Permalink to "安装Agent""></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 "强制更新""></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 "数据列""></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 "在线终端""></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};
|