OPCUA - Access session timeout parameter from Telegraf #15258
Labels
feature request
Requests for new plugin and for new features to existing plugins
help wanted
Request for community participation, code, contribution
size/s
1 day effort, great beginniner issue
Use Case
Telegraf uses default session configuration parameters from gopcua, as defined here : https://github.com/gopcua/opcua/blob/main/config.go#L40
Namely, the session timeout is set to 20 minutes. I connect to PLC that have only a few PCUA session slots available (typically, 5 to 10). Often, I max out the session slots (I do not know why), and end up with a "BadTooManySessionError" - and have to wait for the 20 minutes timout to expire.
Expected behavior
I'd like to add a parameter to Telegraf OPCUA plugins configuration "session_timeout".
Actual behavior
I am not aware of any workaround, sadly.
Additional info
I don't know Go, but I can try to start a PR, if that's OK.
The text was updated successfully, but these errors were encountered: