{
  "chef_type": "role",
  "json_class": "Chef::Role",
  "name": "collectd-apache",
  "description": "Collectd plugins for apache metrology.",
  "env_run_list": {},
  "run_list": [],
  "override_attributes": {},
  "default_attributes": {
    "apache_plugins": [
      {
        "apache": [
          {
            "-Instance:apache": [
              {"URL": "http://localhost/status?auto"}
            ]
          }
        ]
      },
      {
        "write_graphite": [
          {
            "-Node:apache": [
              {"Host": "graphite"},
              {"Port": "2003"},
              {"Protocol": "tcp"},
              {"Prefix": "apache."},
              {"LogSendErrors": true},
              {"AlwaysAppendDS": false},
              {"StoreRates": true},
              {"EscapeCharacter": "_"}
            ]
          }
        ]
      }
    ],
    "apache_postcache": {
      "rules": [
        {
          "-Rule:apache": [
            {
              "-Match:regex": [
                {"Plugin": "apache"},
                {"PluginInstance": "apache"}
              ]
            },
            {
              "-Target:write": [
                {"Plugin": "write_graphite/apache"}
              ]
            },
            {"Target": "stop"}
          ]
        }
      ]
    }
  }
}

Add a role for Apache.
Add a role for Apache.
