unsubscribe_agents

Unsubscribes the specified Management Agents that subscribe to a particular Management Agent gold image.

Format

emcli unsubscribe_agents
      -image_name="Image Name" 
      [-agents="Full Agent Name"] 
      [-groups="List of group names"] 
      [-closure_related="true/false"]
      [-closure_nfs="true/false"] 

[ ]  indicates that the parameter is optional.

Options

  • image_name

    Image name from which the Management Agents should unsubscribe.

  • agents

    Name pattern of the Management Agents that should unsubscribe from the specified Management Agent gold image.

  • groups

    Management Agent groups that should unsubscribe from the specified Management Agent gold image.

  • closure_related

    Whether or not the related Management Agents should be unsubscribed. When set to false, the related Management Agents are not unsubscribed.

  • closure_shared

    Whether or not the related Management Agents should be unsubscribed. When set to false, the related shared Management Agents are not unsubscribed.

Examples

Example 1

The following example unsubscribes xyz.domain.com:1243 and all its related shared agents that subscribe to the Management Agent gold image OPC_AGT_ADC_POD.

emcli unsubscribe_agents  
      -image_name="OPC_AGT_ADC_POD"
      -agents="xyz.domain.com:1243"
      -closure_shared="true"

Example 2

The following example unsubscribes xyz.domain.com:1243 and all its related Management Agents that subscribe to the Management Agent gold image OPC_AGT_ADC_POD.

emcli unsubscribe_agents  
      -image_name="OPC_AGT_ADC_POD"
      -agents="xyz.domain.com:1243"
      -closure_related="true"