Exposed BACnAPI Statistics

Multiple counters and statistics are maintained by the BACnAPI. These counters and statistics can be useful in troubleshooting a BACnet system. Within GENESIS64, these counters and statistics are exposed to clients as tags. Here is a summary of the included counters and statistics:

 

 

Current

Last 1hr

Last 24 hr

Last 7d

Running 

BACnet Server Operating Statistics

Total Number of Devices Identified

xxx

Avg, Max,Min

Avg, Max,Min

Avg, Max,Min

Running Total

Total Number of Objects Identified

xxx

Avg, Max,Min

Avg, Max,Min

Avg, Max,Min

Running Total

Total Number of COV Subscriptions

xxx

Avg, Max,Min

Avg, Max,Min

Avg, Max,Min

Running Total

Total Number of COV Property Subscriptions

xxx

Avg, Max,Min

Avg, Max,Min

Avg, Max,Min

Running Total

Total number of Read Property Subscriptions

xxx

Avg, Max,Min

Avg, Max,Min

Avg, Max,Min

Running Total

Total number of Read Property Multiple Subscriptions

xxx

Avg, Max,Min

Avg, Max,Min

Avg, Max,Min

Running Total

 Number of COV updates received

 

xxx

xxx

xxx

xxx

 Number of COV Property updates received

 

xxx

xxx

xxx

xxx

 Number of Read Property updates

 

xxx

xxx

xxx

xxx

 Number of Read Property Multiple updates

 

xxx

xxx

xxx

xxx

 Number of ConfirmedEventNotification updates

 

xxx

xxx

xxx

xxx

 Number of UnConfirmedEventNotification updates

 

xxx

xxx

xxx

xxx

Total Number of Who-Is messages

 

xxx

xxx

xxx

xxx

Total Number of I-Am messages

 

xxx

xxx

xxx

xxx

Total Number of Who-Has messages

 

xxx

xxx

xxx

xxx

Total Number of I-Havemessages

 

xxx

xxx

xxx

xxx

 

 

 

 

 

 

SubscribeCOV Service

 Total Transactions

 

xxx

xxx

xxx

xxx

 Total Errors

 

xxx

xxx

xxx

xxx

  UNKNOWN_OBJECT

 

xxx

xxx

xxx

xxx

  OPTIONAL_FUNCTIONALITY_NOT_SUPPORTED

 

xxx

xxx

xxx

xxx

  NO_SPACE_TO_ADD_LIST_ELEMENT

 

xxx

xxx

xxx

xxx

  VALUE_OUT_OF_RANGE

 

xxx

xxx

xxx

xxx

  OUT OF MEMORY

 

xxx

xxx

xxx

xxx

  OTHER (none of the above)

 

xxx

xxx

xxx

xxx

 

 

 

 

 

 

SubscribeCOVProperty Service

 Total Transactions

 

xxx

xxx

xxx

xxx

 Total Errors

 

xxx

xxx

xxx

xxx

  DATATYPE_NOT_SUPPORTED

 

xxx

xxx

xxx

xxx

  INVALID ARRAY INDEX

 

xxx

xxx

xxx

xxx

  NOT COV PROPERTY

 

xxx

xxx

xxx

xxx

  READ ACCESS DENIED

 

xxx

xxx

xxx

xxx

  UNKNOWN_PROPERTY

 

xxx

xxx

xxx

xxx

  VALUE _TOO_LONG

 

xxx

xxx

xxx

xxx

  OTHER (none of the above)

 

xxx

xxx

xxx

xxx

 

 

 

 

 

 

ReadProperty Service

 Total Transactions

 

xxx

xxx

xxx

xxx

 Total Errors

 

xxx

xxx

xxx

xxx

  UNKNOWN_OBJECT

 

xxx

xxx

xxx

xxx

  UNKNOWN_PROPERTY

 

xxx

xxx

xxx

xxx

  PROPERTY IS NOT AN ARRAY

 

xxx

xxx

xxx

xxx

  INVALID ARRAY INDEX

 

xxx

xxx

xxx

xxx

  READ ACCESS DENIED

 

xxx

xxx

xxx

xxx

  OTHER

 

xxx

xxx

xxx

xxx

 

 

 

 

 

 

Read Property Multiple Service

 Total Transactions

 

xxx

xxx

xxx

xxx

 Total Errors

 

xxx

xxx

xxx

xxx

  UNKNOWN_OBJECT

 

xxx

xxx

xxx

xxx

  UNKNOWN_PROPERTY

 

xxx

xxx

xxx

xxx

  PROPERTY_IS_NOT_AN_ARRAY

 

xxx

xxx

xxx

xxx

  INVALID_ARRAY_INDEX

 

xxx

xxx

xxx

xxx

  READ_ACCESS_DENIED

 

xxx

xxx

xxx

xxx

  OTHER (none of the above)

 

xxx

xxx

xxx

xxx

 

 

 

 

 

 

ReadRange Service

 Total Transactions

 

xxx

xxx

xxx

xxx

 Total Errors

 

xxx

xxx

xxx

xxx

  UNKNOWN_PROPERTY

 

xxx

xxx

xxx

xxx

  READ_ACCESS_DENIED

 

xxx

xxx

xxx

xxx

  PROPERTY_IS_NOT_A_LIST

 

xxx

xxx

xxx

xxx

  PROPERTY_IS_NOT_AN_ARRAY

 

xxx

xxx

xxx

xxx

  INVALID_ARRAY_INDEX

 

xxx

xxx

xxx

