Quickly Create and Execute Health Inspection Tasks
<p class="shortdesc">Through quickly executing (health inspection tasks), you can quickly create and execute health inspection tasks in batch on multiple hosts.</p>
<section class="section context" id="healthinspection__context_rdc_nzz_bkb"><div class="tasklabel"><h2 class="doc-tairway">About this task</h2></div>
<p class="p">The health inspection involves a series of host operating system-related inspection items provided by OSP. It helps you know about the status of the operating system and discover hidden risks in advance. </p>
<p class="p">There are different inspection templates corresponding to the operating systems. You can select different templates to complete corresponding inspection tasks based on your actual needs. </p>
</section>
<section id="healthinspection__steps_pyp_13l_bkb"><div class="tasklabel"><h2 class="doc-tairway">Procedure</h2></div><ol class="ol steps" id="healthinspection__steps_pyp_13l_bkb"><li class="li step stepexpand">
<span class="ph cmd">Log in to the <a class="xref" href="https://pinganyun.com/console/osp" target="_blank">Operation System Platform Console</a>.</span>
</li><li class="li step stepexpand">
<span class="ph cmd">In the left navigation pane, click <span class="ph menucascade"><span class="ph uicontrol">Job Management </span><abbr title="and then"> > </abbr><span class="ph uicontrol">Fast Execute</span></span>.</span>
</li><li class="li step stepexpand">
<span class="ph cmd">On the <span class="keyword wintitle">Fast Execution</span> page, select <span class="ph uicontrol">Health Inspection</span> as the <span class="ph uicontrol">Task Type</span>.</span>
<div class="itemgroup info">
<img class="image" id="healthinspection__image_v2d_d3l_bkb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174752-16f24c699b47.png">
</div>
</li><li class="li step stepexpand" id="healthinspection__step_a2m_5zz_bkb">
<span class="ph cmd">After that, you need to complete the following configuration.</span>
<div class="itemgroup info">
<img class="image" id="healthinspection__image_rkm_23l_bkb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174752-15cccdb7999b.png">
<table class="table frame-all" id="healthinspection__table_gjj_zdl_bkb"><caption></caption><colgroup><col style="width:34.01360544217687%"><col style="width:65.98639455782312%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="healthinspection__table_gjj_zdl_bkb__entry__1">Configuration Item</th>
<th class="entry" id="healthinspection__table_gjj_zdl_bkb__entry__2">Description</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Task Name</span></p>
</td>
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__2 ">
<p class="p">About the health inspection task name. </p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Task Description</span></p>
</td>
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__2 ">
<p class="p">About the health inspection task description.</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Inspection template </span></p>
</td>
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__2 ">
<p class="p">Click the drop-down arrow to select the inspection template according to your operating system. </p>
<p class="p">After that, click <span class="ph uicontrol">Template Detail</span>, and you can view the details of the template. </p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Target host</span></p>
</td>
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__2 ">
<ul class="ul" id="healthinspection__ul_ztn_rgl_bkb">
<li class="li">
<p class="p"><strong class="ph b">Method One: Select Host</strong></p>
<p class="p">Click <span class="ph uicontrol">+Select host</span>. On
the <span class="keyword wintitle">Select host</span> page that
opens, tick one or more hosts, and then click
<span class="ph uicontrol">Select</span>.</p>
<img class="image" id="healthinspection__d24e196" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174751-14a9185093a4.png" width="500">
</li>
<li class="li">
<p class="p"><strong class="ph b">Method Two: Import Host</strong></p>
<p class="p">Click <span class="ph uicontrol">Fast Import</span>. In the <span class="ph uicontrol">Host List</span> field, enter host names or IP addresses, and then click <span class="ph uicontrol">Host match</span>. If the matches succeed, click <span class="ph uicontrol">Confirm</span>.</p>
<div class="note note note_note"><span class="note__title">Note:</span> Type in IP or Host Name, separated by comma(,), semicolon(;), vertical bar(|), or line break( ).</div>
<img class="image" id="healthinspection__d24e223" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174751-136848aa92e8.png" width="500">
</li>
</ul></td>
</tr>
<tr class="row">
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__1 ">
<p class="p"><span class="ph uicontrol">Overtime</span></p>
</td>
<td class="entry" headers="healthinspection__table_gjj_zdl_bkb__entry__2 "><p class="p">Set up the overtime of task execution. If the process exceeds the set time, CloudAgent will end the progress. Use minute as the unit and the time range is between one minute to 30 minutes. If the setup is left blank, the overtime by default will be 30 minutes. </p></td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">After finishing the configuration, click <span class="ph uicontrol">Execute now</span>.</span>
<div class="itemgroup info"><div class="p">
<div class="note note note_note"><span class="note__title">Note:</span> If you click <span class="ph uicontrol">Save as</span>, the task will be saved in the <span class="ph uicontrol">Task Management</span>.</div>
</div></div>
</li></ol></section>
<section class="section result" id="healthinspection__result_rqz_v3l_bkb"><div class="tasklabel"><h2 class="doc-tairway">Results</h2></div>
<p class="p">After that, the system will jump to the <span class="keyword wintitle">Health Inspection</span> page. You can view the <span class="ph uicontrol">Task Summary</span>, <span class="ph uicontrol">Instance</span>, and <span class="ph uicontrol">Inspection result</span>. </p>
<div class="p">
<img class="image" id="healthinspection__image_dzk_4jq_dkb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201407174752-18dd469991f4.png" width="800">
</div>
</section>
Did the above content solve your problem?
Yes
No
Submitted successfully! Thank you for your feedback, we will try our best to do better and better!