s7collector

module
v0.0.0-...-c4f4c22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2019 License: MIT

README

Build Status GoDoc codecov Go Report Card

s7collector

Tool to communicate with s7 devices.

Installation

  1. Install golang
  2. go get github.com/bitbrewers/s7collector/cmd/s7collector

Configuration

Default location for config fileis /etc/s7collector/s7collector.conf. It can be changed by setting S7_COLLECTOR_CONF environment variable.

Example config:

[collector]
    IP = "127.0.0.1"
    Rack = 0
    Slot = 3
    DataBlock = 10
    SchemaFile = "db-10-example.csv"
    PollInterval = "1s"

[publisher]
    Addr = "http://influxdb:8086"
    Database = "mydb"
    Username = "user"
    Password = "password"

Directories

Path Synopsis
cmd
services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL