4 Modbus plugin

Overview

This section lists parameters supported in the Modbus Zabbix agent 2 plugin configuration file (modbus.conf).

Note that:

  • The default values reflect process defaults, not the values in the shipped configuration files;
  • Zabbix supports configuration files only in UTF-8 encoding without BOM;
  • Comments starting with “#” are only supported at the beginning of the line.

Parameters

ParameterMandatoryRangeDefaultDescription
Plugins.Modbus.Sessions.<SessionName>.EndpointnoEndpoint is a connection string consisting of a protocol scheme, a host address and a port or serial port name and attributes.
<SessionName> - define name of a session for using in item keys.
Plugins.Modbus.Sessions.<SessionName>.SlaveIDnoSlave ID of a named session.
<SessionName> - define name of a session for using in item keys.
Example: Plugins.Modbus.Sessions.MB1.SlaveID=20
Note that this named session parameter is checked only if the value provided in the item key slave ID parameter is empty.
Plugins.Modbus.Sessions.<SessionName>.TimeoutnoTimeout of a named session.
<SessionName> - define name of a session for using in item keys.
Example: Plugins.Modbus.Sessions.MB1.Timeout=2
Plugins.Modbus.Timeoutno1-30global timeoutRequest execution timeout (how long to wait for a request to complete before shutting it down).

See also: