现在轮询 API


该API允许您轮询特定的监视器。

语法

http://[Host]:[Port]/AppManager/xml/PollNow?apikey=[APIKEY]&resourceid=[RESOURCEID]

请求参数

执行此API请求所涉及的参数包括:

字段描述        
apikey使用管理标签中的生成API密钥选项生成的密钥
resourceid要轮询的监视器的resourceid。

示例请求

http://app-xp5:9099/AppManager/xml/PollNow?apikey=123b7328e4b41d1efe64aa7980d83d77&resourceid=10000293

示例响应

<AppManager-response uri="/AppManager/xml/PollNow">
<result>
<response method="PollNow">
<message>The monitor polled successfully.</message>
</response>
</result>
</AppManager-response>

如果API未正确执行,则请求将失败,并且错误将显示如下:

<AppManager-response uri="/AppManager/xml/PollNow">
   <result>
      <response response-code="4037">
         <message>Improper resourceid in the request.</message>
      </response>     
    </result>
</Apm-response>

请参阅此页面以获取常见错误条件的列表 。

受到世界各地客户的喜爱

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

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

审稿人角色:研究与开发

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

Lexmark技术支持经理

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

我们的客户