
Also add some checks for null node attributes and a python plugin to collect rabbitmq metrics Change-Id: Ia294ad7b53bbd13258002450cc4557963e2678db
25 lines
557 B
Ruby
25 lines
557 B
Ruby
name "os-ops-messaging"
|
|
description "Currently RabbitMQ Server (non-ha)"
|
|
override_attributes(
|
|
"rsyslog" => {
|
|
"rhelloglist" => {
|
|
"rabbitmq" => "/var/log/rabbitmq/rabbit\@$hostname.log"
|
|
},
|
|
"debianloglist" => {
|
|
"rabbitmq" => "/var/log/rabbitmq/rabbit\@$hostname.log"
|
|
}
|
|
},
|
|
"collectd" => {
|
|
"rhel" => {
|
|
"plugins" => {
|
|
"processes" => { "Process" => ["rabbitmq-server"] }
|
|
}
|
|
},
|
|
"included_plugins" => {"rabbitmq"=>{}}
|
|
}
|
|
)
|
|
run_list(
|
|
"role[os-base]",
|
|
"recipe[openstack-ops-messaging::server]"
|
|
)
|