Hello,
I have Zabbix version:
I need to add modbus TCP device to Zabbix.
When I using mbpoll, I get correct data:
But if I try to do the same with Zabbix I get:
Does anyone know what the issue is and how to fix it?
I have Zabbix version:
Code:
# zabbix_server -V zabbix_server (Zabbix) 6.0.15 Revision 287da69c170 31 March 2023, compilation time: Mar 31 2023 11:54:32
I need to add modbus TCP device to Zabbix.
When I using mbpoll, I get correct data:
Code:
# mbpoll -m tcp 10.10.11.110 -a 255 -t 4:float -r 2018 -1 -B
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.
Protocol configuration: Modbus TCP
Slave configuration...: address = [255]
start reference = 2018, count = 1
Communication.........: 10.10.11.110, port 502, t/o 1.00 s, poll rate 1000 ms
Data type.............: 32-bit float (big endian), output (holding) register table
-- Polling slave 255...
[2018]: 230
Code:
# zabbix_agent2 --test "modbus.get[tcp://10.10.11.110:502,255,3,2018,2,float,be,0]" modbus.get[tcp://10.10.11.110:502,255,3,2018,2,float,be,0][m|ZBX_NOTSUPPORTED] [Unable to read: modbus: exception '3' (illegal data value), function '131']
Comment