Lost and confused about traffic data - Data goes high wire when adding a second agent IP

Hello all,

I’m a bit lost and confused here. First ill share my setup
This is working correctly

[[inputs.snmp]]
agents = [ “10.41.5.1:161” ]
version = 2
name = “snmp”
community = “SNMPREAD”

 [[inputs.snmp.field]]
 name = "hostname"
 oid = "RFC1213-MIB::sysName.0"
 is_tag = true

[[inputs.snmp.table]]

## measurement name

   name = "snmp"
   inherit_tags = [ "hostname" ]
   oid = "IF-MIB::ifXTable"

[[inputs.snmp.table.field]]
   name = "ifName"
   oid = "IF-MIB::ifName"
   is_tag = true

[[inputs.snmp.field]]
name = “uptime”
oid = “DISMAN-EXPRESSION-MIB::sysUpTimeInstance”

However!

As soon as i add a second IP the data is all over the place. I don’t know what i’m doing wrong here or how to fix: Please see

[[inputs.snmp]]
agents = [ “10.41.5.1:161”,“10.40.5.6:161” ]
version = 2
name = “snmp”
community = “SNMPREAD”

I have not touch the graph at all, i just refresh it and this happens.
If it helps this is what the graph settings look like

You need to either filter by hostname or group by it.

Now are you trying to show a combined troughput (but your counters are not aligned).

I suggest you to look at variables in grafana to be able to select hosts and interfaces.

Hello Frederike,

Thank you very much for the response. I had given up hope in finding a solution for this.
I’m not very experience in this but i have learned a ton so far.

The only thing that i still have not figured out as of today is this issue, if possible and if you have the time would you be able to help me more regarding this?

Try something like this in grafana, the important part is the group by:

The and conditions is due to my variables (you can remove them if you like).

An example json (that you can open in grafana) can be found here: Grafana troughput · GitHub

Thank you very much for helping me with this.
I will give this a try