xxx

  OTHER (none of the above)

 

xxx

xxx

xxx

xxx

 

 

 

 

 

 

WriteProperty Service

 Total Transactions

 

xxx

xxx

xxx

xxx

 Total Errors

 

xxx

xxx

xxx

xxx

  UNKNOWN_OBJECT

 

xxx

xxx

xxx

xxx

  UNKNOWN_PROPERTY

 

xxx

xxx

xxx

xxx

  PROPERTY_IS_NOT_AN_ARRAY

 

xxx

xxx

xxx

xxx

  INVALID_ARRAY_INDEX

 

xxx

xxx

xxx

xxx

  WRITE_ACCESS_DENIED

 

xxx

xxx

xxx

xxx

  INVALID_DATA_TYPE

 

xxx

xxx

xxx

xxx

  DUPLICATE_NAME

 

xxx

xxx

xxx

xxx

  DUPLICATE_OBJECT_ID

 

xxx

xxx

xxx

xxx

  VALUE_OUT_OF_RANGE

 

xxx

xxx

xxx

xxx

  NO_SPACE_TO_WRITE_PROPERTY

 

xxx

xxx

xxx

xxx

  DATATYPE_NOT_SUPPORTED

 

xxx

xxx

xxx

xxx

  PARAMETER_OUT_OF_RANGE

 

xxx

xxx

xxx

xxx

  OTHER (none of the above)

 

xxx

xxx

xxx

xxx

 

 

 

 

 

 

These counters will monitor BACnet Service "Initiations" and are part of a BACnet Confirmed Request (e.g., readProperty, writeProperty).

//Total qty of Client TSM's generated

    API_COUNTER qty;

 

xxx

xxx

xxx

xxx

//Packets Received

 

 

 

 

 

    API_COUNTER recv_confirmed_segmented;

 

xxx

xxx

xxx

xxx

    API_COUNTER recv_confirmed_unsegmented;

 

xxx

xxx

xxx

xxx

    API_COUNTER recv_abort;

 

xxx

xxx

xxx

xxx

    API_COUNTER recv_new_segment;

 

xxx

xxx

xxx

xxx

    API_COUNTER recv_last_segment_of_group;

 

xxx

xxx

xxx

xxx

    API_COUNTER recv_last_segment_of_message;

 

xxx

xxx

xxx

xxx

API_COUNTER recv_new_segment_out_of_order;

 

xxx

xxx

xxx

xxx

    API_COUNTER recv_new_ack;

 

xxx

xxx

xxx

xxx

    API_COUNTER recv_duplicate_ack;

 

xxx

xxx

xxx

xxx

    API_COUNTER recv_final_ack;

 

xxx

xxx

xxx

xxx

//Packets Sent

 

 

 

 

 

    API_COUNTER send_abort_pdu;

 

xxx

xxx

xxx

xxx

    API_COUNTER send_reject_pdu;

 

xxx

xxx

xxx

xxx

    API_COUNTER send_error_pdu;

 

xxx

xxx

xxx

xxx

    API_COUNTER send_simple_ack;

 

xxx

xxx

xxx

xxx

API_COUNTER send_unsegmented_complex_ack;

 

xxx

xxx

xxx

xxx

    API_COUNTER send_segmented_complex_ack;

 

xxx

xxx

xxx

xxx

//Timeouts

 

 

 

 

 

    API_COUNTER timeout;

 

xxx

xxx

xxx

xxx

    API_COUNTER final_timeout;

 

xxx

xxx

xxx

xxx

//Other errors

 

 

 

 

 

    API_COUNTER unexpected_pdu;

 

xxx

xxx

xxx

xxx

API_COUNTER confirmed_segmented_not_supported;

 

xxx

xxx

xxx

xxx

 

 

 

 

 

 

These counters are available for each device:

device_id - The device Id of the subscribed points

xxx

 

 

 

 

network - The network number of the devce

xxx

 

 

 

 

mac - The MAC Address of the device

xxx

 

 

 

 

subscription_qty - The total number of subscriptions of this device

xxx

 

 

 

 

state - The current working state of the device

xxx

 

 

 

 

last_ok_time - The last successful transmission

xxx

 

 

 

 

last_error_time - The last error time

xxx

 

 

 

 

last_error_code - The last error code

xxx

 

 

 

 

last_error_class - The last error class

xxx

 

 

 

 

isAlive - Indicates if the device is online or offline.

xxx

 

 

 

 

readProperty.service_supported

xxx

 

 

 

 

readPropertyMultiple.service_supported

xxx

 

 

 

 

writeProperty.service_supported

xxx

 

 

 

 

subscribeCOV.service_supported

xxx

 

 

 

 

subscribeCOVUnconfirmed.service_supported

xxx

 

 

 

 

segmentation_supported

xxx

 

 

 

 

maxAPDUresponseLengthAccepted

xxx

 

 

 

 

maxSegmentsAccepted

xxx

 

 

 

 

read_multiple_poll_interval - The default poll interval

xxx

 

 

 

 

max_read_property_multipleQty - The maximum number of points in a readPropertyMultiple request

xxx

 

 

 

 

updates - The total number of subscription updates

xxx

 

 

 

 

tx - The number of requests sent

xxx

 

 

 

 

rx - The number of replies received

xxx

 

 

 

 

timeouts - The number of timeouts

xxx

 

 

 

 

consecutive_errors - The number of consecutive timeouts

xxx

 

 

 

 

 

See Also:

Overview of BACnet

System Requirements for BACnet

ReadPropertyMultiple Requests Statistic