Cisco Cisco Identity Services Engine 1.3 전단

다운로드
페이지 164
 
2-2
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
 2       会话管理查询 API
  会话计数器 API 调用
发起 ActiveCount API 调用
步骤 1
在浏览器的地址栏内输入 Cisco ISE URL(例如,https://<ISE 主机名或 IP 地址 >/admin/)。
步骤 2
输入在 Cisco ISE 初始设置过程中指定和配置的用户名及密码(区分大小写)。
步骤 3
点击 Login 或按 Enter
例如,如果您最初使用主机名 acme123 登录思科监控 ISE 节点,对于此节点,系统将显示以下 
URL 地址字段:
https://acme123/admin/LoginAction.do#pageId=com_cisco_xmp_web_page_tmpdash
步骤 4
通过将“/admin/”部分替换为 API 调用部分 (/admin/API/mnt/<specific-api-call>),在目标节点的 
URL 地址字段输入 ActiveCount API 调用:
https://acme123/admin/API/mnt/Session/ActiveCount
注意
由于这些调用区分大小写,所以在目标节点的 URL 地址字段输入每个 API 调用时请务必
仔细。API 调用约定中使用“mnt”表示目标思科监控 ISE 节点。
步骤 5
按 Enter 将发出 API 调用。
相关主题
ActiveCount API 调用返回的数据示例
以下示例展示的是您在目标思科监控 ISE 节点上发起 ActiveCount API 调用时返回的数据(活动
会话数):
This XML file does not appear to have any style information associated with it. The 
document tree is shown below.
-
<sessionCount>
<count>5</count>
</sessionCount>
状态评估会话计数器
您可以使用 PostureCount API 调用来检索所有当前活动状态评估会话的计数。
PostureCount API 输出架构
此示例架构文件是用于检索目标思科监控 ISE 节点上当前活动的分析器会话计数的 ProfilerCount 
API 调用的输出:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="sessionCount" type="postureCount"/>
  <xs:complexType name="postureCount">
    <xs:sequence>