v-zhuravlev / libzbxmodbus

Loadable module to integrate Modbus (RTU, TCP and encapsulated) into Zabbix. Bulk data collection included.
https://share.zabbix.com/dir-libraries/zabbix-loadable-modules/modbus-loadable-module
GNU General Public License v2.0
50 stars 25 forks source link

Set timeout for requests #8

Closed phmazzoni closed 8 years ago

phmazzoni commented 8 years ago

Hello,

First, thank you so much for the module, it is really great! Congrats! One question: Is it possible to set the timeout for the requests?

Thanks in advance, Pedro Mazzoni

v-zhuravlev commented 8 years ago

Thanks. What kind of timeout are you talking about?

v-zhuravlev commented 8 years ago

Also please check what version of libmodbus you are using - 3.0.6 (latest stable) has problems with timeouts. I recommend to use 3.1.2

v-zhuravlev commented 8 years ago

Timeouts configuration implemented in v0.5 (also see issue #11)