On Monday, July 25, 2016 at 5:36:03 PM UTC+1, Andrew Bitson wrote: > I’m trying to use the SNMP plugin in Telegraf to gather statistics for a > handful of 48-port switches to then add into Grafana for monitoring. I’ve got > it working to collect single OID’s and one port at a time, but if I try to > get a bulk collection, the statistics that get output aren’t unique and don’t > write into InfluxDB very well. > > > How can I use telegraf to collect both Input and Output octets for each > switch and all of it’s 48 ports and put that into InfluxDB? > The OID’s are simple: > > > # .1.3.6.1.2.1.31.1.1.1.10.[1-48] > # .1.3.6.1.2.1.31.1.1.1.6.[1-48] > > > To add more complexity, what if I want to use this to port to a switch that > only has 4 or 5 ports? (Like an SNMP enabled router) > > > > > - Andrew Bitson > [email protected]
Hi Andrew, There are quite a few open issues with the current incarnation of the Telegraf SNMP plugin, the two of these might be relevant to the problem you are having: https://github.com/influxdata/telegraf/issues/1043 https://github.com/influxdata/telegraf/issues/961 Unfortunately the maintainer of that plugin is no longer able to maintain it, and we're at the point now where we are likely going to merge a new and non-backwards-compatible SNMP plugin. The reason being that the new one has a cleaner code state, and doesn't use as many proprietary names. (You may have noticed that "table" in the current plugin doesn't actually map to the "snmptable" command) You can view the status of that plugin here: https://github.com/influxdata/telegraf/pull/1389 If you're interested in trying out the new plugin, let me know and I can get you a binary. -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/ed5caa7d-8b4e-4285-85e8-65869ca904e7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
