Panoptes Docs

Panoptes Configuration

Panoptes is designed to be a distributed tool. The distributed component, Panoptes::Grid, is not quite ready to go yet... But it's worth mentioning, because the configuration is structured with the assumption that there may be multiple hosts or groups of hosts. To accomplish this, Panoptes::Config relies heavily on another perl module, Config::Merge:

This provides lots of different ways you can structure your configuration, using your choice of format (YAML, INI, XML, Config::General), and either all in a single huge file or spread out into lots of smaller files. I have a strong personal preference for the latter, but since the configuration in this tutorial is so simple, I'm going to stash it a single file. All my examples use YAML, although I am planning to convert to Config::General in the future. Refer to the Config::Merge documentation for more possibilities.

By default, the configuration lives in ~/.panoptes/conf.

  mkdir -p ~/.panoptes/conf

Most of the examples will use a single config file:

  ~/.panoptes/conf/host.yaml

You'll need a section in this config file for your host. You may need to run the 'hostname' to determine exactly how your host is configured. For example, if my host's name is "foo", the initial config file would look like this:

  ---
  foo:
    plugins: {}
    rules: {}