Skip to content

OPC Router Docker Sample for a Umati MSSQL communication with Grafana Dashboard

Notifications You must be signed in to change notification settings

OPC-Router/opc-ua-umati-mssql-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

OPC Router Docker Sample

OPC Router Docker Sample for a Umati MSSQL communication with Grafana Dashboard.
OPC Router - Contact

tl;dr

Windows Powershell

$(Invoke-WebRequest https://docker.opc-router.cloud/opc-ua-umati-mssql-grafana/win -UseBasicParsing).Content | iex

Linux

Download via curl:

bash <(curl -sSLf https://docker.opc-router.cloud/opc-ua-umati-mssql-grafana/linux)

Download via wget:

bash <(wget -O - https://docker.opc-router.cloud/opc-ua-umati-mssql-grafana/linux)

If something is unclear, please read our documentation for this sample.
Should your question still not be answered, feel free to contact us

About the Sample

Content

General Information

The OPC Router 5 is generally structured in two parts:

  • The Runtime
  • Web Management with the user interface

The two components may run on two completely different systems.
To set/edit the OPC Router 4, it is connected to the OPC Router Runtime via OPC Router Management, this abstraction allows the settings to be made remotely.

What is the sample doing?

  • This docker sample is a fully functional OPC Router 5 project sample.
  • The goal is to use an Umati OPC UA server, with the help of the OPC Router 5, to store data in an MSSQL database and visualize it through Grafana.

GitHub-Mark-Light GitHub-Mark-Dark

Components

Getting Started

Prerequisites

For both operating systems, there are prerequisites that must already be met:

  • Connection to the Internet
  • Browser (If you are using Firefox then use a Version greater than 95.0.1)

Windows

A system with Docker installed is a prerequisite for the project. This same system is required to have internet access. If you don't have Docker installed yet, you can download it here.

  • Docker

Linux

In order to download and install the sample on Linux there are specific requirements

  • wget or curl
  • root user rights (Only for the installation of docker-runtime and docker-compose)

automatic Installation:

💡 When installing on a Linux-based machine, all required applications can be installed automatically, this is done during setup.

manual Installation:

⚠️ If you do not want the applications to be installed automatically, you must do this manually:

  • Docker
  • Docker-compose

Installation

Now open the command line after you have installed the required software for your operating system:
❕This process may take up to a couple of minutes❕

Windows Powershell

$(Invoke-WebRequest https://docker.opc-router.cloud/opc-ua-umati-mssql-grafana/win -UseBasicParsing).Content | iex

Linux

Download via curl:

bash <(curl -sSLf https://docker.opc-router.cloud/opc-ua-umati-mssql-grafana/linux)

Download via wget:

bash <(wget -O - https://docker.opc-router.cloud/opc-ua-umati-mssql-grafana/linux)

Ready to Use

You should now have installed everything successfully and you can now explore the possibilities of the OPC Router.
If something unexpectedly fails here, feel free to contact us

Usage

Grafana

Grafana is started directly with the installation and can now be viewed directly. Now you only have to call the address http://localhost:3000/ to the interface with your browser and see the visualized data directly. Grafana-Light Grafana-Dark

❗ Make sure that you can only call the localhost address if you are on the device that is also used for the Docker installation, otherwise you have to call the address of the device on which the Docker installation is located.

OPC Router Management

If you want to view the communication between the Umati OPC UA server and the OPC Router Runtime which serves as middleware that forwards the data to the MSSQL database, open your browser and go to the page http://localhost:8080/ to see the active connection status in OPC Router Management.

Now you can see the current and previous transfer data, this allows a direct insight into the traffic and the interaction of the individual plug-ins.

💡 The overview allows you to follow the actions of the OPC Router (the green dots in the timeline), in case of possible errors you can see here exactly where the error comes from.

Contact

If you have any questions or even problems with the implementation of the sample, feel free to contact us