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

Feature request - SNMP module #40

Open
jorgenspange opened this issue Mar 6, 2024 · 1 comment
Open

Feature request - SNMP module #40

jorgenspange opened this issue Mar 6, 2024 · 1 comment

Comments

@jorgenspange
Copy link

Good day,

Would be nice to be able to configure snmp on the gateways with an ansible module.
Both for virtual systems and physical gateways.

@duanetoler
Copy link

There's an issue with configuring SNMP via Gaia API for VSX hosts right now (I found the bug and reported it to TAC; it's being fixed in forthcoming Gaia API update). As for Gaia Ansible modules as a whole, you'll notice that all of these modules stop short of any configuration that could possibly be in VS-context on a host (all layer 3 stuff). They're not gonna do anything in that area yet since they're working on VS-Next and don't want to have mixed methods for doing layer3 items. That'll be an entirely new API-based configuration for VSX, too, and no doubt Ansible modules will come quickly.

Until then, you can configure SNMP with Gaia API, but you'll have to write your own playbook using the ansible.builtin.uri module. It's not fun, but I've done it for the suite I built for my company and our customers. I made a separate Ansible role just to handle gaia_api calls with the URI module (login, api commands, check responses, logout), then call that role as necessary.

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

No branches or pull requests

2 participants