Skip to content

[inputs.exec]: metric parse error: expected field at offset 110:  #4063

@timcooijmans

Description

@timcooijmans

Hi,

My previously working input.exec script suddenly doesn't work anymore since the update to Telegraf 1.6.0.

I'm getting the following error:
Error in plugin [inputs.exec]: metric parse error: expected field at offset 110: "energy,meter=main imported_1=23786.317,exported_1=469.162,imported_2=23870.795,exported_2=1060.053,l1_import=00.254,l1_export=00.000,l2_import=00.201,l2_export=00.000,l3_import=00.693,l3_export=00.000\n"

Config:

[[inputs.exec]]
        commands = ["python /etc/telegraf/readmeter.py"]
        timeout = "20s"
        data_format = "influx"

Any idea what's going wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behaviorregressionsomething that used to work, but is now broken

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions