ServerDiagnosticsSummary missing in OPC Reference Server (.net Standard)|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
ServerDiagnosticsSummary missing in OPC Reference Server (.net Standard)
Avatar
Patrick Schneider_4
Member
Members
Forum Posts: 4
Member Since:
04/17/2023
sp_UserOfflineSmall Offline
1
04/17/2023 - 05:15
sp_Permalink sp_Print

Hello,

we got an information from a client that its application wants to check the ServerDiagnosticsSummary but it can't be found in my Server. I've checked the downloadable reference from the opcfoundation webpage and the objects (below ServerDiagnostics) "EnabledFlag", "ServerDiagnosticsSummary", "SessionsDiagnosticsSummary" and "SubscriptionDiagnosticsArray" is available. If I download the latest .NET Standard Reference Server from Github or use the Server from Nuget (1.4.371.60) those objects are only partially available. Means: only "EnabledFlag" and "SessionsDiagnosticsSummary" is available.

Is this a configuration or implementation problem?

 

Best regards

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/17/2023 - 16:24
sp_Permalink sp_Print

Try logging in as an admin user.

Avatar
Patrick Schneider_4
Member
Members
Forum Posts: 4
Member Since:
04/17/2023
sp_UserOfflineSmall Offline
3
04/18/2023 - 04:25
sp_Permalink sp_Print

OK, so I should take a client (e.g. UAexpert) and login as an admin. Is there a default user and password? I'm testing with https://github.com/OPCFoundati.....enceServer at the moment. If there are no default admin credentials: how do I create those. It seems that there was an Application to configure the server, but it is deprecated. Any advice where to lookup the creation of such credentials?

Thanks a lot and best regards!

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
04/18/2023 - 21:24
sp_Permalink sp_Print

Hard coded:

// User with permission to configure server
if (userName == "sysadmin" && password == "demo")
{
    return new SystemConfigurationIdentity(new UserIdentity(userNameToken));
}

Avatar
Patrick Schneider_4
Member
Members
Forum Posts: 4
Member Since:
04/17/2023
sp_UserOfflineSmall Offline
5
04/26/2023 - 08:35
sp_Permalink sp_Print

I tested it with reference server, UAExpert and sysadmin, but still no ServerDiagnosticSummary or SubscriptionDiagnosticsArray in ServerDiagnostics. May I have to check something at build time or configfile?

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
04/26/2023 - 12:38
sp_Permalink sp_Print

You need to raise this issue on GitHub.

Avatar
Patrick Schneider_4
Member
Members
Forum Posts: 4
Member Since:
04/17/2023
sp_UserOfflineSmall Offline
7
05/03/2023 - 04:45
sp_Permalink sp_Print

FYI: I found out that there are already issues regarding this topic, so no further action from my side needed:

https://github.com/OPCFoundati.....ssues/2099 and also:

https://github.com/OPCFoundati.....ssues/1993

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Giuseppe Mirco
Guest(s) 20
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1341
Posts: 4546