Statistics logging

Overview

Version

This feature requires version 1.9.0 or later

The ExaLINK Fusion can log time series statistics to a remote database. Only InfluxDB databases are supported in the current version.

Collected statistics

System sensors and information including:

  • Temperature sensors
  • Current sensors
  • Power supply sensors
  • Fan speeds
  • Management CPU load average
  • Management CPU available memory

Port status and port counters including:

  • SFP present
  • Signal status reported by the SFP, ie. light received or not
  • CDR lock
  • Current RX link state
  • RX link state change count
  • Packet and byte counters for RX and TX
  • CRC error counters for RX (FCS)

Switch statistics including:

  • Buffer memory used (Fusion HPT only)

Measurements from the Fusion HPT time synchronization algorithm:

  • Raw offset at PPS edge
  • Smoothed offset
  • Raw frequency error of the oscillator

Configuration

Before statistics logging can be enabled, a database connection must be configured.

InfluxDB connection

To set up a connection to an InfluxDB server, the server address and database name are needed. This is configured using the following commands:

[email protected]_FUSION> config statistics influxdb server myserver
InfluxDB server address configured
[email protected]_FUSION> config statistics influxdb database mydb
InfluxDB database name changed

If the InfluxDB server listens on a port other than 8086, the port can be specified using the following command syntax:

[email protected]_FUSION> config statistics influxdb server myserver:1234
InfluxDB server address configured

By default, the ExaLINK Fusion will use HTTP to connect to the InfluxDB server. To enable HTTPS, use the ssl command:

[email protected]_FUSION> config statistics influxdb ssl
Enabled SSL for InfluxDB

If the InfluxDB database requires authentication, this can be configured using the authentication command. For example, to authenticate using the username donald and password mypassword:

[email protected]_FUSION> config statistics influxdb authentication donald mypassword
Enabled InfluxDB username/password authentication

Use the no form of these commands to disable HTTPS and disable authentication, for example:

[email protected]_FUSION> config statistics influxdb no ssl
Disabled SSL for InfluxDB
[email protected]_FUSION> config statistics influxdb no authentication
Disabled InfluxDB authentication

Enable statistics logging

After a database connection is set up, statistics logging can be enabled using the statistics enable command:

[email protected]_FUSION> config statistics enable
Statistics logging enabled

At this point, statistics will be published to the remote server every 60 seconds. Currently, the logging interval is fixed and not configurable.

The statistics disable command can be used to disable statistics logging:

[email protected]_FUSION> config statistics disable
Statistics logging disabled

This page was last updated on Feb-07-2019.