8000 LVM plugin breaks with russian locale · Issue #3181 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
LVM plugin breaks with russian locale #3181
Closed
@Self-Perfection

Description

@Self-Perfection
  • 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0