Tietokoneiden näyttöjä, joissa näkyy kuvaa automaatiolaboratorion laitteistosta. Monitoreiden takana näkyy sama laitteisto kuin kuvissa.

timohei.net / My Courses / My Courses / Network Technologies for Automation / Zabbix / Zabbix and Industrial Protocols /
Zabbix and Industrial Protocols

Profinet

Profinet is an Ethernet-based industrial communication protocol used for industrial automation applications, and it is possible to monitor Profinet devices and network using Zabbix by configuring SNMP traps and Zabbix agents on the Profinet devices.

Profinet devices that support SNMP can be monitored using the SNMP agent and templates in Zabbix. You can use the MIB files provided by the device manufacturer to import the OID values and create custom templates for monitoring specific parameters and metrics amd the Profinet device's internal state.

To monitor Profinet devices and network using Zabbix, you will need to:

  1. Install Zabbix on a server
  2. Configure SNMP traps on Profinet devices to send traps to the Zabbix server
  3. Install and configure the Zabbix agent on Profinet devices to gather performance metrics and monitor the device's internal state.

Overall, Zabbix can be a powerful tool for monitoring Profinet devices and network, allowing you to track performance metrics, detect anomalies and issues, and troubleshoot problems before they impact production.

Example: Zabbix on Siemens S7-1200

  1. Enable SNMP on the Siemens S7-1200 PLC:
    • Open the Siemens TIA Portal software.
    • Open the project containing the S7-1200 PLC you want to monitor.
    • In the device configuration, navigate to the "Communication" tab.
    • Enable the "SNMP" checkbox and configure the SNMP settings, such as the SNMP version, community string, and trap destinations.
  2. Configure SNMP traps on the S7-1200 PLC:
    • In the TIA Portal software, navigate to the "System diagnostics" block in the device configuration.
    • Drag and drop the "SNMP trap" block to the desired location in the block diagram.
    • Configure the SNMP trap settings, such as the trap type, OID, and community string.
  3. Install and configure the Zabbix agent on the S7-1200 PLC:
    • Download the Zabbix agent binary for the S7-1200 PLC's operating system (usually Linux-based).
    • Copy the Zabbix agent binary to the S7-1200 PLC using a file transfer protocol, such as FTP or SCP.
    • Install the Zabbix agent binary on the S7-1200 PLC by running the appropriate command.
    • Configure the Zabbix agent settings, such as the Zabbix server IP address, port, and hostname.

Modbus

Zabbix can be also used to monitor Modbus devices using the Modbus plugin. The Modbus protocol is a common communication protocol used in industrial control systems to retrieve data from devices such as PLCs, sensors, and meters. Zabbix has built-in support for Modbus TCP and Modbus RTU, which are two common variants of the protocol. Zabbix can be used to monitor Modbus devices and retrieve data using Modbus registers.

To monitor Modbus devices in Zabbix, you can follow these steps:

  1. Install the Modbus plugin: The Modbus plugin is not installed by default in Zabbix, so you'll need to download and install it manually. You can find the plugin on the Zabbix website or on Github.
  2. Configure the Modbus plugin: Once you have installed the Modbus plugin, you'll need to configure it to connect to your Modbus devices. This involves specifying the IP address or serial port of the device, the Modbus address or register to read, and the data type of the register (such as float, integer, or string).
  3. Create a Zabbix item: After configuring the Modbus plugin, you can create a Zabbix item to monitor the data from the Modbus device. You can choose the type of item based on the data type of the Modbus register, such as numeric, text, or log.
  4. Assign the item to a host: Once you have created the item, you can assign it to a Zabbix host that represents the Modbus device. This will allow you to track the performance metrics and receive alerts if the data exceeds a certain threshold or if the device goes offline.

Overall, using Zabbix to monitor Modbus devices can provide valuable insights into the performance and health of your industrial control systems, allowing you to proactively detect issues and minimize downtime.

Updated 12.4.2023

© Timo Heikkinen | timo piste heikkinen at oamk piste fi