Modbus
Added in version 4.4.
NetXMS can collect data via the Modbus-TCP protocol. Data collection is performed by the NetXMS server or by NetXMS agents operating in proxy mode.
To enable agent operation as a Modbus proxy, add EnableModbusProxy=yes to
the agent configuration file and restart the agent.
The metric for Modbus data collection items has a special format denoting the type of Modbus unit id, register type, register address and the way how obtained data should be interpreted:
[[unit-id:]register-type:]register-address[|conversion]
Metric component |
Description |
|---|---|
unit-id |
Modbus unit ID. Optional, if used, should be specified without [ ]. To
use it, |
register-type |
Type of Modbus register. Optional, if not specified,
|
register-address |
Address of Modbus register. Can be provided as decimal number or
hexadecimal number prefixed by |
conversion |
Conversion of Modbus data. Optional, if not specified,
|
Modbus metric examples
0x2Ainput:810|int16input:55|float