<commit_before>#
# Cookbook Name:: wt_monitoring
# Recipe:: opsmon_scheduledhits
#
# Copyright 2012, Webtrends
#
# All rights reserved - Do Not Redistribute
#
# This recipe is used to add base collectd plugins to all webtrends servers with collectd installed.
#

%w(collectd_WT-Base collectd_Graphite-Write).each do |file|
  template "#{node[:collectd][:plugin_conf_dir]}/#{file}.conf" do
    source "/collectd_base/#{file}.conf.erb"
    owner "root"
    group "root"
    mode 00644
    notifies :restart, resources(:service => "collectd")
  end
end

<commit_msg>fixed recipe name in the file header<commit_after>#
# Cookbook Name:: wt_monitoring
# Recipe:: collectd_base
#
# Copyright 2012, Webtrends
#
# All rights reserved - Do Not Redistribute
#
# This recipe is used to add base collectd plugins to all webtrends servers with collectd installed.
#

%w(collectd_WT-Base collectd_Graphite-Write).each do |file|
  template "#{node[:collectd][:plugin_conf_dir]}/#{file}.conf" do
    source "/collectd_base/#{file}.conf.erb"
    owner "root"
    group "root"
    mode 00644
    notifies :restart, resources(:service => "collectd")
  end
end


{'fraction_non_alphanumeric': 0.11558669001751314, 'fraction_numerical': 0.01576182136602452, 'mean_word_length': 4.521739130434782, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2643997', 'n_tokens_mistral': 396, 'n_tokens_neox': 374, 'n_words': 110}