linnetfire / chef-logdna_agent

Installs the LogDNA host agent. Currently only supports apt systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logdna_agent Cookbook

Installs the LogDNA host agent. Currently only supports apt systems.

Attributes

logdna_agent::default

Key Type Description Default
['logdna_agent']['api_key'] String Your API key as provided by LogDNA. ''
['logdna_agent']['log_directories'] Array[String] Directories to follow (recursively) in addition to /var/log. []
['logdna_agent']['tags'] String (Optional) Comma-separated list of tags to apply to the host. ''

Usage

logdna_agent::default

Just include logdna_agent in your node's run_list and set api_key and (optionally)log_directories:

{
  "name":"my_node",
  "run_list": [
    "recipe[logdna_agent]"
  ]
}
node.set['logdna_agent']['api_key'] = 'XXXXXXXXXXXXXXXXXXXXXXXXX'
node.set['logdna_agent']['log_directories'] = ['/go/bin/']

About

Installs the LogDNA host agent. Currently only supports apt systems.


Languages

Language:Ruby 100.0%