# How to configure collectd for influxdb 1.8

**URL:** <https://community.influxdata.com/t/how-to-configure-collectd-for-influxdb-1-8/18916>\
**Category:** Telegraf\
**Tags:** influxdb, collectd\
**Created:** [March 16, 2021, 5:32pm UTC](https://community.influxdata.com/t/how-to-configure-collectd-for-influxdb-1-8/18916 "2021-03-16T17:32:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arm-user](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@arm-user](https://community.influxdata.com/u/arm-user)\
**Post date:** [March 16, 2021, 5:32pm UTC](https://community.influxdata.com/t/how-to-configure-collectd-for-influxdb-1-8/18916/1 "2021-03-16T17:32:50Z")

</div>

Hello,

I’ve problems to with the collectd plugin of influxdb, running on Fedora Server 33.

After long tests I had a working configuration for version 1.8.3 (influxdb-1.8.4\_linux\_armhf.tar.gz) but I lost this configuration during updating to v1.8.4 (influxdb-1.8.4\_linux\_armhf.tar.gz). With the lost configuration collectd on OpenWrt was able to write data to InfluxDB, but now the data will not written to database, even with firewalld disabled. OpenWrt send data to the IPv4 address (verified with tcpdump).

Following configuration is defined for collectd plugin (reported by influxd config):  
[[collectd]]  
enabled = true  
bind-address = “:25826”  
database = “collectd”  
retention-policy = “”  
batch-size = 5000  
batch-pending = 10  
batch-timeout = “10s”  
read-buffer = 0  
typesdb = “/usr/share/collectd”  
security-level = “none”  
auth-file = “/etc/collectd/auth\_file”  
parse-multivalue-plugin = “split”

InfluxDB is only listening to UDPv6:  
netstat -tulpen | grep influxd  
tcp 0 0 127.0.0.1:8088 0.0.0.0:\* LISTEN 986 39190 828/influxd  
tcp6 0 0 :::8086 :::\* LISTEN 986 37840 828/influxd  
udp6 0 0 :::25826 :::\* 986 37841 828/influxd  
I forced IPv4 only in systemd unit or used fixed IPv4 address, the new OpenWrt data is not written to database.

What is necessary to make InfluxDB listen on UDPv4 and UDPv6? How to debug why data is not written to database?

Thanks in advance!
