Cannot set SNMPv3 parameters on host via REST API

for me it works if I put the snmp settings in a dictionary not a list.

Sample SNMPv3

'snmp_community': {
    'auth_password': 'removed',
    'auth_protocol': 'SHA-1-96',
    'privacy_password': 'removed',
    'privacy_protocol': 'AES-128',
    'security_name': 'snmpv3username',
    'type': 'v3_auth_privacy'
}

Sample SNMPv2

'snmp_community': {
    'community': 'public',
    'type': 'v1_v2_community'
},
1 Like