Modify service monitoring information, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 112: Interface uri access method

Advertising
background image

Modify Service Monitoring Information

Modify service monitoring information for a device based on device ID.

Interface URI

/plat/res/device/service/{id}

Access Method

HTTP

PUT

Parameters

Path parameter

Device ID.

id

Long integer type. Required. No default value.

Message body

<device>
<deviceService>
<deviceId>10</deviceId>
<serviceBit>0</serviceBit>
<name>Telnet</name>
<port>23</port>
<type>1</type>
<status>1</status>
<monitor>false</monitor>
</deviceService>
<deviceService>
<deviceId>10</deviceId>
<serviceBit>1</serviceBit>
<name>FTP</name>
<port>21</port>
<type>1</type>
<status>0</status>
<monitor>true</monitor>
</deviceService>
...
</device>

Element description

deviceService sub-elements

Device ID.

deviceId

Long integer type. Optional. Obtained from the path parameter.

Service bits.

serviceBit

Integer type. Required. No default value.

Name.

name

String type. Required. No default value.

Port.

port

Integer type. Required. No default value.

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

type

112

Network Resource Management

Advertising