Query snmp template information, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 164: Returned result, Interface uri access method returned result

Advertising
background image

Query SNMP Template Information

Query SNMP template information based on device ID.

Interface URI

/plat/res/snmp/{id}

Access Method

HTTP

GET

Parameters

Path parameter

SNMP template ID.

id

Integer type. Required. No default value.

Returned Result

Status codes

200 (OK): Success.

Message body

<snmpParamTemplate>
<id>1</id>
<version>1</version>
<name>default</name>
<paraType>SNMPv1</paraType>
<roCommunity>public</roCommunity>
<rwCommunity>private</rwCommunity>
<timeout>4</timeout>
<retries>3</retries>
<contextName/>
<securityName/>
<securityMode>1</securityMode>
<authScheme>0</authScheme>
<authPassword/>
<privScheme>0</privScheme>
<privPassword/>
<snmpPort>161</snmpPort>
</snmpParamTemplate>

Element description

snmpParamTemplate sub-elements

SNMP template ID.

id

Long integer type.

Template name.

name

String type.

Version.

version

Integer type.

164 Network Resource Management

Advertising