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

Get Mellanox Switch SNMP Config

Description

Show SNMP config for Mellanox switch data source

Request

Request

URL

URL


get
https://vrni.example.com/api/ni/data-sources/mellanox-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
{
    "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/mellanox-switches/{id}/snmp-config


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

Was this page helpful?