Agent Installation and Use

<p class="shortdesc">Public Host Monitoring service operates data capturing and resource monitoring through installing Agent on the host to monitor.</p> <section class="section" id="userguaid__section_tyc_ngg_4jb"><h2 class="doc-tairway">Step 1: Obtain installation command</h2> <ol class="ol" id="userguaid__ol_shf_zms_njb"> <li class="li">Log in to the <a class="xref" href="https://pinganyun.com/console/argus/overview" target="_blank">Argus Console</a>.</li> <li class="li">In the left-side navigation pane, click <span class="ph uicontrol">Public Host Monitoring</span>.</li> <li class="li">On the <span class="keyword wintitle">Public Host Monitoring</span> page, in the upper-right corner, select <span class="ph uicontrol">Host Access</span>.</li> <li class="li">Select your operating system on the <span class="keyword wintitle">Host Access</span> page, and obtain the corresponding installation command.<img class="image" id="userguaid__image_rvt_q4s_njb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201507091432-1cbd60a69e85.png"><table class="table frame-all" id="userguaid__table_vrv_3kg_4jb"><caption></caption><colgroup><col style="width:43.66812227074236%"><col style="width:56.33187772925764%"></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="userguaid__table_vrv_3kg_4jb__entry__1">Parameter</th> <th class="entry" id="userguaid__table_vrv_3kg_4jb__entry__2">Description</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="userguaid__table_vrv_3kg_4jb__entry__1 "> <p class="p">APP_ID</p> </td> <td class="entry" headers="userguaid__table_vrv_3kg_4jb__entry__2 "> <p class="p">When you open host monitoring, the system background will register the tenant automatically, and you can directly use the APP_ID filled in installation command.</p> </td> </tr> <tr class="row"> <td class="entry" headers="userguaid__table_vrv_3kg_4jb__entry__1 "> <p class="p">ARGUS_AGENT_ACCESSKEYID</p> </td> <td class="entry" headers="userguaid__table_vrv_3kg_4jb__entry__2 "> <p class="p">The tenant AK is used for permission authorization of data reporting, which replaces the “$AK” character string in installation command after obtaining.</p> </td> </tr> <tr class="row"> <td class="entry" headers="userguaid__table_vrv_3kg_4jb__entry__1 "> <p class="p">ARGUS_AGENT_ACCESSKEYSECRET</p> </td> <td class="entry" headers="userguaid__table_vrv_3kg_4jb__entry__2 "> <p class="p">The tenant SK is used for permission authorization of data reporting, which replaces the “$SK” character string in installation command after obtaining.</p> </td> </tr> <tr class="row"> <td class="entry" headers="userguaid__table_vrv_3kg_4jb__entry__1 "> <p class="p">VERSION</p> </td> <td class="entry" headers="userguaid__table_vrv_3kg_4jb__entry__2 "> <p class="p">You do not need to change the latest released version of the current Agent, and you can use the version number filled in the installation command.</p> </td> </tr> </tbody></table><div class="note note note_note"><span class="note__title">Note:</span> Installation command will be downloaded through external address and then be executed. During the installation, the host needs to connect to the Internet, and the current user should have sudo permission.</div></li> <li class="li">Click <span class="ph uicontrol">To Create</span> below installation command to obtain tenant AK (ArGUS_AGENT_ACCESSKEYID) and tenant SK (ARGUS_AGENT_ACCESSKEYSECRET).<div class="note note note_note"><span class="note__title">Note:</span> You can also click the drop-down menu next to the user’s name in the upper-right corner of the Argus console and select <span class="ph uicontrol">Access Key Information</span> to enter <span class="ph uicontrol">Account Center</span>, then select <span class="ph uicontrol">Access Key</span> to obtain AK and SK information.</div></li> </ol> </section> <section class="section" id="userguaid__section_clw_vgg_4jb"><h2 class="doc-tairway">Step 2: Obtain installation command</h2> <p class="p">Log in to the host which is needed to be monitored, then replace “$AK” and “$SK” with the access keys of the current account. Then paste and execute the operation command in the host Shell to install Agent.</p> </section> <section class="section" id="userguaid__section_rcw_wgg_4jb"><h2 class="doc-tairway">Step 3: Start service</h2> <p class="p">After the installation of Agent, the service will automatically start, and will be added into start-up programs. The service name is <strong class="ph b">argus-monitor</strong>, and the service will run under designated user with the username "<strong class="ph b">pacloud</strong>". If the user does not exist, the system will automatically create one. </p> <div class="note note note_note"><span class="note__title">Note:</span> <ul class="ul" id="userguaid__ul_oth_fqs_njb"> <li class="li">The default installation directory of Agent is /home/pacloud/argus/monitor, and custom installation directory is not supported currently.</li> <li class="li"> The storage position of Agent log is /home/pacloud/argus/common/agent-config.yml. This file marks the information of a customer host, and updating or reinstalling Agent will not delete or modify this file. If the user deletes the file manually, the user must execute the installation command again to report the monitoring data.</li> </ul> </div> </section>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products