Restart SNMP
Purpose
Restarts 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/restart
Usage NotesĀ®
- Check whether SNMP is running by using the Eclipse Amlen REST API GET method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:Port>/ima/v1/service/status/snmp
- The status can be Running or Stopped.
- The command must be capitalized as shown.
Related Commands
Example
Restarts SNMP on Eclipse Amlen:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"Service": "SNMP"
}
' \
http://127.0.0.1:9089/ima/v1/service/restart