[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api

Get Juniper Switch SNMP Config

Description

Show SNMP config for Juniper switch data source

Request

Request

URL

URL


get
https://vrni.example.com/api/ni/data-sources/juniper-switches/{id}/snmp-config
Copy

Path Parameters

Path Parameters

string
id Required

The Entity ID of object requestion information on


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns SNMPConfig of type(s) application/json
{
	"config_snmp_2c": {
		"community_string": "public"
	},
	"config_snmp_3": {
		"authentication_password": "VMware1!",
		"authentication_type": "MD5",
		"context_name": "default",
		"privacy_password": "VMware1!",
		"privacy_type": "AES256",
		"username": "readonly"
	},
	"snmp_enabled": true,
	"snmp_version": "v2c"
}
config_snmp_2c Optional

config_snmp_3 Optional

boolean
snmp_enabled Optional

Enable SNMP stats collection?


string
snmp_version Optional

SNMP version to use

Possible values are: v2cv3

Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Error

Code Samples

Code Samples

cURL Command

curl https://vrni.example.com/api/ni/data-sources/juniper-switches/{id}/snmp-config


[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Data Sources Operations
Feedback

Was this page helpful?