doc-exports/docs/ces/umn/ces_01_0036.html
qiujiandong1 eb9f8a2617 CES UMN -20240202 version
Reviewed-by: Rumpler, Mihály <mihaly.rumpler@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2024-11-08 11:28:13 +00:00

33 lines
3.6 KiB
HTML

<a name="ces_01_0036"></a><a name="ces_01_0036"></a>
<h1 class="topictitle1">Managing the Agent (Linux)</h1>
<div id="body8662426"><div class="note" id="ces_01_0036__note439115458132"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ces_01_0036__p14391114514136">To view, start, stop, update, and uninstall the Agent, you must log in as user <strong id="ces_01_0036__b84235270620318">root</strong>.</p>
</div></div>
<div class="section" id="ces_01_0036__section1039144581313"><h4 class="sectiontitle">Checking the Agent Status</h4><p id="ces_01_0036__p1391144591311">Log in to an ECS or BMS as user <strong id="ces_01_0036__b415522955818">root</strong> and run the following command to check the Agent status:</p>
<p id="ces_01_0036__p939164531312"><strong id="ces_01_0036__b639134561314">service telescoped status</strong></p>
<p id="ces_01_0036__p1391045141312">The following message indicates that the Agent is running properly:</p>
<pre class="screen" id="ces_01_0036__screen73911645191310">"Active (running) or "Telescope process is running well."</pre>
</div>
<div class="section" id="ces_01_0036__en-us_topic_0078544026_section9205013194254"><h4 class="sectiontitle">Starting the Agent</h4><p id="ces_01_0036__en-us_topic_0078544026_p8574403184828"><strong id="ces_01_0036__en-us_topic_0078544026_b10060764184828">/usr/local/telescope/telescoped start</strong></p>
</div>
<div class="section" id="ces_01_0036__en-us_topic_0078544026_section1592065167"><h4 class="sectiontitle">Restarting the Agent</h4><p id="ces_01_0036__en-us_topic_0078544026_p189219611168"><strong id="ces_01_0036__en-us_topic_0078544026_b129320613167">/usr/local/telescope/telescoped restart</strong></p>
</div>
<div class="section" id="ces_01_0036__section14225331476"><h4 class="sectiontitle">Stopping the Agent</h4><p id="ces_01_0036__p4225331571">Log in to an ECS or BMS and run the following command to stop the Agent:</p>
<p id="ces_01_0036__p162218336720"><strong id="ces_01_0036__b162212331673">service telescoped stop</strong></p>
<div class="note" id="ces_01_0036__note18221933273"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="ces_01_0036__p122633775">If the Agent installation fails, it may be impossible to stop the Agent. In this case, run the following command to stop the Agent:</p>
<p id="ces_01_0036__p1522833579"><strong id="ces_01_0036__b6229335712">/usr/local/telescope/telescoped stop</strong></p>
</div></div>
</div>
<div class="section" id="ces_01_0036__section828002816109"><h4 class="sectiontitle">Uninstalling the Agent</h4><p id="ces_01_0036__p528062816103">Run the following command to uninstall the Agent:</p>
<p id="ces_01_0036__en-us_topic_0078544026_p36720497185052"><strong id="ces_01_0036__en-us_topic_0078544026_b62049020185052">/usr/local/telescope/uninstall.sh</strong></p>
<div class="notice" id="ces_01_0036__note22801228161016"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="ces_01_0036__p1728022814108">You can manually uninstall the Agent. After the uninstallation, Cloud Eye does not collect the ECS or BMS monitoring data every one minute. To use the Agent again, reinstall it by referring to <a href="ces_01_0004.html">Installing and Configuring the Agent on a Linux ECS or BMS</a>. Before reinstalling the Agent, manually delete the previous Agent installation package.</p>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ces_01_0035.html">Managing the Agent</a></div>
</div>
</div>