On Monday, September 26, 2016 at 1:40:13 PM UTC+3, Paul Seymour wrote: > Hello, > > > Is it possible to send different data from telegraf to different InfluxDB's ? > > > For example I have servers that are collecting normal Linux server metrics > which I want to send to a IDB of "servers" via is via the normal Telegraf > server plugins. > > > And also on some hosts only that are also collecting the normal Linux stats I > want to collect SNMP data from network routers via the SNMP telegraf plugin > and send that data to a different IDB. > > > I have tried with the default output plugin in telegraf.conf & the SNMP > inputs/outputs in a telegraf.d/snmp.conf file but both sets of data go to > both IDB's it appears ? > > > Presume this is something I have done wrong. > > > Thanks > Paul
Hi Paul, I assume you have already configured 2 [outputs.influxdb] plugins, targeting 2 different InfluxDB databases. Telegraf provides a number of measurement filtering options based on measurement name, tag and field name and values so you can route your metrics to the proper database. You do not need to split these configurations in separate files under another directory like telegraf.d . Please see the related documentation: https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#measurement-filtering -- 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/45369532-329f-4abd-ae85-381bcb4b1536%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
