This article applies as of PRTG 22


I want to use the OPC UA Custom sensor. What kind of OPC UA data types is it compatible with?


OPC UA data types that the OPC UA Custom sensor supports


The OPC UA Custom sensor supports the following OPC UA data types:


Note: You can see which channel type the sensor creates in the column on the right.

Data typeChannel type
BooleanLookup
SByte
Byte
Int16
Int32
Int64
UInt16
UInt32
DateTime
Integer
Float
Double
String
LocalizedText
Float


Note: The sensor automatically creates a lookup channel if the OPC UA server returns a Boolean. If the server returns the value 0 (false), the channel shows the Down status. If the server returns the value 1 (true), the channel shows the Up status. You can reverse the behavior by changing the lookup in the channel settings.


Choose between:

prtg.standardlookups.paessler.opcua.positive_boolean_lookup.ovl
  • 0 (false) = Down, 1 (true) = Up
prtg.standardlookups.paessler.opcua.negative_boolean_lookup.ovl
  • 0 ( false)) = Up, 1 (true) = Down


Note: Float channels only support numbers that can be stored as float.



Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.