HP Intelligent Management Center Extended API User Guide

Query Automatic Device Discovery Results
Query automatic device discovery results.
Interface URI
/plat/res/autodiscover/result
Access Method
HTTP
GET
Parameters
None
Returned Result
Status codes
200 (OK): Success.
Message body
<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>
...
</list>
Element description
discoverResult sub-elements
Command codes. 0: Start automatic discovery. 1: Common message. 2: Automatic discover alarm.
3: Automatic discovery has stopped.
cmdCode
Integer type.
Command type. 0: Error message common value. 1: Informational message common value. 2: Alarm
message common value. 4: Successful message common value.
type
Integer type.
Discovered at.time
String type.
Content.content
String type.
Device IP.deviceIp
String type.
Result.result
String type.
Protocol. String type.deviceProtocol
Query Automatic Device Discovery Results 127