列出动作API


该API列出了为与用户关联的监视器配置的所有动作。每个动作的详细信息根据动作类型进行分组。

语法

XML响应API:

http://[ APM Host ]:[ APM Port ]/AppManager/xml/ListActions?apikey=[ API Key ]&type=all

JSON响应的API:

http://[ APM Host ]:[ APM Port ]/AppManager/json/ListActions?apikey=[ API Key ]&type=all

在将来的版本中,将包括以下功能:

i)管理服务器将支持列表动作。

ii)根据类型列出动作。

请求参数

字段描述
type此值指定要列出的动作类型,要获取所有类型的动作,我们需要将all作为字段类型的值传递。(如果没有此参数,它将返回所有类型)

响应详情

字段描述
DisplayName这是动作的显示名称。
ActionID -代表动作ID
ExecuteActionPath -代表URI用于执行动作
名称-代表动作的名称
ActionProps -代表动作Proepeties像从地址到地址,邮件等,这种变化对每一个动作类型

示例请求

XML 输入:

http://apm-prod1:9090/AppManager/xml/ListActions?apikey=c4e547c2330e2eb92d3e7af2262da9e9&type=all

XML 响应:

<AppManager-response uri="/AppManager/xml/ListActions">
<result>
<response response-code="4000">
<Actions DisplayName="SMS Action(s)">
<Action ID="10000003" ExecuteActionPath="/common/executeSMS.do?method=testAction&remote=true&actionID=10000003" NAME="SMS">
<ActionProps MESSAGE="This information has been generated by the Applications Manager" FROMADDRESS="karthi@zohomail.com" TOADDRESS="karthi@zohomail.com" />
</Action>
</Actions>
</response>
</result>
</AppManager-response>

JSON 输入:

http://apm-prod1:9090/AppManager/json/ListActions?apikey=c4e547c2330e2eb92d3e7af2262da9e9&type=all

JSON 响应

{"response-code":"4000","response":{"uri":"/AppManager/json/ListActions","result":[{"Action":[{"ID":"20000003","ExecuteActionPath":"/common/executeAction.do?method=testAction&remote=true&actionID=20000003","NAME":"alert_mail","ActionProps":{"FROMADDRESS":"user1@zohocorp.com","TOADDRESS":"user2@zohocorp.com","SUBJECT":"Alarm from the Applications Manager"}}],"DisplayName":"E-mail Action(s)"}]}}

受到世界各地客户的喜爱

"具有广泛监控功能的Standout工具"

它允许我们跟踪关键指标,如响应时间、资源利用率、错误率和交易性能。实时监控告警会及时通知我们任何问题或异常,使我们能够立即采取行动。

审稿人角色:研究与开发

我喜欢Applications Manager,因为它可以帮助我们检测服务器和SQL数据库中存在的问题。
卡洛斯·里韦罗

Lexmark技术支持经理

受到全球6000多家企业的信任

我们的客户