Hello Everyone
I am actually a beginner with Influx and Telegraf. I am running InfluxDB on a Proxmox Cluster in LXC. Telegraf is running on the cluster nodes. For this specific failure I didn’t find any useful help yet. May be someone here have had a similar issue and a solution for it.
Proxmox Version and Metrics Server Config
pve-cluster: 7.1-3
/etc/pve/status.cfg
influxdb: shift-rmm
server 127.0.0.1
port 8089
InfluxDB Version
InfluxDB 2.1.1
Telegraf Version and Config on the Node to collect Proxmox metrics
Telegraf 1.21.2
# Telegraf Configuration
[global_tags]
# Configuration for telegraf agent
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
hostname = ""
omit_hostname = false
[[outputs.influxdb_v2]]
urls = ["http://192.xx.yy.zz:8086"]
token = "$INFLUX_TOKEN"
organization = "my_org"
bucket = "my_bucket"
# Gather metrics from proxmox based on what is in /etc/pve/setup.cfg
[[inputs.socket_listener]]
service_address = "udp://:8089"
I have started (again) with a brand new and empty bucket to collect the Proxmox metrics but unfortunately the first start of Telegraf brought up the following failures.
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z I! Starting Telegraf 1.21.2
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z W! DeprecationWarning: Plugin "inputs.io" deprecated since version 0.10.0 and will be removed in 2.0.0: use 'inputs.diskio' instead
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z I! Loaded inputs: cpu (2x) disk (2x) diskio (3x) ipmi_sensor kernel (2x) kernel_vmstat linux_sysctl_fs mem (2x) net netstat nstat processes (2x) socket_listener swap (2x) system (2x) systemd_units zfs
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z I! Loaded aggregators:
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z I! Loaded processors:
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z I! Loaded outputs: influxdb_v2 (2x)
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z I! Tags enabled: host=Hostname-Node
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z W! Deprecated inputs: 1 and 0 options
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"Hostname-Node", Flush Interval:10s
Jan 29 06:09:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:30Z I! [inputs.socket_listener] Listening on udp://[::]:8089
Jan 29 06:09:40 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:40Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:09:40 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:40Z E! [outputs.influxdb_v2] When writing to [http://192.xxx.yyy.zzz:8086]: 500 Internal Server Error: internal error: unexpected error writing points to database: field type conflict
Jan 29 06:09:40 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:40Z E! [agent] Error writing to outputs.influxdb_v2: 500 Internal Server Error: internal error: unexpected error writing points to database: field type conflict
Jan 29 06:09:50 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:50Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:09:50 Hostname-Node telegraf[1312609]: 2022-01-29T05:09:50Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type integer, already exists as type float dropped=4
Jan 29 06:10:00 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:00Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:10:00 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:00Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type integer, already exists as type float dropped=2
Jan 29 06:10:10 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:10Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:10:10 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:10Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type integer, already exists as type float dropped=2
Jan 29 06:10:20 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:20Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:10:20 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:20Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type integer, already exists as type float dropped=2
Jan 29 06:10:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:30Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type integer, already exists as type float dropped=2
Jan 29 06:10:30 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:30Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:10:40 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:40Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type integer, already exists as type float dropped=2
Jan 29 06:10:40 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:40Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:10:50 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:50Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:10:50 Hostname-Node telegraf[1312609]: 2022-01-29T05:10:50Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type integer, already exists as type float dropped=2
Jan 29 06:11:00 Hostname-Node telegraf[1312609]: 2022-01-29T05:11:00Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type float, already exists as type integer dropped=12
Jan 29 06:11:00 Hostname-Node telegraf[1312609]: 2022-01-29T05:11:00Z E! [outputs.influxdb_v2] Failed to write metric (will be dropped: 422 Unprocessable Entity): unprocessable entity: failure writing points to database: partial write: field type conflict: input field "uptime" on measurement "system" is type integer, already exists as type float dropped=2