厨师客户端服务找不到

我有一个安装了nrpe cookbook的节点,这个节点已经开始失败,我不确定为什么。 在Ubuntu 14.04上运行

我有一个简单的配方来创build一个NRPE检查

nrpe_check "check_load" do command "#{node['nrpe']['plugin_dir']}/check_load" warning_condition node['inenrpe']['nrpe']['check_load']['warning_condition'] critical_condition node['inenrpe']['nrpe']['check_load']['critical_condition'] action :add end 

我的runlist在这个节点上(这不是我的nagios服务器)安装默认的NRPE配方和我的nrpe_check,但是现在我在我的厨师客户端运行期间发现错误,find一个资源? 我正在运行这个食谱“nrpe”的当前版本:“1.6.0”

 * nrpe_check[check_load] action add ================================================================================ Error executing action `add` on resource 'nrpe_check[check_load]' ================================================================================ Chef::Exceptions::ResourceNotFound ---------------------------------- resource file[/etc/nagios/nrpe.d/check_load.cfg] is configured to notify resource service[nagios-nrpe-server] with action reload, but service[nagios-nrpe-server] cannot be found in the resource collection. file[/etc/nagios/nrpe.d/check_load.cfg] is defined in /var/chef/cache/cookbooks/nrpe/providers/check.rb:48:in `block in class_from_file' Cookbook Trace: --------------- /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_collection.rb:45:in `find_local' /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_collection.rb:58:in `find' /var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:41:in `run_action' Resource Declaration: --------------------- # In /var/chef/cache/cookbooks/ine-nrpe/recipes/check_load.rb 10: nrpe_check "check_load" do 11: command "#{node['nrpe']['plugin_dir']}/check_load" 12: warning_condition node['inenrpe']['nrpe']['check_load']['warning_condition'] 13: critical_condition node['inenrpe']['nrpe']['check_load']['critical_condition'] 14: action :add 15: end Compiled Resource: ------------------ # Declared in /var/chef/cache/cookbooks/ine-nrpe/recipes/check_load.rb:10:in `from_file' nrpe_check("check_load") do action [:add] retries 0 retry_delay 2 default_guard_interpreter :default declared_type :nrpe_check cookbook_name "ine-nrpe" recipe_name "check_load" command "/usr/lib/nagios/plugins/check_load" warning_condition "6,4,2" critical_condition "12,10,7" command_name "check_load" end 

完全相同的设置似乎工作得很好w /其他节点,所以我不知道为什么有一些开始失败像这样?