Telegraf seems not writing new field into InfluxDB

Hello,

I’m using Telegraf to pool some devices throught SNMP and data are correctly inserted into Influxdb.
Recently I have created this config file to pool a F5 BigIP device but I don’t undrestand why fields aren’t added on InfluxDB :

System

name = “F5_system”
[inputs.snmp.tags]
cluster = “cluster_ASM”
[[inputs.snmp.field]]
name = “hostname”
oid = “RFC1213-MIB::sysName.0”
is_tag = true
[[inputs.snmp.field]]
name = “FailoverStatus”
oid = “.1.3.6.1.4.1.3375.2.1.14.3.2”
[[inputs.snmp.field]]
name = “PowerSupplyStatus”
oid = “.1.3.6.1.4.1.3375.2.1.3.2.2.2.1.2”
[[inputs.snmp.field]]
name = “FanStatus”
oid = “.1.3.6.1.4.1.3375.2.1.3.2.1.2.1.2”
[[inputs.snmp.field]]
name = “CPUUsage”
oid = “.1.3.6.1.4.1.3375.2.1.7.5.2.1.27”
[[inputs.snmp.field]]
name = “MemoryUsage”
oid = “.1.3.6.1.4.1.3375.2.1.7.4.2”

When I want to add a new panel on Grafana, I’m unable to find those new measurement (FailoverStatus, PowerSupplyStatus…)

Snmp pooling is working correctly on oids and I have others Telegraf config files based exacly on the same way who are working great.

Also, there is no relevant errors on logs file.

Did I missed something ?

Thank for your help !
Thomas

Hi,

I would want to verify that metrics are getting to InfluxDB first. Do you at least see messages that metrics are written to the output?

Thanks!

Hi,
I figured out yesterday what happened and it seems oid on the original config file wasn’t correct.
So I have used those and now I can see metrics on InfluxDB :

System

name = “f5_system”
[inputs.snmp.tags]
cluster = “cluster_ASM”
[[inputs.snmp.field]]
name = “hostname”
oid = “RFC1213-MIB::sysName.0”
is_tag = true
[[inputs.snmp.field]]
name = “FailoverStatus”
oid = “.1.3.6.1.4.1.3375.2.1.14.3.2.0”

[[inputs.snmp.table]]
name = “virtual_server”
inherit_tags = [ “hostname” ]

oid = “F5-BIGIP-LOCAL-MIB::ltmVirtualServStatTable”

[[inputs.snmp.table.field]]
name = “ltmVirtualServStatName”

oid = “F5-BIGIP-LOCAL-MIB::ltmVirtualServStatName”

oid = “.1.3.6.1.4.1.3375.2.2.10.1.2.1.1”
is_tag = true
[[inputs.snmp.table.field]]
name = “ltmVirtualServStatClientCurConns”

oid = “F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientCurConns”

oid = “.1.3.6.1.4.1.3375.2.2.10.2.3.1.12”
[[inputs.snmp.table.field]]
name = “ltmVirtualServStatClientBytesIn”

oid = “F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientBytesIn”

oid = “.1.3.6.1.4.1.3375.2.2.10.2.3.1.7”
[[inputs.snmp.table.field]]
name = “ltmVirtualServStatClientBytesOut”

oid = “F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientBytesOut”

oid = “.1.3.6.1.4.1.3375.2.2.10.2.3.1.9”

Thanks :slight_smile: