Data not writing to influxdb

Hello team,

I worte my telegraf.conf to collect switch data, I used to get the data previously(last month) but now I am not able to see any data, din’t change my conf file.

When I am passing snmpwalk command on VM level I can see data, but not writing in influxdb.

Any help would be appreciated.

Thank you.

Hi @zakir,

A couple of initial trouble shooting things: Can you make sure that telelgraf is starting and running properly? Without any errors? You can look in the telegraf.log file to see if there are any errors on startup that might be causing this.

dg

Hello Davidgs,

Thanks for the reply,

Here is my telegraf.conf
[[inputs.snmp]]

agents = [ “switchIP”, “switchIP”, ]

## SNMPv3 auth parameters

interval = “10s”

sec_name = “public”

auth_protocol = “SHA” # Values: “MD5”, “SHA”, “”

auth_password = “mypassword”

sec_level = “authPriv” # Values: “noAuthNoPriv”, “authNoPriv”, “authPriv”

context_name = “”

priv_protocol = “AES” # Values: “DES”, “AES”, “”

priv_password = “mypassword”

version = 3

community = “public”

name = “snmp”

[[inputs.snmp.field]]

name = "hostname"

oid = "RFC1213-MIB::sysName.0"

is_tag = true

[[inputs.snmp.table]]

name = “snmp”

inherit_tags = [ “hostname” ]

oid = “IF-MIB::ifXTable”

[[inputs.snmp.field]]

name = “load”

oid = “.1.0.0.1.3”

[[inputs.snmp.table.field]]

name = “ifName”

oid = “IF-MIB::ifName”

is_tag = true

[[inputs.snmp.field]]

name = “uptime”

oid = “SNMP-FRAMEWORK-MIB::snmpEngineTime.0”

IF-MIB::ifTable contains counters on input and output traffic as well as errors and discards.

#[[inputs.snmp.table]]

name = “interface”

inherit_tags = [ “hostname” ]

oid = "IF-MIB::ifTable

#added more fields

[[inputs.snmp.field]]

name = “sysUpTime”

oid = “.1.3.6.1.2.1.1.3.0”

[[inputs.snmp.field]]

name = “dot1dBaseBridgeAddress”

oid = “.1.3.6.1.2.1.17.1.1.0”

is_tag = true

conversion = “hwaddr”

[[inputs.snmp.field]]

name = “entPhysicalName”

oid = “.1.3.6.1.2.1.47.1.1.1.1.7.1”

is_tag = true

[[inputs.snmp.field]]

name = “entPhysicalSerialNum”

oid = “.1.3.6.1.2.1.47.1.1.1.1.11.1”

is_tag = true

[[inputs.snmp.table.field]]

name = “ifIndex”

oid = “.1.3.6.1.2.1.2.2.1.1”

oid = “IF-MIB::ifIndex”

#last using

oid = “IF-MIB::=ifXEntry 1”

is_tag = true

[[inputs.snmp.table.field]]

name = “ifDescr”

oid = “.1.3.6.1.2.1.2.2.1.2”

is_tag = true

[[inputs.snmp.table.field]]

name = “ifPhysAddress”

oid = “.1.3.6.1.2.1.2.2.1.6”

is_tag = true

conversion = “hwaddr”

[[inputs.snmp.table.field]]

name = “ifSpeed”

oid = “.1.3.6.1.2.1.2.2.1.5”

[[inputs.snmp.table.field]]

name = “ifOperStatus”

oid = “.1.3.6.1.2.1.2.2.1.8”

[[inputs.snmp.table.field]]

name = “ifLastChange”

oid = “.1.3.6.1.2.1.2.2.1.9”

[[inputs.snmp.table.field]]

name = “ifInOctets”

oid = “.1.3.6.1.2.1.2.2.1.10”

[[inputs.snmp.table.field]]

name = “ifInErrors”

oid = “.1.3.6.1.2.1.2.2.1.14”

[[inputs.snmp.table.field]]

name = “ifOutOctets”

oid = “.1.3.6.1.2.1.2.2.1.16”

[[inputs.snmp.table.field]]

name = “ifOutErrors”

oid = “.1.3.6.1.2.1.2.2.1.20”

[[outputs.influxdb]]

