-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
snmp plugin documentation/example #704
Comments
telegraf.conf :
Grafana request example (look at your influxdb tables to understand values) :
Instance match in this case the interface of your device. If I understand, 'instance' will appears each times you put an 'inputs.snmp.bulk'. I agree that is not simple to understand when starting to play with telegraf. |
Cool, that gives me a starting point. Any way to add tags based on SNMP values? I would also like to tag with the VLAN ID the port has. |
Test and check you InfluxDB database, but I think the "name" parameter in telegraf.conf is present. |
@tux-00 @etlweather is there still an issue here? If there is something unclear in the documentation I would appreciate it a lot if you could submit a PR to clarify :) |
@sparrc - yes, I will use the data I got here and work out the config. Once I have it working, I'll submit a PR with more detailed documentation for the snmp plugin. |
How can I map ifName so that the instance shows as the interface name instead?
|
Hello ! @etlweather please submit a PR to get a better documentation... this SNMP plugin is NOT really simple :/ |
@titilambert - I just read the README.md you linked - that is great! Looks like v0.10.5 will do just what I need. My only comment is on the README is that what I was looking for was at the end :) |
Thanks @titilambert,
Here's my config:
|
@claytondukes you have to use the last version of Telegraf on master (v0.10.5). It seems you use Telegraf version v0.10.4, isn't it ? |
Ah man! I have been pulling my hair out. I just installed this yesterday. Odd. |
Ah, because the install guide still has 10.4 ;) |
Do you have a link for the .deb for that version? |
@claytondukes 0.10.5 has not been released yet, we might cut a release on Thursday but I will need to check with my manager |
@sparrc, thanks. Looking forward to it. Happy to be an early tester if you want. I am just investigating this for a client. |
I am having a little bit of difficulties working out how I would configure Telegraf to collect interface usage of multiple Cisco switches.
What I would like is to collect in/out bits counters of all ports of multiple switches (about 70) and have that sent to InfluxDB. I am thinking that the switch name and port would be a tag.
The text was updated successfully, but these errors were encountered: