Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure SNMP for given ESXi hosts via vCenter #1799

Closed
Sneedes opened this issue Jul 17, 2023 · 0 comments · Fixed by #1832
Closed

Configure SNMP for given ESXi hosts via vCenter #1799

Sneedes opened this issue Jul 17, 2023 · 0 comments · Fixed by #1832

Comments

@Sneedes
Copy link

Sneedes commented Jul 17, 2023

SUMMARY

Configure SNMP for given ESXi hosts via vCenter

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

vmware_host_snmp

ADDITIONAL INFORMATION

Desire to connect to any/all ESXi hosts ONLY via vCenter connection. Lockdown enabled/SSH disabled.
The SNMP configuration is the first module I've encountered that doesn't support the esxi_hostname parameter.

Would like to be able to configure SNMP for ESXi hosts via this Ansible module without needing to connect to each ESXi host.
Would also be nice to configure/support SNMPv3 as well.

- name: Enable and configure SNMP system contact and location
  community.vmware.vmware_host_snmp:
    hostname: '{{ vcenter_hostname }}'
    username: '{{ vcenter_username }}'
    password: '{{ vcenter_password }}'
    esxi_hostname: '{{ esxi_hostname }}'
    sys_contact: "admin@testemail.com"
    sys_location: "Austin, USA"
    state: enabled
  delegate_to: localhost
ihumster pushed a commit to ihumster/community.vmware that referenced this issue Aug 27, 2023
@ihumster ihumster linked a pull request Sep 23, 2023 that will close this issue
softwarefactory-project-zuul bot pushed a commit that referenced this issue Oct 13, 2023
added work through vCenter Server for #1799

SUMMARY
Fixes #1799
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
vmware_host_snmp

Reviewed-by: Mario Lenz <m@riolenz.de>
mariolenz pushed a commit to mariolenz/community.vmware that referenced this issue Oct 13, 2023
…le-collections#1832)

added work through vCenter Server for ansible-collections#1799

SUMMARY
Fixes ansible-collections#1799
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
vmware_host_snmp

Reviewed-by: Mario Lenz <m@riolenz.de>
softwarefactory-project-zuul bot pushed a commit that referenced this issue Oct 13, 2023
stable-3.x: Configure SNMP for ESXi hosts via vCenter

SUMMARY
Configure SNMP for ESXi hosts via vCenter
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
vmware_host_snmp
ADDITIONAL INFORMATION
Backport of #1832
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant