diff --git a/plugins/inputs/modbus/README.md b/plugins/inputs/modbus/README.md index 9983d84e2..ce0e59764 100644 --- a/plugins/inputs/modbus/README.md +++ b/plugins/inputs/modbus/README.md @@ -305,7 +305,7 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details. { register="coil", address=1, name="status_ok"}, { register="holding", address=0, name="voltage", type="INT16" }, { address=1, name="current", type="INT32", scale=0.001 }, - { address=5, name="energy", type="FLOAT32", scale=0.001,}, + { address=5, name="energy", type="FLOAT32", scale=0.001 }, { address=7, name="frequency", type="UINT32", scale=0.1 }, { address=8, name="power_factor", type="INT64", scale=0.01 }, { address=9, name="firmware", type="STRING", length=8 }, diff --git a/plugins/inputs/modbus/sample_metric.conf b/plugins/inputs/modbus/sample_metric.conf index 5eb10979b..8f0de7aa6 100644 --- a/plugins/inputs/modbus/sample_metric.conf +++ b/plugins/inputs/modbus/sample_metric.conf @@ -59,7 +59,7 @@ { register="coil", address=1, name="status_ok"}, { register="holding", address=0, name="voltage", type="INT16" }, { address=1, name="current", type="INT32", scale=0.001 }, - { address=5, name="energy", type="FLOAT32", scale=0.001,}, + { address=5, name="energy", type="FLOAT32", scale=0.001 }, { address=7, name="frequency", type="UINT32", scale=0.1 }, { address=8, name="power_factor", type="INT64", scale=0.01 }, { address=9, name="firmware", type="STRING", length=8 },