Example – HP Intelligent Management Center Licenses User Manual

Page 128

Advertising
background image

Example

Query automatic device discovery results.

Request

GET http://imc_host:8080/imcrs/plat/res/autodiscover/result
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<discoverResult>
<cmdCode>3</cmdCode>
<type>4</type>
<time>2011-07-01 13:59:34</time>
Automatic discovery has finished. </content>
<deviceIp>finished</deviceIp>
<result>Six devices have been discovered, where five are SNMP devices, and one is an ICMP device. 0 devices are
added.</result>
</discoverResult>
<discoverResult>
<cmdCode>2</cmdCode>
<type>0</type>
<time>2011-07-01 13:59:33</time>
<content>10.153.89.7(10.153.89.7)</content>
<deviceIp>10.153.89.7</deviceIp>
<deviceProtocol/>
<result>Device "10.153.89.7(10.153.89.7)" has already existed.</result>
</discoverResult>
...
</list>

128

Network Resource Management

Advertising