Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

bloomberg/collectdwin-cookbook

Repository files navigation

collectdwin-cookbook

License

Application cookbook which installs and configures the CollectdWin monitoring service.

This cookbook provides a simple installation and configuration of the CollectdWin monitoring service. CollectdWin is a Windows only service, so this cookbook supports only Windows platform.

Usage

The default recipe in this cookbook simply configures the monitoring service to run as a windows service. The configuration for this service can be tuned using the node attributes.

You're required to write a wrapper cookbook which overrides the default properties. For example if you want to override write_http plugin configuration, you can do the following:

node.default['collectdwin']['plugins']['write_http']['nodes'] =
  [
    'node' => {
      'attr' => { 
        'name' => 'myHttpServer', 
        'url' => 'http://myhttpserver.xyz.com:8787/testhttp1', 
        'timeout' => 20000, 
        'batch_size' => 25, 
        'max_idle_time' => 800000 
        },
      'proxy' => { 
        'attr' => { 
            'enable' => false, 
            'url' => 'http://dummy.url.com' 
            } 
        }
    }
  ]
include_recipe 'collectdwin::default'