步骤一:安装Agent
<p class="shortdesc">本文以Linux服务器为例,介绍系统如何通过Agent对资产进行性能监控、收集资产上的文本型日志和数据库表数据。其中,安全日志审计的IP地址为192.168.31.75,Linux服务器资产的IP地址为192.168.31.111。</p>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">请提交<a class="xref" href="https://www.ocftcloud.com/console/workorder/create" target="_blank" rel="external noopener">工单</a>联系技术人员获取Agent安装文件LINUX-AGENT。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">将LINUX-AGENT安装包上传到Linux服务器上,然后解压到任意英文目录下,解压后获得一个名为<strong class="ph b">socAgent_linux_x86_64</strong>的目录,该目录下有如下图所示文件。</span>
<div class="itemgroup info">
<img class="image" id="inSatallAgent__image_yn5_hjn_prb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222803112057-1cbae7db9b51.png">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">在bin目录下执行chmod 755 * 命令赋予执行权限后,执行sh
install.sh命令,将linuxAgent注册成系统服务并在后台运行。</span>
<div class="itemgroup info">
<img class="image" id="inSatallAgent__image_yrc_fs3_hsb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222803112057-14fee75f9786.png">
</div>
</li></ol></section>
<section class="section postreq" id="inSatallAgent__postreq_xjf_4t5_ssb"><div class="tasklabel"><h2 class="doc-tairway">后续操作</h2></div>
<p class="p">Agent安装成功后,您需要继续完成以下步骤:</p>
<ul class="ul" id="inSatallAgent__ul_nm4_4t5_ssb">
<li class="li"><a class="xref" href="https://www.ocftcloud.com/ssr/help/security/LogAudit/quickstart.addAsset.LinuxDevice.config" target="_blank" rel="external noopener">步骤二:修改配置文件</a></li>
<li class="li"><a class="xref" href="https://www.ocftcloud.com/ssr/help/security/LogAudit/quickstart.addAsset.LinuxDevice.addLinux" target="_blank" rel="external noopener">步骤三:将Linux服务器添加为资产</a></li>
<li class="li"><a class="xref" href="https://www.ocftcloud.com/ssr/help/security/LogAudit/quickstart.addAsset.LinuxDevice.result" target="_blank" rel="external noopener">步骤四:验证资产是否添加成功</a></li>
</ul>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!