Example, Element description, Request – HP Intelligent Management Center Licenses User Manual

Page 111: Response

Advertising
background image

Element description

deviceService sub-elements

Device ID.

deviceId

Long integer type.

Service bits.

serviceBit

Integer type.

Name.

name

String type.

Port.

port

Integer type.

Type. 0: No monitoring. 1: TCP. 2: UDP.

type

Integer type.

Service running status: 0: Not running. 1: Running.

status

Integer type.

Example

Query service monitoring about the device with the ID 10.

Request

GET http://imc_host:8080/imcrs/plat/res/device/service?deviceId=10
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...

<list>
<deviceService>
<deviceId>10</deviceId>
<serviceBit>0</serviceBit>
<name>Telnet</name>
<port>23</port>
<type>1</type>
<status>1</status>
</deviceService>
...
</list>

Query Service Monitoring Information List

111

Advertising