Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The tags below are general information tags with respect to Sparkplug Edge Nodes. These are created, managed and updated by MQTT Engine based on messages arriving from each given Edge Node.


NameData TypeDescription
bdSeqLongThe last bdSeq number sent by the Edge Node in an NBIRTH message

Birth Count

Long

The number of NBIRTH messages since the last time the info metrics were reset via the Node Info/Reset Info tag

Current ServerStringThe current MQTT Server the Edge Node is connected to
Data Latency (ms)Long

The time in milliseconds between MQTT Engine receiving of the last message and the payload's reported time. Note: For this to be very accurate the edge node's clock and the system clock running MQTT Engine should be synced

Death CountLongThe number of NDEATH messages since the last time the info metrics were reset via the Node Info/Reset Info tag
Message SchemaStringThe schema associated with the Edge Node (e.g. Sparkplug B)
Offline DateTimeDateTimeThe time at which the last NDEATH message was received by MQTT Engine
OnlineBooleanWhether or not the Edge Node is online. This is determined by whether the last lifecycle message was an NBIRTH or NDEATH
Online DateTimeDateTimeThe time at which the last NBIRTH message was received by MQTT Engine
Reset InfoBooleanWritable tag to 'reset' the Node Info metrics
seqLongThe last Sparkplug seq number received from the Edge Node
Total Bytes RecvdLongThe number of bytes received from the Edge Node since the last time the info metrics were reset via the Node Info/Reset Info tag
Total Bytes XmitLong

The number of bytes sent to the Edge Node since the last time the info metrics were reset via the Node Info/Reset Info tag

Transmission VersionStringThe version of MQTT Transmission installed at the Edge Node

Device Info

The tags below are general information tags with respect to Sparkplug Devices. These are created, managed and updated by MQTT Engine based on messages arriving from each given Device.


NameData TypeDescription
Birth CountLongThe number of DBIRTH messages since the last time the info metrics were reset via the Device Info/Reset Info tag
Data Message CountLongThe number of DDATA messages since the last time the info metrics were reset via the Device Info/Reset Info tag
Death CountLongThe number of DDEATH messages since the last time the info metrics were reset via the Device Info/Reset Info tag
Last Command SizeLongThe size in bytes of the last DCMD that was sent from MQTT Engine
Last Data Message SizeLongThe size in bytes of the last DDATA that was received from the Device
Offline DateTimeDateTimeThe time at which the last DDEATH message was received by MQTT Engine
OnlineBooleanWhether or not the Device is online. This is determined by whether the last lifecycle message was an DBIRTH or NBIRTH
Online DateTimeDateTime

The time at which the last DBIRTH message was received by MQTT Engine

Reset InfoBoolean

Writable tag to 'reset' the Device Info metrics

Engine Control

Primary Host

The tags below give general information with respect to the primary host configuration.

NameData TypeDescription
EnabledBoolean
Whether
Writable tag to control whether or not the Primary Host
has been
is enabled
in
for MQTT Engine
IDString
The Primary Host name defined at
Writeable tag to set the PrimaryHostID defined for MQTT Engine

Engine Info Tags

The tags below provide information regarding the MQTT Engine Devices, Edge Nodes, Latches, MQTT Client as well as information on MQTT Engine.

...

The Devices folder tags provide information on the connected devices.

NameData TypeDescription
DeviceCountIntegerThe number of Sparkplug edge devices as determined by the received DBIRTH messages
DevicesOfflineIntegerThe number of Sparkplug edge devices that are offline. This is determined by whether the last lifecycle message was an DBIRTH or DDEATH
DevicesOnlineIntegerThe number of Sparkplug edge devices that are online. This is determined by whether the last lifecycle message was an DBIRTH or DDEATH

Edge Nodes

The Edge Nodes folder tags provide information on the connected Edge Nodes

NameData TypeDescription
Last Node to ConnectStringThe Sparkplug ID of the last node to connect
Last Node To DisconnectStringThe Sparkplug ID of the last node to disconnect
NodesOfflineIntegerThe number of Sparkplug Edge Nodes offline. This is determined by whether the last lifecycle message was an NBIRTH or NDEATH
NodesOnlineIntegerThe number of Sparkplug Edge Nodes online. This is determined by whether the last lifecycle message was an NBIRTH or NDEATH
NodeUnitCountIntegerThe total number of Sparkplug Edge Nodes as determined by the received NBIRTH messages
Offline NodesDatasetA dataset containing the Sparkplug ID and timestamp for all offline Sparkplug edge nodes
Online NodesDatasetA dataset containing the Sparkplug ID and timestamp for all online Sparkplug edge nodes 

Latches

The Latches folder tags provide a tag path to any configured tag latches in the MQTT Engine configuration

NameData TypeDescription
TagName as defined in the MQTT Engine configurationBooleanWriteable tag to 'reset' the tag latch

...

For each identified MQTT Client, the following tags are available:

NameData TypeDescription
Primary Host State > PrimaryHostNameFolderFolder named as the Primary Host Id configured in MQTT Engine
PayloadStringStatus of the Primary Host. Options are OFFLINE or ONLINE
RetainBooleanStatus of Retain status of the LWT message for the Primary Host
Connected NodesIntegerNumber of currently connected Sparkplug Edge Nodes to this MQTT Client 
Enable Latency CheckIntegerWritable tag to enabled message latency checking for each MQTT Client 
Message Processing Latency (ms)IntegerThe amount of time to process the last Sparkplug message
Messages Per SecondIntegerThe number of MQTT messages received by Engine per second 
MQTT Client IDStringThe Client ID for the MQTT Client
Offline DateTimeDateTimeThe last time at which the MQTT Client successfully disconnected from the MQTT Server
OnlineBooleanA read-only tag showing the connection status of the MQTT Client
Online DateTimeDateTimeThe last time at which the MQTT Client successfully connected to the MQTT Server
Server Latency (ms)IntegerThe amount of time that it takes for a test MQTT message to be sent and received back by MQTT Engine
Target Server URLStringThe URL of the target MQTT Server to connect to

Message Diagnostics

The Message Diagnostics folder tags 

NameData TypeDescriptionMessageStringSelected NodeString