Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Exporter which retrieves stats from a modbus system and exports them via HTTP for Prometheus consumption.

License

Notifications You must be signed in to change notification settings

lupoDharkael/modbus_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modbus exporter

Fault tolerant exporter which retrieves stats from a modbus system and exports them via HTTP for Prometheus consumption.

Building

you just need Go installed, simply run hte build in the directory as:

go build

Getting Started

To run it:

./modbus_exporter [flags]

The configuration will be taken from a configuration file, the exporter will search a fille called slaves.yml in the same directory by default.

Setting a different file and a different listen address:

./modbus_exporter -config.file="path/to/file" -listen-address=":8080"

Help on flags:

./modbus_exporter --help

Configuration File

Check the examples/ folder to read the information about the configuration file and some examples.

TODO

  • General clean up
  • Tons of test coverage
  • Improve global log system

About

Exporter which retrieves stats from a modbus system and exports them via HTTP for Prometheus consumption.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages