Skip to content

snmp_manager

Description

SNMP Manager Configuration

Read/write properties

community<String>

Community. Valid char set = ^[-_.@0-9a-zA-Z]+

snmpmanager<String>

Ip Address of SNMP Manager (IPv4/IPv6 string). Bitmask = Required (format IP/bitmask)

Read only properties

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

Add

URL: http://<CBIP>/cb/nitro/v1/config/snmp_manager

HTTP Method: POST

Request Payload: JSON

{"snmp_manager":{
      "community":<String_value>,
      "snmpmanager":<String_value>}}

Response Payload:JSON

{ "snmp_manager":{
      "community":<String_value>,
      "snmpmanager":<String_value>}}

Delete

URL: http://<CBIP>/cb/nitro/v1/config/snmp_manager/community=<String>,snmpmanager=<String>

HTTP Method: DELETE

Response Payload: EMPTY

Get (all)

URL: http://<CBIP>/cb/nitro/v1/config/snmp_manager

HTTP Method: GET

Response Payload: JSON

{ "snmp_manager":[{
      "community":<String_value>,
      "snmpmanager":<String_value>}, ...]}

Get

URL: http:///cb/nitro/v1/config/snmp_manager/community=,snmpmanager=

HTTP Method: GET

Response Payload: JSON

{ "snmp_manager":{
      "community":<String_value>,
      "snmpmanager":<String_value>}}