agentinfo (Release 9.2.8.2)

API Name

agentinfo

Description

Returns information about a particular agent.

REST Methods

GET

Precondition

Agent must be up and running.

Input Params

agentHostName , jdeHome

Sample Request

https://host:port/manage/mgmtrestservice/agentinfo? agentHostName=sma.oracle.com&jdeHome=C:\jde_home_agent_ SM9205\SCFHA

Return

HTTP status 200 is returned.

Sample Response

{"agentHostName": "localhost",

"jdeHome": "C:\\SMC\\smc_agent_test\\SCFHA",

"result": {

"agentJavaVersion": "1.8",

"userHome": "C:\\Users\\TEST",

"agentType": "MANAGEMENT_SERVER",

"agentHostPort": "14501",

"javaVersion": "1.8.0_131",

"javaVmName": "Java HotSpot(TM) 64-Bit Server VM",

"state": "RUNNING",

"userName": "TEST",

"platform": "windows",

"agentBuildNumber": "1",

"javaHome": "C:\\Oracle\\MIDDLE~1\\ORACLE~2\\ORACLE~1\\jdk\\jre",

"javaRuntimeVersion": "1.8.0_131-b11"

}

}

Exception

None