Get/Set SNMP Options
- Last Updated: October 14, 2024
- 1 minute read
- LoadMaster
- Multi-Tenant LoadMaster
- Documentation
The SNMP settings can be managed using the set/get commands.
Example Command
Set (Configure):
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/set?param=snmpEnable&value=yes"Get (Retrieve):
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/get?param=snmpenable"Available Parameters
|
Parameter |
Parameter Type |
Parameter Description |
Mandatory |
|---|---|---|---|
|
param |
String |
The name of the parameter to be retrieved/configured. The parameters for the SNMP Options are:
Note: The values for the snmpauthprot and snmpprivprot parameters are case sensitive - please enter them in uppercase. |
Yes |
|
value |
String |
The value to set the parameter to. |
Yes - if setting. No - if getting. |
Example Output
Set (Configure):
<?xml version="1.0" encoding="ISO-8859-1"?><Response stat="200" code="OK"><Success>Command completed ok</Success></Response>Get (Retrieve):
<Response stat="200" code="ok"><Success><Data><snmpenable>yes</snmpenable></Data></Success></Response>