Add pass, drop, and interval to the plugin options

This commit is contained in:
Evan Phoenix
2015-05-19 22:19:32 -07:00
parent 203d3695b4
commit 8aa7e355f6
4 changed files with 211 additions and 12 deletions

View File

@@ -95,7 +95,8 @@ func main() {
log.Printf("Loaded plugins: %s", strings.Join(plugins, " "))
if ag.Debug {
log.Printf("Debug: enabled")
log.Printf("Agent Config: %#v", ag)
log.Printf("Agent Config: Interval:%s, Debug:%#v, Hostname:%#v\n",
ag.Interval, ag.Debug, ag.Hostname)
}
if config.URL != "" {