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

Module parameter is not taken into account #545

Closed
darox opened this issue Jul 3, 2020 · 1 comment
Closed

Module parameter is not taken into account #545

darox opened this issue Jul 3, 2020 · 1 comment

Comments

@darox
Copy link

darox commented Jul 3, 2020

Host operating system: output of uname -a

3.10.0-514.71.1.el7.x86_64 #1 SMP Mon Nov 25 09:21:51 EST 2019 x86_64 x86_64 x86_64 GNU/Linux

snmp_exporter version: output of snmp_exporter -version

0.18.0

What did you do that produced an error?

I renamed the module from if_mib to correlator.

curl http://8.9.9.3:9116/snmp?target=1.2.3.4&module=correlator

What did you expect to see?

Metrics are returned correctly when module name was changed from if_mib to correlator.

What did you see instead?

Unknown module 'if_mib'

@SuperQ
Copy link
Member

SuperQ commented Jul 3, 2020

If that's your literal curl command, you have to quote the URL to avoid shell escaping.

curl 'http://8.9.9.3:9116/snmp?target=1.2.3.4&module=correlator'

For usage questions/help, please use our community. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

@SuperQ SuperQ closed this as completed Jul 3, 2020
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