Ad Widget

Collapse

Modbus in Zabbix 6.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IPTC
    Junior Member
    • Aug 2019
    • 9

    #1

    Modbus in Zabbix 6.2

    Hi,

    I've recently been testing Zabbix 6.2 version, but I can't get data from my modbus devices as I used to in Zabbix 4.4.

    From the 4.4 version I have the following request key:
    modbus_read[enc://{$MODBUS_IP}:{$MODBUS_PORT},{$MODBUS_SLAVE},0,3,8* uint16]

    For the 6.2 version and reading the documentation on Modbus, it states the following:

    "Possible protocol values: rtu, ascii (Agent 2 only), tcp​" does this mean I wont be able to get information from a device that uses modbus encapsulated over tcp?

    The key is also a bit diferent and I've build the following request key for the 6.2 version:
    modbus.get[enc://{$MODBUS_IP}:{$MODBUS_PORT},{$MODBUS_SLAVE},0,3,8* uint16]
    ​I get the "unsupported item key" from my request.

    I really need to get these devices readings to upgrade my Zabbix version.

    Thanks.​
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Maybe stupid question, but what does the "tcp" protocol do then if it is not "encapsulated over tcp"?

    Markku

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #3
      I don't see modbus_read item in the Zabbix 4.4 agent, so what was that?

      modbus.get[] is an agent item in 6.2.

      Markku

      Comment

      Working...