blob: 329fdf26cd4980aec0d83516216c8d853948dfc0 [file] [log] [blame]
{%- from "rabbitmq/map.jinja" import server with context %}
{%- if server.get('enabled', False) %}
agent:
input:
rabbitmq:
template: rabbitmq/files/telegraf.conf
url: "http://{{ server.management.bind.address }}:{{ server.management.bind.port }}"
username: {{ server.admin.name }}
password: >-
{{ server.admin.password }}
nodes: [ "rabbit@{{ grains.host }}" ]
tagexclude: [ "node", "url" ]
procstat:
process:
rabbitmq:
exe: beam.smp
{%- endif %}