Enable or disable SNMP
Purpose
Enables or disables SNMP on Eclipse Amlen.URI
Use the Eclipse Amlen REST API POST method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:Port>/ima/v1/configuration/SNMPEnabled
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
Enables SNMP on Eclipse Amlen:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"SNMPEnabled": true
}
' \
http://127.0.0.1:9089/ima/v1/configuration