action "get_fact" do
reply[:fact] = request[:fact]
reply[:value] = Facts[request[:fact]]
+ end
+
+ action "get_facts" do
+ response = {}
+ request[:facts].split(',').map { |x| x.strip }.each do |fact|
+ value = Facts[fact]
+ response[fact] = value
+ end
+ reply[:values] = response
end
# Get the global stats for this mcollectied