get_agent_unsubscribe_status

Displays the status of unsubscribed Management Agents.

Format

emcli get_agent_unsubscribe_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.

Parameters

  • version_name

    Version name of the unsubscribed Management Agent gold image.

  • op_name

    Operation name of the unsubscribed Management Agent gold image.

  • agent

    Agent name of the unsubscribed Management Agent gold image.

  • severity

    Severity status of the unsubscribed Management Agent gold image.

  • severity_id

    Severity ID of the unsubscribed Management Agent gold image.

    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.

  • status

    Status of the unsubscribed Management Agent gold image.

Examples

Example 1

The following example displays the details of the unsubscribe operations submitted for the Management Agent gold image 'OPC_AGT_ADC_POD_JUNE', for the Management Agent xyz.domain.com:1243:

emcli get_agent_unsubscribe_status
      -version_name="OPC_AGT_ADC_POD_JUNE"
      -agent="xyz.domain.com:1243" 

Example 2

The following example displays the details of the unsubscribe operation 'UNSUBSCRIBE_JOB123' for the Management Agent xyz.domain.com:1243, having the status 'Failed':

emcli get_agent_unsubscribe_status 
      -op_name="UNSUBSCRIBE_JOB123"
      -status="Failed" -agent="xyz.domain.com:1243"