Statistics logging

Overview

The Cisco Nexus 3550-H Hydra (formerly ExaLINK Hydra) 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
  • Power supply sensors
  • Fan speeds

Interface status and counters including:

  • Current RX link state
  • RX link change count
  • Packet and byte counters for RX and TX
  • CRC error counters for RX (FCS)

InfluxDB setup

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

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

admin@EXALINK_HYDRA# config influxdb-server host myhost database hydra

This will add the server myhost with the database hydra to a list of InfluxDB servers. To query the currently configured InfluxDB settings, the show command can be used. For example:

admin@EXALINK_HYDRA# show influxdb-server
Server       Port             Database HTTPS
------------ ---------------- -------- -----
myhost     (default = 8086)   hydra    N
myhost2    9000               hydra2   N

Host settings

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

admin@EXALINK_HYDRA# config influxdb-server host myhost port 9086 database hydra

By default, the Nexus 3550-H will use HTTP to connect to the InfluxDB server. To enable HTTPS, use the https command:

admin@EXALINK_HYDRA# config influxdb-server host myhost database hydra https

If the InfluxDB database requires authentication, this can be configured by specifying a username and a password:

admin@EXALINK_HYDRA# config influxdb-server host myhost database hydra username dbuser password dbpassword

Statistics will be published to the remote server every 60 seconds by default. This interval can be configured in seconds via:

admin@EXALINK_HYDRA# config influxdb-server host myhost database hydra interval 60

Removing hosts

The no form of the influxdb-server will remove an entry from currently configured list. For example:

admin@EXALINK_HYDRA# config no influxdb-server host myhost2 port 9000 database hydra2

Would remove the entry for myhost2 so that the list of servers now shows:

admin@EXALINK_HYDRA# show influxdb-server
Server       Port             Database HTTPS
------------ ---------------- -------- -----
myhost     (default = 8086)   hydra    N

It is possible to remove multiple entries at a time with the no form of the command. For example, if multiple databases are configured for myhost2:

admin@EXALINK_HYDRA# show influxdb-server
Server    Port             Database HTTPS
--------- ---------------- -------- -----
myhost  (default = 8086)   hydra    N
myhost2 9000               hydra1   N
myhost2 9001               hydra2   N
myhost2 9002               hydra3   N

Then it is possible to remove all current entries for myhost2 by running the following command.

admin@EXALINK_HYDRA# configure no influxdb-server host myhost2
admin@EXALINK_HYDRA# show influxdb-server
Server   Port             Database HTTPS
-------- ---------------- -------- -----
myhost (default = 8086)   hydra    N

This page was last updated on Feb-18-2021.