Closed
Description
- Version of collectd: 5.8.1
- Operating system / distribution: Arch linux
Expected behavior
Collectd should collect data regardless of locale.
Actual behavior
When running with LANG=ru_RU.UTF-8 in envirnoment and enabling LVM plugin collectd can't create rrd files for LVM plugin data.
Steps to reproduce
- Make sure there is no rrd files for LVm plugin
- uncomment LVM plugin in config and run collectd as
LANG=ru_RU.UTF-8 collectd
- Observe in logs something like:
июн 19 00:43:29 lvm[15599]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
июн 19 00:43:29 lvm[15599]: rrdtool plugin: rrd_create_r (localhost.localdomain/lvm-vg01/df_complex-root.rrd) failed: parsing min val - Converted '0,000000' to 0,000000, but cannot convert ',000000'
июн 19 00:43:29 lvm[15599]: cu_rrd_create_file: srrd_create (localhost.localdomain/lvm-vg01/df_complex-root.rrd) returned status -1.
Looks like locale-aware function is used somewhere to dispatch value from LVM plugin,
Metadata
Metadata
Assignees
Labels
No labels