#snmp_username required in 22.8.0?

1 messages · Page 1 of 1 (latest)

near prairie
#

I just updated my collection to 22.8.0 and now I am getting an error in my snmp playbook that snmp_username is required. I'm not even sure what snmp_username would be?

All I'm trying to do with my playbook is to remove an old SNMPv1 community that is no longer used. So, previously I just specificied "community_name", "access_control", and "state: absent". Is there someting I can put in for the "snmp_username" that will allow it to run and remove the old community if it exists (or skip it if it's not there)?

supple ember
#

I believe we have a story to fix that that coming in 22.8.3 but let me double check

near prairie
#

Thanks, @supple ember, looks like that worked.

pseudo kindle
#

Hello, I have 22.11.0 and it seems that na_ontap_cluster_config role doesn't manage snmp_username variable.

  na_ontap_snmp:
    community_name: "{{ item.community_name }}"
    access_control: "{{ item.access_control }}"
    hostname: "{{ netapp_hostname }}"
    username: "{{ netapp_username }}"
    password: "{{ netapp_password }}"
    https: true
    validate_certs: "{{ validate_certs }}"
  with_items:
    "{{ snmp }}"
  when: snmp != None```

Do it will be added in future releases?