PLCNEXT 2152 Grafana over OPCUA

Hello,
i’ve trouble with connection a plcnext 2152 with grafana trough OPCUA.
I have the plugin for OPCUA but i’m not able to let it connect to the PLC, is there a guide or a example on what to do?


I probably have the same issue, i’m unable to make connection trough OPCUA and the PLC.

I did manage to connect it with influxdb trough telegraf but not directly.

To help identify the source of the problem - have you been able to connect Grafana to any other OPC UA server?

To help identify the source of the problem - have you been able to connect Grafana to any other OPC UA server?</p>

This is a two fold answer:

                                          1. the grafana server on the PLC, I get the error (Plugin unavailable)
                                          2. The grafana server on another device, that can connect to other OPCUA Servers. Gives the error on PLCNEXT 2152 (Bad gateway) or (Plugin health check failed)

To help identify the source of the problem - have you been able to connect Grafana to any other OPC UA server?</p>

This is a two fold answer:

                                          1. the grafana server on the PLC, I get the error (Plugin unavailable)
                                          2. The grafana server on another device, that can connect to other OPCUA Servers. Gives the error on PLCNEXT 2152 (Bad gateway) or (Plugin health check faile))

I can reproduce this error with that plug-in, and nothing I have tried fixes it.
In UaExpert, you can see that two things are needed to connect to the server in the PLC:

                                          1. A username and password.
                                          2. The server certificate must be trusted. This can be done by putting the server certificate in UaExpert's "Trust Store".

For the Grafana plugin, it looks like one or both of these steps are failing. I don’t know if the plugin is providing the username and password to the server; and I don’t know how to tell the plug-in to trust the server certificate, e.g. I don’t know where the “Trust Store” is for this OPC UA client. I tried installing the server certificate in the Windows certificate store, but that didn’t help.
I suggest that you contact the developer of the plugin and explain that the connection to this OPC UA server can be made perfectly well with UaExpert, but not with the Grafana OPC UA plug-in.