Commit f12c056b by nadeemshahzad

Added monitoring tag

parent 224eaefa
...@@ -51,6 +51,8 @@ ...@@ -51,6 +51,8 @@
owner: "{{ rabbitmq_user }}" owner: "{{ rabbitmq_user }}"
group: "{{ rabbitmq_group }}" group: "{{ rabbitmq_group }}"
mode: "0755" mode: "0755"
tags:
- "monitoring"
- name: Add RabbitMQ memory usage script - name: Add RabbitMQ memory usage script
template: template:
...@@ -59,16 +61,22 @@ ...@@ -59,16 +61,22 @@
owner: "{{ rabbitmq_user }}" owner: "{{ rabbitmq_user }}"
group: "{{ rabbitmq_group }}" group: "{{ rabbitmq_group }}"
mode: "0775" mode: "0775"
tags:
- "monitoring"
- name: Set up a cron job to run queue script - name: Set up a cron job to run queue script
cron: cron:
name: "log-queue-lenghts" name: "log-queue-lenghts"
job: "{{ rabbitmq_app_dir }}/log-rabbitmq-queues.sh >/dev/null 2>&1" job: "{{ rabbitmq_app_dir }}/log-rabbitmq-queues.sh >/dev/null 2>&1"
tags:
- "monitoring"
- name: Set up a cron job to run the script - name: Set up a cron job to run the script
cron: cron:
name: "log-rabbitmq-memory-usage" name: "log-rabbitmq-memory-usage"
job: "{{ rabbitmq_app_dir }}/log-rabbitmq-memory.sh >/dev/null 2>&1" job: "{{ rabbitmq_app_dir }}/log-rabbitmq-memory.sh >/dev/null 2>&1"
tags:
- "monitoring"
- name: install logrotate configuration - name: install logrotate configuration
template: template:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment