get_agent_update_status

Displays the Management Agent update results.

Format

emcli get_agent_update_status 
      -version_name | -op_name
      [-agent="agent_name_pattern"]
      [-severity="ERROR|WARNING"] 
      [-severity_id="severity_id"] 
      [-status="PendingUpdateInprogress|Updatable|NotUpdatable|NotExecuted|Success
       |Inprogress|Failed"]

[ ]  indicates that the parameter is optional.

Options

  • version_name

    Displays the details of the update operation submitted for the specified Management Agent gold image version name.

  • op_name

    Displays the details of the specified update operation.

  • agent

    Name pattern of the Management Agents for which the update operation details should be displayed.

  • status

    Status for which the update operation details should be displayed.

  • severity

    Severity level for which the update operation details should be displayed.

  • severity_id

    Severity ID for which the update operation details should be displayed.

Note:

It is mandatory to specify the -op_name parameter or the -version_name parameter. If you have specified -severity or -severity_id, then ensure that you do not specify -version_name or -status.

Examples

Example 1

The following example displays the Management Agents of the update operation UPDATE_JOB123, for which severity is 'WARNING', and severity ID is ROOT_RUN_CHECK.

emcli get_agent_update_status 
      -op_name="UPDATE_JOB123"
      -severity="WARNING"
      -severity_id="ROOT_RUN_CHECK"
      -op_name="UPDATE_JOB123"

Example 2

The following example displays the details of the update operation UPDATE_JOB123 for the Management Agent xyz.domain.com:1243, with severity set to WARNING and severity ID set to ROOT_RUN_CHECK.

emcli get_agent_update_status 
      -op_name="UPDATE_JOB123"
      -severity="WARNING"
      -severity_id="ROOT_RUN_CHECK"
      -agent="xyz.domain.com:1243"