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

make docker-generate failed #951

Closed
matjasm opened this issue Aug 16, 2023 · 3 comments
Closed

make docker-generate failed #951

matjasm opened this issue Aug 16, 2023 · 3 comments

Comments

@matjasm
Copy link

matjasm commented Aug 16, 2023

It's about the error message:

ts=2023-08-16T22:05:35.116Z caller=main.go:130 level=error msg="Error generating config netsnmp" err="error parsing yml config: yaml: unmarshal errors:\n line 2: field auths not found in type main.Config"
Makefile:81: recipe for target 'docker-generate' failed
make: *** [docker-generate] Error 1

the head of the generator.yml file is:


auths:
public_v1:
version: 1
public_v2:
version: 2

auth_name: 
  version:3 
  auth_protocol: SHA
  username: admin
  password: admin_pass
  security_level: noAuthNoPriv

I want to configure a snmp.yml file with authentication content (i want to use snmp version 3). in the new source code the auths are separated. when generating the above error message comes the field auths not found in type main.config

Host operation system:
Linux 4.15.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64 x86_64 x86_64 GNU/Linux

@SuperQ
Copy link
Member

SuperQ commented Aug 17, 2023

Probably related to #944

@SuperQ
Copy link
Member

SuperQ commented Aug 17, 2023

Published the matching snmp-generator Docker image.

@SuperQ SuperQ closed this as completed Aug 17, 2023
@matjasm
Copy link
Author

matjasm commented Aug 18, 2023

thank you, now it works .👍

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