
# This environment file serves for enabling python-collect-rabbitmq and configuring
# it to monitor overcloud RabbitMQ instance

parameter_defaults:
  ControllerExtraConfig:
    tripleo::profile::base::metrics::collectd::python_read_plugins:
      - python-collectd-rabbitmq
    collectd::plugin::python::modules:
      collectd_rabbitmq_monitoring:
        config:
          - host: "%{hiera('rabbitmq::interface')}"
            port: "%{hiera('rabbitmq::port')}"
            username: "%{hiera('rabbitmq::default_user')}"
            password: "%{hiera('rabbitmq::default_pass')}"
