上一主题: 创建发现配置文件并运行发现


查看发现的设备和实例

通过检查所发现的设备和实例,确认您的初始发现过程是成功的。

遵循这些步骤:

  1. 要查看发现配置文件的列表,请访问 Data Aggregator Web 服务器。 键入以下 URL:
    GET http://da_hostname:port/rest/discoveryprofiles
    
    da_hostname:port

    指定 Data Aggregator 主机名和端口号。

    默认端口:8581

    发现配置文件的列表和它们的实例 ID 即被返回。

  2. 对于创建的发现配置文件,请查找发现实例 ID:

    示例:

    <DiscoveryInstanceIDList relatesURL="relatesto/instances"
                rootURL="discoveryinstances">
                    <ID>236</ID>
     </DiscoveryInstanceIDList>
    
  3. 使用以下 URL 查看发现实例详细信息:
    GET http://da_hostname:port/rest/discoveryinstances/instance_ID
    

    实例 XML 返回新设备和现有设备及已测试的 SNMP 配置文件的信息。

    示例:

    <?xml version="1.0" encoding="UTF-8"?>
    
    <DiscoveryInstance version="1.0.0">
    
        <ID>236</ID>
    
        <IPSweepTotalSuccess>5</IPSweepTotalSuccess>
    
        <CompletionTime>Thu Apr 12 12:36:35 CDT 2012</CompletionTime>
    
        <ExistingFoundDevicesList>
    
            <ExistingFoundDevices>241</ExistingFoundDevices>
    
            <ExistingFoundDevices>239</ExistingFoundDevices>
    
            <ExistingFoundDevices>240</ExistingFoundDevices>
    
            <ExistingFoundDevices>238</ExistingFoundDevices>
    
        </ExistingFoundDevicesList>
    
        <IPSweepCompletionTime>Thu Apr 12 12:36:35 CDT 2012</IPSweepCompletionTime>
    
        <ExistingFoundManageableDevicesList>
    
            <ExistingFoundManageableDevices>241</ExistingFoundManageableDevices>
    
            <ExistingFoundManageableDevices>239</ExistingFoundManageableDevices>
    
            <ExistingFoundManageableDevices>240</ExistingFoundManageableDevices>
    
            <ExistingFoundManageableDevices>238</ExistingFoundManageableDevices>
    
        </ExistingFoundManageableDevicesList>
    
        <StartTime>Thu Apr 12 12:36:31 CDT 2012</StartTime>
    
        <NewlyCreatedDevicesList>
    
            <NewlyCreatedDevices>383</NewlyCreatedDevices>
    
        </NewlyCreatedDevicesList>
    
        <TestedCommProfilesList>
    
            <TestedCommProfiles>199</TestedCommProfiles>
    
            <TestedCommProfiles>198</TestedCommProfiles>
    
        </TestedCommProfilesList>
    
        <IPSweepStartTime>Thu Apr 12 12:36:31 CDT 2012</IPSweepStartTime>
    
        <ProgressPercentage>100</ProgressPercentage>
    
        <IPSweepTotal>7</IPSweepTotal>
    
        <ProfileID>235</ProfileID>
    
        <NewlyCreatedManageableDevicesList>
    
            <NewlyCreatedManageableDevices>383</NewlyCreatedManageableDevices>
    
        </NewlyCreatedManageableDevicesList>
    
        <PingResponseDeviceCount>5</PingResponseDeviceCount>
    
        <CompletionStatus>SUCCESS</CompletionStatus>
    
        <Item version="1.0.0">
    
            <CreateTime>Thu Apr 12 12:36:31 CDT 2012</CreateTime>
    
        </Item>
    
    </DiscoveryInstance>
    
  4. (可选)使用以下 URL 复查特定设备(新的或现有的)的信息:
    GET http://da_hostname:port/rest/devices/device_ID
    
    endpoint_id

    指定引用端点的 ID。 使用您先前找到的 ID。

  5. (可选)使用以下 URL 复查发现期间测试过的 SNMP 配置文件的信息:
    GET http://da_hostname:port/rest/profiles/profile_ID
    

您会看到发现的所有设备和实例。