InfluxDB
Robert Marshall editou esta páxina %!s(int64=7) %!d(string=hai) anos

IMPORTANT: if you're using mono you'll need the package libmono-system-net-http4.0-cil

There is an InfluxDB component. It will read from what ever topic you specify and then write it to whatever measurement (table) you specify. Below is an example configuration:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <appSettings>
        <add key="influxHost" value="localhost" />
        <add key="influxDatabase" value="HAServer" />
        <add key="influxMeasurement" value="log" />
        <add key="influxTopic" value="/home" />
    </appSettings>
</configuration>
  • influxHost: the hostname or IP address of the InfluxDB server.
  • influxPort optional: the port of the InfluxDB server. Default is 8086.
  • influxDatabase: the database to write to.
  • influxMeasurement: the measurement (table) to write to.
  • influxUsername optional: the database username. Default is blank.
  • influxPassword optional: the database password. Default is blank.
  • influxTopic optional: the topic to listen to. This is uses Regular Expressions. Default is .*.