go-cld2ch

command module
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-cld2ch

Very Important Note 🔥

  • go-cld2ch is in early beta. Made for my own needs
  • go-cld2ch is requires golang 1.8+
  • you can must set dbname in configs.yml to use cld2ch,
  • table CollectD will be created in DB with dbname

How to install

  • Download latest release archive for your plaform
  • Unrachive and go to the unarchived path
  • If you are on linux with systemd - run install.sh
  • Edit configs in /etc/cld2ch/configs.yml
  • Run systemctl start cld2ch
  • Check status systemctl status cld2ch

How to configure CollectD

  • Open configureation file /etc/collectd/collectd.conf
  • Set param Interval to 60
  • Enable network plugin if disabled LoadPlugin network (delete # before)
  • Configure network plugin (examples below)
  • Restart CollectD service
<Plugin network>
  Server "ip_cld2ch" "port_cld2ch"
</Plugin>

For example:

<Plugin network>
  Server "127.0.0.1" "25826"
</Plugin>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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