Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Add an SNMP Configuration

 

Use this API to add an SNMP configuration in Junos Space Service Now.

URI

https://[host]/api/juniper/servicenow/global-setting-management/snmp-configuration- management/addSNMPConfiguration (HTTP method = POST)

Consumes

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

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

Request Elements

Element

Type

Description

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 add SNMP configuration

Sample Input

Sample XML Input

Sample JSON Input

Sample Output

Sample XML Output

Sample JSON Output