Git Product home page Git Product logo

telegraf-bacnet's Introduction

telegrafbacnet

Telegraf execd plugin for BACnet.

Installing and Running

To install telegrafbacnet and its dependencies run in the project root:

pip install -U .

It will also create an entrypoint that can be used to run telegrafbacnet from any directory like this:

telegrafbacnet [OPTIONS]

Options

-h, --help

  • show help message and exit

--debug

  • show debug output on stderr

--config CONFIG

  • load config from the file CONFIG or load config from files in the directory CONFIG in alphabetical order

Configuration

By default, config is loaded from files in the directory /etc/telegrafbacnet/ in alphabetical order.

See config.toml for more information about options that can be configured.

Use with Telegraf

Telegrafbacnet is an execd plugin that outputs metrics on its own. Here is an example part of Telegraf configuration:

[[inputs.execd]]
  ## Program to run as daemon
  command = ["telegrafbacnet", "--config", "/etc/telegrafbacnet.toml"]

  ## Define how the process is signaled on each collection interval.
  ## Valid values are:
  ##   "none"   : Do not signal anything.
  ##              The process must output metrics by itself.
  ##   "STDIN"   : Send a newline on STDIN.
  ##   "SIGHUP"  : Send a HUP signal. Not available on Windows.
  ##   "SIGUSR1" : Send a USR1 signal. Not available on Windows.
  ##   "SIGUSR2" : Send a USR2 signal. Not available on Windows.
  signal = "none"

  ## Delay before the process is restarted after an unexpected termination
  restart_delay = "10s"

  ## Data format to consume.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
  data_format = "influx"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.