上一主题: APM 配置服务下一主题: 报警服务


代理服务

WSDL URL:

http://<host>:<port>/apm-web-services/services/AgentService?wsdl

操作:

代理服务提供在 CA APM 模型中可用的与代理相关的所有操作。 提供的信息可从 CA Introscope® 安装获得。

操作

输入

输出

说明

getAgentById

agentId (type: long)

Object of type DAgentSnapshot containing information about the Agent.

获取代理对象及所有属性(如果提供代理的 ID)。

getCurrentAgents

Array of type DAgentSnapshot

获取在过去 24 小时内添加到 CA APM 模型中的所有代理。

getAllAgents

Array of type DAgentSnapshot

获取 CA APM 模型中存在的所有代理。

getAllAgentsByDate

startDateTime (type:dateTime)

endDateTime(type: dateTime)

Array of type DAgentSnapshot

获取在指定日期之间 CA APM 模型中存在的所有代理。

getCurrentAgentsByFQHostName

hostname (type: String)

Array of type DAgentSnapshot

获取在过去 24 小时内添加到 CA APM 模型中的、与 apm_agent 表中的完全限定主机名匹配的所有代理。

getAllAgentsByFQHostName

hostname (type: String)

Array of type DAgentSnapshot

获取 CA APM 模型中存在的、与 apm_agent 表中的完全限定主机名匹配的所有代理。

getAllAgentsByFQHostNameAndDate

hostname (type: String)

startDateTime (type:dateTime)

endDateTime(type: dateTime)

Array of type DAgentSnapshot

获取在指定日期之间 CA APM 模型中存在的、与 apm_agent 表中的完全限定主机名匹配的所有代理。

getCurrentAgentsByOwner

ownerId (type: long)

Array of type DAgentSnapshot

获取在过去 24 小时内添加到 CA APM 模型中的、与某个所有者相关联的所有代理。

getAllAgentsByOwner

ownerId (type: long)

Array of type DAgentSnapshot

获取与 CA APM 模型中存在的某个所有者相关联的所有代理。

getAllAgentsByOwnerAndDate

ownerId (type: long)

Array of type DAgentSnapshot

获取在指定时间段内与 CA APM 模型中存在的某个所有者相关联的所有代理。

getObsoleteAgents(Date startTime, Date endTime)

startTime

(type:dateTime)

endTime

(type:dateTime)

 

Array of type DAgentSnapshot containing information on the Agent.

获取根据过时规则被视为过时的所有代理。