[global_tags] [agent] interval = "10s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "100ms" flush_jitter = "0s" precision = "ms" hostname = "" omit_hostname = false [[outputs.file]] files = ["stdout"] data_format = "influx" ############################################################################### # INPUT PLUGINS # ############################################################################### [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "V" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19000, 19001]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19002, 19003]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19004, 19005]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "I" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19012, 19011]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19014, 19015]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19016, 19017]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "P" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19020, 19021]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19022, 19023]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19024, 19025]}, {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19026, 19027]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "S" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19028, 19029]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19030, 19031]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19032, 19033]}, {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19034, 19035]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "Q" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19036, 19037]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19038, 19039]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19040, 19041]}, {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19042, 19043]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "CosPhi" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19044, 19045]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19046, 19047]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19048, 19049]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "f" holding_registers = [ {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1.0, address = [19050, 19051]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "W" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19054, 19055]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19056, 19057]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19058, 19059]}, {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19060, 19061]}, {name = "in_L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19062, 19063]}, {name = "in_L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19064, 19065]}, {name = "in_L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19066, 19067]}, {name = "in", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19068, 19069]}, {name = "out_L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19070, 19071]}, {name = "out_L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19072, 19073]}, {name = "out_L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19074, 19075]}, {name = "out", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19076, 19077]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "Ws" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19078, 19079]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19080, 19081]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19082, 19083]}, {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19084, 19085]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "Wq" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19086, 19087]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19088, 19089]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19090, 19091]}, {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19092, 19093]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "Wq_ind" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19094, 19095]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19096, 19097]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19098, 19099]}, {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19100, 19101]}, ] [[inputs.modbus]] name = "Electric_MB" controller = "tcp://192.168.1.1:502" slave_id = 1 timeout = "1s" name_override = "Wq_cap" holding_registers = [ {name = "L1", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19102, 19103]}, {name = "L2", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19104, 19105]}, {name = "L3", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19106, 19107]}, {name = "value", byte_order = "ABCD", data_type = "FLOAT32", scale=1000.0, address = [19108, 19110]}, ]