Plugins 〉OPC UA (Unified Architecture)
The OPC UA (Unified Architecture) plugin has been deprecated and is no longer maintained.
OPC UA (Unified Architecture)
OPC UA Datasource plugin for Grafana
STATUS
[!CAUTION] This plugin is now deprecated. This deprecation means that this plugin won't receive any feature updates or bug fixes except critical security fixes. After 6 months (End of June 2024), the plugin will reach EOL and there won't be any fixes afterwards. Existing installations of the plugin will continue to work. Reach out to Grafana Community Forum if you need any further assistance on this plugin.
Introduction
Utilizing the datasource plugin framework, this projects allows you to access data from OPC UA servers directly from Grafana.
What works
- Browsing and adding multiple servers
- Authenticated connection with certificate or no security
- Graphical query editor
- Data Access (DA)
- Historical Access (HA / HDA)
- Alarms & Conditions (AC / AE)
What needs to be implemented
- OPCUA DA Subscriptions: These are the ones where you will not need to hit the refresh button. If you have subscribed to a data point at 500ms, you will get an unsolicited update every 500ms.
- Password authentication
- Two-way communication with the OPC UA server (currently read only)
Description and Architecture
This plugin uses GRPC and a C# backend to communicate with Grafana directly. See pkg/dotnet
directory for the backend component
Building
yarn install
to install dependenciesyarn build | yarn dev
to build the pluginmake build
to build the backend component
Restart Grafana and you should have the datasource installed.
Contributing
Contributions that addresses the needs above or other feature you'd like to see are most welcome. Fork the project and commit a PR with your requests.
is a proud contributor Open Software like this project and open standards like OPC UA fits perfectly with our quest to give our clients the freedom to operate. To know more about our offerings and get in touch, check out https://prediktor.com.
Q&A
Q: Can it read OPC Classic DA/HDA/AE?
A: Yes, provided use use the OPC Foundations COMIOP wrapper, which you can find here. You will need to configure IOP to wrap your OPC COM server. Tested against Matrikon OPC Desktop Historian and Matrikon OPC Simulation Server.
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
.h4 . .mb-0 }
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Installing OPC UA (Unified Architecture) on Grafana Cloud:
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
For more information, visit the docs on plugin installation.
Installing on a local Grafana:
For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.
1. Install the Data Source
Use the grafana-cli tool to install OPC UA (Unified Architecture) from the commandline:
grafana-cli plugins install
The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.
Alternatively, you can manually download the .zip file for your architecture below and unpack it into your grafana plugins directory.
Alternatively, you can manually download the .zip file and unpack it into your grafana plugins directory.
2. Configure the Data Source
Accessed from the Grafana main menu, newly installed data sources can be added immediately within the Data Sources section.
Next, click the Add data source button in the upper right. The data source will be available for selection in the Type select box.
To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.
Change Log
[1.3.8] - 2024-01-10
- Plugin officially marked as deprecated. This deprecation means that this plugin won’t receive any feature updates or bug fixes except critical security fixes. After 6 months (End of June 2024), the plugin will reach EOL and there won’t be any fixes afterwards.
[1.3.7] - 2024-01-03
- 1.3.6 was not published properly, so this is a re-release of 1.3.6
[1.3.6] - 2023-09-29
- Updated to grafana 10
- Various changes to support updated coding standards
- Fixed issue #82 - Unable to fill in url-field in datasource
[1.2.0-beta.1] - 2022-05-06
- Added the ability to select timestamps from either the OPC server, or OPC client/device/source
[1.1.6] - 2022-04-05
- Removed all references to Dashboard Mapping (dashboard.db)
- Exchanged BinaryFormatter for BinaryWriter due to security issues with BinaryFormatter
[1.1.5] - 2022-01-24
- Fixed issue with dynamic files in the MANIFEST.txt
- Removed log4net; all logging goes through grafana logs
- The dashboard mapping database, dashboardmapping.db, is moved out of the plugins directory. If the file already exists in the old location, it will be moved
[1.1.4] - 2021-11-14
- Plugin published on grafana.com
[1.1.2] - 2021-06-10
- Mostly fixes needed for Successfully registering in the Grafana Plugin Registry
[1.0.1] - 2021-05-6
- Exchanged the UA Client to Prediktor.UA.Client (https://www.nuget.org/packages/Prediktor.UA.Client/)
- Added Alarms and Events; historic and subscription
- Config UI and persistence have been changed, not backwards compatible
- Added support for dashboard mapping from instance/type. This is to support complementary Grafana panel plugins at https://github.com/PrediktorAS/grafana
[1.0.0] - 2020-06-15
- Initial official release that will be submitted to grafana.com
- OPC DA/HDA reads working
- Certificate and "no security" authentication working