Try configuring the debug option in your config or command line and that will show you the line protocol being emitted.
https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#agent-configuration https://github.com/influxdata/telegraf#how-to-use-it On Sat, Jul 23, 2016 at 6:18 AM, Andrew Bitson <[email protected]> wrote: > I've got Telegraf capturing data from a machine and dumping that into > InfluxDB. I'm trying to get it to also capture SNMP data and write that > data into InfluxDB. I've configured it in the same way I've seen from the > docs, and yet my data isn't showing up in InfluxDB. I can't seem to figure > out why, any thoughts? > > Telegraf - version 0.13.1 > Connected to http://localhost:8086 version 0.13.0 InfluxDB shell version: > 0.13.0 > > interval 10s > ... > [[inputs.snmp]] > snmptranslate_file = "/etc/telegraf/oids.txt" > > [[inputs.snmp.host]] > address = "192.168.100.41:161" > community = "public" > version = 2 > timeout = 2.0 > retries = 2 > collect = ["if_out_octets", "if_in_octets"] > > [[inputs.snmp.bulk]] > name = "if_out_octets" > max_repetition = 127 > oid = ".1.3.6.1.2.1.31.1.1.1.10.48" > > [[inputs.snmp.bulk]] > name = "if_in_octets" > max_repetition = 127 > oid = ".1.3.6.1.2.1.31.1.1.1.6.48" > > > Andrew > > -- > 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/9F854BC7-1DA7-48D2-BEE5-30012E81F727%40gmail.com > <https://groups.google.com/d/msgid/influxdb/9F854BC7-1DA7-48D2-BEE5-30012E81F727%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Sean Beckett Director of Support and Professional Services InfluxDB -- 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/CALGqCvOA_no2pJ67AmYdW%2BWFonQ4J2CxF7yOSgjhKC8-9qEoUA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
