On Friday, 10 February 2017 00:48:34 UTC+11, patrick...@gmail.com wrote: > I'm not sure what documentation you're looking at, but your configuration is rather off. For example the errors your'e getting are because there are no configuration options >`[[inputs.snmp.host]]` or `include_instances`. > > The following should work: > > [[inputs.snmp]] > interval = "30s" > > agents = ["W.X.Y.Z:161"] > version = 2 > community = "MyCommunity" > > [[inputs.snmp.field]] > name = "hostname" > oid = "RFC1213-MIB::sysName.0" > is_tag = true > > [[inputs.snmp.table]] > name = "snmp" > inherit_tags = [ "hostname" ] > > [[inputs.snmp.table.field]] > name = "interface" > oid = "IF-MIB::ifName" > is_tag = true > > [[inputs.snmp.table.field]] > name = "bytesIn" > oid = "IF-MIB::ifHCInOctets" > > [[inputs.snmp.table.field]] > name = "bytesOut" > oid = "IF-MIB::ifHCOutOctets"
I feel like I've gone around in a circle - that's exactly where I started based on the example for the SNMP plugin. I'm left wondering though how to capture only from certain interfaces - so for example where IF-MIB::ifName is one of several values (Gig0, Gig1). As before I'd rather not be capturing 48 ports where 2 will do. -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+unsubscr...@googlegroups.com. To post to this group, send email to influxdb@googlegroups.com. 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/bbab3c4d-4379-41fc-9289-e2796b991731%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.