Start SNMP

Purpose

Starts SNMP on Eclipse Amlen.

URI

Use the Eclipse Amlen REST API POST method with the following Eclipse Amlen service URI:

http://<admin-endpoint-IP:Port>/ima/v1/service/start

Object configuration data

Provide SNMP object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json:


{    
  "SNMP": true|false
}
SNMP: true|false
Specifies whether SNMP is enabled (true) or disabled (false).

Usage NotesĀ®

  • The command must be capitalized as shown.
  • Setting a value of false stops SNMP from running with immediate effect; the disabled state of SNMP persists after any subsequent restart of Eclipse Amlen.

Related Commands

Example

Starts SNMP on Eclipse Amlen:

curl -X POST \
   -H  'Content-Type: application/json'  \
   -d  '{ 
         "Service": "SNMP"
         }
       ' \
http://127.0.0.1:9089/ima/v1/service/start