Global Diagnostic Items
- Last UpdatedSep 06, 2017
- 2 minute read
The global object contains diagnostic items for the entire service. The following syntax can be used to access a global diagnostic item:
$SYS$DIAG/Global/<Item>
where,
<Item>: One of the diagnostic item names from the following table
|
<Item> |
Type |
R/W |
Description |
|
NodeName |
String |
R |
Name of the node this service is running on |
|
StartDateTime |
DateTime |
R |
Date and Time when the service was started (Time is in UTC) |
|
UpTime |
Int32 |
R |
Elapsed time in seconds since the service was started |
|
ConnectionCount |
Int32 |
R |
Number of incoming ASB client connections |
|
ItemCount |
Int32 |
R |
Number of registered items in all connections |
|
SubscriptionCount |
Int32 |
R |
Number of subscriptions in all connections |
|
MonitoredItemCount |
Int32 |
R |
Number of monitored items in all subscriptions/connections |
|
MonitoredItemErrCount |
Int32 |
R |
Number of items with bad quality in all subscriptions/connections |
|
TotalReads |
Int32 |
R |
Number of reads operations in all connections since service start or last reset. |
|
TotalReadErrors |
Int32 |
R |
Number of read operation errors in all connections since service start or last reset. (An error is counted if 1 or more item reads failed, or the entire read could not be executed) |
|
TotalItemReads |
Int32 |
R |
Number of read items in all connections since service start or last reset. (Does not include subscription updates or items in the diagnostic namespace) |
|
TotalItemReadErrors |
Int32 |
R |
Number of read item errors in all connections since service start or last reset. (Does not include subscription updates or items in the diagnostic namespace) |
|
TotalWrites |
Int32 |
R |
Number of writes operations in all connections since service start or last reset |
|
TotalWriteErrors |
Int32 |
R |
Number of write operation errors in all connections since service start or last reset. ( An error is counted if 1 or more item writes failed, or the entire write could not be executed) |
|
TotalItemWrites |
Int32 |
R |
Number of write items in all connections since service start or last reset. (Does not include items from the diagnostic namespace) |
|
TotalItemWriteErrors |
Int32 |
R |
Number of write item errors in all connections since service start or last reset. (Does not include items from the diagnostic namespace) |
|
ConnectionEvents |
Int32 |
R |
Number of connection adds or deletes since service start. This counter will rollover to 0 after value reaches Int32_Max. |
|
MaxConnectionIndex |
Int32 |
R |
The maximum connection index number within all currently created connections. Indexes are 0 to n. -1 means there currently are no connections. ( i.e. If value is 10, then 0 to 10 inclusive can be used in the system item syntax "conn=x" or "conn=x:y" where x is the connection index) |
|
ResetTotals |
Bool |
R/W |
Reset TotalReads, TotalWrites, TotalItemReads, TotalItemWrites, TotalReadErrors, TotalItemReadErrors, TotalWriteErrors and TotalItemWriteErrors |