Show SNMP status
Purpose
Checks the status of the SNMP agent on IBM® IoT MessageSight.URI
Use the IBM IoT MessageSight REST API GET method with the following IBM IoT MessageSight service URI:
http://<admin-endpoint-IP:Port>/ima/v1/service/status/SNMPUsage 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 IBM IoT MessageSight 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 IBM IoT MessageSight:curl -X GET http://127.0.0.1:9089/ima/v1/service/status/SNMPAn example response to the GET method:
{
"Version": "v1",
"SNMP": {
"Status": "Active",
"Enabled": true
}
}