Show SNMP status
Purpose
Checks the status of the SNMP agent on Eclipse Amlen.URI
Use the Eclipse Amlen REST API GET method with the following Eclipse Amlen service URI:
http://<admin-endpoint-IP:Port>/ima/v1/service/status/SNMP
Usage NotesĀ®
- Capitalization must be used as shown.
- The status information that is returned shows whether the SNMP service is enabled or disabled, and is active or inactive.
- The status of the SNMP agent process is also returned as part of the data that is returned from the Eclipse Amlen REST API GET method with the following URI:
http://<admin-endpoint-IP:Port>/ima/v1/service/status
Related Commands
Example
Display the status of the SNMP agent on Eclipse Amlen:curl -X GET http://127.0.0.1:9089/ima/v1/service/status/SNMP
An example response to the GET method:
{
"Version": "v1",
"SNMP": {
"Status": "Active",
"Enabled": true
}
}