Overhaul config <-> agent coupling. Put config in it's own package.

This commit is contained in:
Cameron Sparr
2015-11-24 14:22:11 -07:00
parent 8dde60e869
commit 979e5f193a
23 changed files with 554 additions and 748 deletions

View File

@@ -16,7 +16,7 @@ import (
const sampleConfig = `
# specify commands via an array of tables
[[exec.commands]]
[[plugins.exec.commands]]
# the command to run
command = "/usr/bin/mycollector --foo=bar"