OPC Unified Architecture (OPC UA) is a communication protocol for industrial automation developed by the OPC Foundation and released in 2006. The current version is 1.04 (released in 2017) and includes publish/subscribe and a client/server communications infrastructure. APIs are available in several programming languages both as a commercial SDK and open source stacks. The open source stacks include language support for C, C#, C++, JavaScript, GoLang, Python, Java, and Rust.

Why use the OPC-UA Telegraf plugin?

The OPC-UA Telegraf plugin helps you gather metrics from client devices using the OPC-UA protocol. Most industrial settings will have equipment from a number of manufacturers that will also have support for protocols other than OPC-UA. The nice thing about using Telegraf is that it has support for many of the protocols used in the industrial use case, so using this OPC-UA Telegraf Plugin allows you to avoid having to pay excessive fees to build collectors to gather information into your traditional historian solution. In addition, building new Telegraf plugins is straightforward and can be done alone or with the help of the community.

How to monitor your industrial systems using the OPC-UA Telegraf Plugin

If your endpoints utilize the OPC-UA protocol, you can easily configure this OPC-UA Telegraf Plugin to gather any and all of the metrics from those endpoints. Configuration options include:

  • Metric name
  • OPC UA Endpoint URL
  • Maximum time allowed to establish a connect to the endpoint
  • Maximum time allowed for a request over the established connection
  • Security policy
  • Security mode
  • Path to certificate
  • Path to private key
  • Authentication Method
  • Node ID configuration
  • Name - field name to use in the output
  • Namespace - OPC UA namespace of the node (integer value 0 thru 3)
  • Identifier_type - OPC UA ID type (s=string, i=numeric, g=guid, b=opaque)
  • Identifier - OPC UA ID (tag as shown in opcua browser)
  • Tags - extra tags to be added to the output metric (optional)

Key OPC-UA metrics to monitor

The metrics that you collect from your endpoints using the OPC-UA Telegraf plugin will vary from device to device. They can include metrics like:

  • Instrument readings (flow rate, valve position, temperature)
  • Performance monitoring (units/hour, machine utilization vs. capacity, scheduled vs. unscheduled outages)
  • Environmental readings (weather, atmospheric conditions, groundwater contamination)
  • Production status (machine up/down, downtime reason tracking)

For more information, please check out the documentation.

Project URL   Documentation

Related Resources

MQTT Consumer Telegraf Input Plugin

The MQTT Telegraf Plugin pulls metrics from apps, infrastructure and even sensors.

Kafka Monitoring Template

A Kafka monitoring template to help you visualize everything to ensure you don't miss anything important as it is happening.

Industrial IoT monitoring with InfluxDB

InfluxDB is central to many IIoT data historian solutions providing high throughput ingestion, compression and real-time querying.

Scroll to Top