My plan is to use telegraf to read opc-ua data from a wago sps as an input and send the data as output to my influxdb database. Other plugins do work such as the mqtt plugin...so i can verify that the influxdb is correctly set up.
in the my telegraf.config ...
# Retrieve data from OPCUA devices
[[inputs.opcua]]
name = "opcua"
endpoint = "opc.tcp://192.168.178.97:4840"
connect_timeout = "10s"
request_timeout = "5s"
security_policy = "None"
security_mode = "None"
auth_method = "UserName"
username = "admin"
password = "wago"
[[inputs.opcua.group]]
namespace ="4"
identifier_type ="s"
nodes = [
{name="IIoTgateway_xHeartbeat", namespace="4", identifier_type="s", identifier="|var|WAGO 750-8212 PFC200 G2 2ETH RS.Application.GVL_STATUS_PRG.IIoTgateway_xHeartbeat"},
]
Using the tool UA Expert...i can verify that the xHeartbeat changes every 1s...

logs of telegraf plugin looks also good ....

logging into the database (influxdb) i see the variable but not any change... What is wrong here ? In the docs of telegraf there is a statement ...about set the namespaceIndex ..number from 0 to 3....could this be the problem since my namespaceIndex is 4 ?
