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

SNMPv3 parameters in config.yaml #68

Closed
ldvc opened this issue Aug 18, 2021 · 1 comment
Closed

SNMPv3 parameters in config.yaml #68

ldvc opened this issue Aug 18, 2021 · 1 comment

Comments

@ldvc
Copy link

ldvc commented Aug 18, 2021

Hey! First thing first, thanks for thola!

% ./thola --version
v0.3.5

I would like to set my SNMPv3 parameters in the config.yaml file, I tried:

device:
  snmp-communities:
  - mycommunity
  snmp-versions:
  - 2c
  - 3
  snmp-v3-auth-key: <redacted>
  snmp-v3-auth-proto: MD5
  snmp-v3-level: "authPriv"
  snmp-v3-priv-key: <redacted>
  snmp-v3-priv-proto: DES
  snmp-v3-user: <redacted>

but it didn't work: Error: invalid request: no SNMP v3 level provided.

As I'm not very familiar with Golang code, I didn't succeed to spot where the config parsing happen...

Is what I'm trying to do possible? Thanks!

TheFireMike added a commit that referenced this issue Aug 23, 2021
@TheFireMike
Copy link
Contributor

Hey, there was indeed a bug with the SNMP v3 data readout from the config. Your config is valid, the bug should be fixed in the next version.
Thanks for reporting!

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