This ObjectType defines diagnostic information about a session of the OPC UA Server. This ObjectType is formally defined in Table 13.

Table 13 – SessionDiagnosticsObjectType definition

Attribute

Value

BrowseName

SessionDiagnosticsObjectType

IsAbstract

False

References

NodeClass

BrowseName

DataType / TypeDefinition

ModellingRule

Subtype of the BaseObjectType defined in 6.2

HasComponent

Variable

SessionDiagnostics

SessionDiagnosticsDataType

SessionDiagnosticsVariableType

Mandatory

HasComponent

Variable

SessionSecurityDiagnostics

SessionSecurityDiagnosticsDataType

SessionSecurityDiagnosticsType

Mandatory

HasComponent

Variable

SubscriptionDiagnosticsArray

SubscriptionDiagnosticsDataType[]

SubscriptionDiagnosticsArrayType

Mandatory

HasProperty

Variable

CurrentRoleIds

NodeId[]

PropertyType

Optional

Conformance Units

Base Info ServerType

SessionDiagnostics contains general diagnostic information about the session; the SessionSecurityDiagnostics Variable contains security-related diagnostic information. Because the information of the second Variable is security-related, it should not be made accessible to all users, but only to authorised users.

SubscriptionDiagnosticsArray is an array of Subscription diagnostic information per opened subscription, as defined in 12.15. Its TypeDefinitionNode is the VariableType SubscriptionDiagnosticsArrayType providing a Variable for each entry in the array, as defined in 7.11.

CurrentRoleIds is an optional array providing the NodeId of each Role the Server has granted to the current Session. Since this information is security-related, Sessions other than the current Session shall be restricted to authorized users, such as users who have the SecurityAdmin role, defined in OPC 10000-18.

The additional definition for the ConformanceUnits of AuditActivateSessionEventType are defined in Table 15.

Table 14 – SessionDiagnosticsObjectType Additional Conformance Units

BrowsePath

Conformance Units

CurrentRoleIds

Security Role Server Base 2