Ad Widget

Collapse

Zabbix and MODBUS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jason-TELUS
    Junior Member
    • Jan 2024
    • 9

    #1

    Zabbix and MODBUS

    Hello everyone,

    I have a Zabbix 6.0 server and proxy server. Both are setup as docker containers on separate machines and both also have a Zabbix agent running. This setup monitors close to 10,000 SNMP hosts and works really well. I've been tasked to look into MODBUS and see if we can monitor the MODBUS devices that are on the same network as all of our SNMP hosts. Each MODBUS unit has it's own individual IP and uses port 502. I wrote python code to test connectivity using the pyModbusTCP library and I can connect from the proxy server to the devices and query a MODBUS address at the device. IS there a good tutorial that walks through the setup required on the Zabbix server/proxy server to make this work? I'm very new to MODBUS and to be honest I don't see any item options for MODBUS in the item creation windows.

    any help would be appreciated.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Zabbix agent natively supports working with modbus - see the documentation. and more

    Comment

    • Jason-TELUS
      Junior Member
      • Jan 2024
      • 9

      #3
      I have read that documentation. However I'm still confused as to how to setup a template that I can use for all of the devices. for example, each device would have the same modbus address I want to read at address 42. I assume I have to have an item key that would be Type: zabbix agent and the key would be modbus.get[tcp://{HOST.IP}:502,1,1,42,1,bit,be,0]

      Am I on the right track here?

      Comment


      • Hamardaban
        Hamardaban commented
        Editing a comment
        Yeah
        ……………..
    Working...