mig/modules/examplepersist
Aaron Meihm bfec483d5c [medium] persistent module config file support
Adds the ability for persistent modules to read a configuration file
that can be used to control their behavior.

In some cases, we may want a persistent module to be configurable. A new
configuration variable PERSISTCONFIGDIR has been added which indicates a
directory the agent will look in for persistent module configs. When the
agent starts a persistent module, it will determine if modulename.cfg
exists in the config directory; if so the agent will load the config and
send it to the newly executed module, which it will read on stdin. The
module can then read this configuration, and configure itself as needed
before it begins it's primary execution functions.

Modules specify the configuration format within the module code itself,
so each module that makes use of this can have it's own configuration
parameters.
2016-12-16 15:42:16 -06:00
..
examplepersist.go [medium] persistent module config file support 2016-12-16 15:42:16 -06:00
examplepersist_test.go [minor] add an example persistent module 2016-10-08 23:38:20 -05:00
paramscreator.go [minor] add an example persistent module 2016-10-08 23:38:20 -05:00