You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OSMH: Unable to Enable OSMH Plugin with Error “rpc error: code = Unavailable..."

Applies to:   

Oracle Cloud Infrastructure - Version N/A and later  

Information in this document applies to any platform. 

Symptoms 

Unable to enable OSMH agent plugin in the Oracle Cloud Agent tab for the instance.

OSMH plugin shows error “rpc error: code = Unavailable desc = connection error: desc = "transport: error while dialing: dial unix /var/lib/oracle-cloud-agent/tmp/pluginXXXXXXXXXX: connect: connection refused" 

 

 

Cause 

Observabilit&Management>OSMH>Instances> check your instance status. 

Instance was in offline/unregistering mode

  

Solution 

1) Disable the OSMH agent plugin from the OCI instance page 
 
2) Go to Observability&Management > OSMH > Instances and unregister the instance from OSMH.

3) Delete the file osmh-agent-unregister from the instance if exists:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!