方向舵3.1:节点之间的不同输出

我正在使用舵代理3.1(方向舵服务器3.0.6),当我用“方向舵代理清单”强制清点时,节点之间没有相同的输出大小,就像详细信息是不同的(见底部) 。

任何想法 ?

x@pv2-51b7y:~$ sudo rudder agent inventory 2015-07-29T09:47:23+0200 notice: /default/doInventory/methods/'any'/default/fusionAgent/commands/'/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/pv2-51b7y-e5f0d268-0d81-4f27-98de-edee40604b0e.ocs --scan-homedirs'[0]: Q: "...-inventory --lo": [info] FusionInventory instance: builtin Q: "...-inventory --lo": [info] Inventory saved in /var/rudder/tmp/inventory/pv2-51b7y-e5f0d268-0d81-4f27-98de-edee40604b0e.ocs Q: "...-inventory --lo": [info] task WakeOnLan execution not requested Q: "...-inventory --lo": [info] task NetDiscovery execution not requested Q: "...-inventory --lo": [info] task NetInventory execution not requested x@pv2-51b7y:~$ 

 x@pv2-8kmcm:~$ sudo rudder agent inventory R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@StartRun@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#Start execution R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Security parameters@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The internal environment security is acceptable R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Process checking@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#There is an acceptable number of cf-execd processes (between 0 and 2) and cf-agent processes (between 0 and 5) R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@CRON Daemon@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The CRON daemon is running R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Binaries update@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The CFengine binaries in /var/rudder/cfengine-community/bin are up to date R: @@Inventory@@log_info@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#An inventory was already sent less than 8 hours ago 2015-07-29T09:46:36+0200 notice: /default/doInventory/methods/'any'/default/fusionAgent/commands/'/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/pv2-8kmcm-8cc35d59-bd4b-4fab-bd37-4ec837743220.ocs --scan-homedirs'[0]: Q: "...-inventory --lo": [info] FusionInventory instance: builtin Q: "...-inventory --lo": [info] Inventory saved in /var/rudder/tmp/inventory/pv2-8kmcm-8cc35d59-bd4b-4fab-bd37-4ec837743220.ocs Q: "...-inventory --lo": [info] task WakeOnLan execution not requested Q: "...-inventory --lo": [info] task NetDiscovery execution not requested Q: "...-inventory --lo": [info] task NetInventory execution not requested R: @@Inventory@@log_debug@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#Running inventory R: @@Inventory@@log_info@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#Curl installed R: @@Inventory@@log_debug@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#Generated the CPUID R: @@Inventory@@log_debug@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The user list generation tool is not present yet. Skipping... R: @@Inventory@@result_success@@inventory-all@@inventory-all@@00@@inventory@@None@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#The inventory has been successfully sent R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@EndRun@@2015-07-29 07:46:27+00:00##8cc35d59-bd4b-4fab-bd37-4ec837743220@#End execution x@pv2-8kmcm:~$ 

第一个输出不显示任何报告,而第二个输出( StartRunEndRun ,之间有成功报告)

您最有可能将您的节点configuration为使用“仅更改”报告模式。 Web界面的屏幕截图解释了“仅更改”模式

此模式旨在最大限度地减less通过networking发送的报告数量,不发送成功日志报告,并且偶尔发送“心跳”(开始和结束运行报告)

你的第一个节点显然是在这种模式下(没有开始报告,也没有结束报告,但已经完成了一个清单),而第二个节点是全新安装( @@ @@之间的数字是0,意思是应用规则我们随代理商一起发货),并输出并发送所有生成的报告。

当您接受Rudder中的第二个节点时,它将获得新的规则,并应用“ 仅更改报告”模式