Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Update an SNMP Configuration

 

Use this API to update an SNMP configuration.

URI

https://[host]/api/juniper/servicenow/global-setting-management/snmp-configuration -management/snmpConfiguration/{id}/updateSNMPConfiguration (HTTP method = PUT)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the SNMP configuration to be updated

Consumes

  • application/vnd.juniper.servicenow.global-setting-management.snmp-configuration- management.snmpConfiguration+xml;version=1;charset=UTF-8

  • application/vnd.juniper.servicenow.global-setting-management.snmp-configuration- management.snmpConfiguration+json;version=1;charset=UTF-8

Request Elements

Element

Type

Description

id

Integer

ID of the SNMP configuration

uri

String

Link to the SNMP configuration

configurationName

String

Name of the SNMP configuration

server

String

IP address in IPv4 or IPv6 format or hostname of the SNMP server

udpPort

Integer

Port for SNMP communication

communityString

String

SNMP community string

protocolVersion

String

Version of SNMP protocol used

Possible values—v1, v2c

Produces

  • application/vnd.juniper.servicenow.global-setting-management.snmp-configuration- management.servicenowmsg+xml;version=1

  • application/vnd.juniper.servicenow.global-setting-management.snmp-configuration- management.servicenowmsg+json;version=1

Response Elements

Element

Type

Description

msg

String

Status message of the update SNMP configuration job

Sample Input

Sample XML Input

Sample JSON Input

Sample Output

Sample XML Output

Sample JSON Output