urls = [“http://influxdb:8086”]

When I am passing snmpwalk command at VM level I could see data, I googled it, I need to properly set my telegraf.conf, but it was able collect data previously but not now.

Tried with influxdb and with IP Address, no result
urls = [“http://influxdb:8086”]
urls = [“[http://IPAddress:8086/)”]

Here is my telegraf.log

root@ubuntu:/etc/telegraf# cat telegraf.log
2019-05-15T11:07:57Z I! Loaded inputs: snmp
2019-05-15T11:07:57Z I! Loaded aggregators:
2019-05-15T11:07:57Z I! Loaded processors:
2019-05-15T11:07:57Z I! Loaded outputs: influxdb
2019-05-15T11:07:57Z I! Tags enabled: host=ubuntu
2019-05-15T11:07:57Z I! [agent] Config: Interval:1m0s, Quiet:false, Hostname:“ubuntu”, Flush Interval:20s
2019-05-15T11:07:57Z D! [agent] Connecting outputs
2019-05-15T11:07:57Z D! [agent] Attempting connection to output: influxdb
2019-05-15T11:07:57Z W! [outputs.influxdb] when writing to [http://localhost:8086]: database “” creation failed: Post http://localhost:8086/query: dial tcp [::1]:8086: connect: connection refused
2019-05-15T11:07:57Z D! [agent] Successfully connected to output: influxdb
2019-05-15T11:07:57Z D! [agent] Starting service inputs
2019-05-15T11:08:20Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:08:40Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:09:00Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:09:20Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:09:40Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:10:00Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-15T11:10:00Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-15T11:10:20Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:10:40Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:11:00Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:11:18Z D! [agent] Stopping service inputs
2019-05-15T11:11:18Z D! [agent] Input channel closed
2019-05-15T11:11:18Z I! [agent] Hang on, flushing any cached metrics before shutdown
2019-05-15T11:11:18Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-15T11:11:18Z D! [agent] Closing outputs
2019-05-15T11:11:18Z D! [agent] Stopped Successfully
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-15T11:11:24Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-15T11:13:17Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-15T11:13:39Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-15T12:04:03Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-15T12:19:26Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-15T12:32:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-16T04:46:04Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-16T04:46:05Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-16T04:46:05Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-16T04:46:05Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-16T04:50:01Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-16T05:29:57Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-16T05:29:57Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-16T05:29:57Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-16T05:29:57Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-16T05:45:33Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifXTable”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “IF-MIB::ifXTable.1”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptable” “-Ch” “-Cl” “-c” “public” “127.0.0.1” “IF-MIB::ifXTable”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifName”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInMulticastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifInBroadcastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutMulticastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifOutBroadcastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInOctets”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInUcastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInMulticastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCInBroadcastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutOctets”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutUcastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutMulticastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHCOutBroadcastPkts”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifLinkUpDownTrapEnable”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifHighSpeed”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifPromiscuousMode”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifConnectorPresent”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifAlias”
2019-05-16T11:58:08Z D! [inputs.snmp] Executing “snmptranslate” “-Td” “-Ob” “IF-MIB::ifCounterDiscontinuityTime”
2019-05-16T12:19:36Z I! Loaded inputs: snmp
2019-05-16T12:19:36Z I! Loaded aggregators:
2019-05-16T12:19:36Z I! Loaded processors:
2019-05-16T12:19:36Z I! Loaded outputs: influxdb
2019-05-16T12:19:36Z I! Tags enabled: host=ubuntu
2019-05-16T12:19:36Z I! [agent] Config: Interval:1m0s, Quiet:false, Hostname:“ubuntu”, Flush Interval:20s
2019-05-16T12:19:36Z D! [agent] Connecting outputs
2019-05-16T12:19:36Z D! [agent] Attempting connection to output: influxdb
2019-05-16T12:19:36Z W! [outputs.influxdb] when writing to [http://localhost:8086]: database “” creation failed: Post http://localhost:8086/query: dial tcp [::1]:8086: connect: connection refused
2019-05-16T12:19:36Z D! [agent] Successfully connected to output: influxdb
2019-05-16T12:19:36Z D! [agent] Starting service inputs
2019-05-16T12:19:47Z D! [agent] Stopping service inputs
2019-05-16T12:19:47Z D! [agent] Input channel closed
2019-05-16T12:19:47Z I! [agent] Hang on, flushing any cached metrics before shutdown
2019-05-16T12:19:47Z D! [outputs.influxdb] buffer fullness: 0 / 10000 metrics.
2019-05-16T12:19:47Z D! [agent] Closing outputs
2019-05-16T12:19:47Z D! [agent] Stopped Successfully

Dashboard, which is showing data of last 30 days, not the present.

Any help would be appreciated.

Thank you.

That bit right there looks to be your problem. The database you are trying to write to cannot be created. It appears that the name is a null value.

dg

This looks like a bug in the way Telegraf shows the database name in this log message (fix). I believe the core problem is the dial tcp [::1]:8086: connect: connection refused. This means that InfluxDB is not listening on this address.

Hello All,
Thanks foe the reply Davidgs and Daniel,

Here is my telegraf docker container logs

root@user:/opt/data/monitoring/docker-composer# docker exec -it bb8b3f87401f /bin/bash

bash-4.4# ls

bin entrypoint.sh home media proc run srv telegraf.log usr

dev etc lib mnt root sbin sys tmp var

bash-4.4# cat telegraf.log

2019-12-11T07:32:00Z I! Loaded inputs: inputs.snmp inputs.snmp inputs.ipmi_sensor inputs.vsphere

2019-12-11T07:32:00Z I! Loaded aggregators:

2019-12-11T07:32:00Z I! Loaded processors:

2019-12-11T07:32:00Z I! Loaded outputs: influxdb influxdb

2019-12-11T07:32:00Z I! Tags enabled: host=bb8b3f87401f

2019-12-11T07:32:00Z I! [agent] Config: Interval:3m0s, Quiet:false, Hostname:“bb8b3f87401f”, Flush Interval:10s

2019-12-11T07:32:00Z W! [outputs.influxdb] when writing to [http://influxdb:8086]: database “telegraf” creation failed: Post http://influxdb:8086/query: dial tcp 172.18.0.4:8086: connect: connection refused

2019-12-11T07:32:00Z W! [outputs.influxdb] when writing to [http://100.64.3.x:8086]: database “vmware” creation failed: Post http://100.64.3.x:8086/query: read tcp 172.18.0.6:40192->100.64.3.27:8086: read: connection reset by peer

2019-12-11T07:32:01Z I! [input.vsphere] Option query for maxQueryMetrics failed. Using default

Data was getting only for few days and half hard disk also free (50GB).

I don,t know why the data is not writing to database.

Any help would be appreciated.

Thank you.

Hello team,

Any suggestions please.

Thank you.