Skip to content

henthornlab/opcua-telegraf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

OPC UA Input Plugin

Allows for the collection of metrics from an OPC UA server. Currently supports anonymous (no) authentication. Certificates are not supported at this time.

To use this plugin you will need the following:

  1. Knowledge of your OPC UA server's address, port, and endpoint. For example: opc.tcp://server.com:4840/endpoint
  2. Knowledge of the Node IDs of the tags you wish to monitor. For example: ns=1;i=51028

It is recommended to download a high quality OPC UA client (Prosys, UA Expert, etc.) which will allow you to browse your server. Record the Node IDs of the desired tags and enter them in the config portion of telegraf.

Configuration

  ## OPC-UA Connection Configuration
  ##
  ## The plugin designed to connect to OPC UA devices
  ## Currently supports anonymous mode only
  ##
  ## Name given to OPC UA server for logging and tags
  ServerName = "Device"
  ## URL including endpoint. Only anonymous logins at this point
  URL = "opc.tcp://localhost.com:4840/endpoint"

  ## List of Nodes to monitor including Tag (name), NodeID, and the absolute deviation (set to 0.0 to record all points)
  ## AtLeastEvery forces an update on the point in Golang time, "10s", "30m", "24h", etc.
  Nodes = [
  {Tag = "HeatExchanger1 Temp", NodeID = "ns=2;s=TE-800-07/AI1/PV.CV", AbsDeviation = 0.10, AtLeastEvery = "30s"},
  {Tag = "Heat Exchanger1 Pressure", NodeID = "ns=2;i=1234", AbsDeviation = 0.0, AtLeastEvery = "1h"},
  ]

Tested Configurations

Open62541 Test server (https://github.com/open62541/open62541) in anonymous mode

DeltaV 14.3.1 in anonymous mode

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages