diff --git a/playbooks/deploy.yml b/playbooks/deploy.yml index 0cb8842..3f56bc5 100644 --- a/playbooks/deploy.yml +++ b/playbooks/deploy.yml @@ -8,5 +8,8 @@ vars: log_type: "{{ item }}" with_items: "{{ deploy_logs }}" + + - name: Update Alerts Script With Cron + ansible.builtin.shell: "svn up /data/ops/script/monitor.sh; chmod 755 /data/ops/script/monitor.sh" diff --git a/playbooks/roles/filebeat/files/filebeat_monitor b/playbooks/roles/filebeat/files/filebeat_monitor index a4f72f5..fb83b68 100755 Binary files a/playbooks/roles/filebeat/files/filebeat_monitor and b/playbooks/roles/filebeat/files/filebeat_monitor differ diff --git a/playbooks/roles/filebeat/templates/filebeat_monitor.yaml b/playbooks/roles/filebeat/templates/filebeat_monitor.yaml index 0104234..21b3606 100644 --- a/playbooks/roles/filebeat/templates/filebeat_monitor.yaml +++ b/playbooks/roles/filebeat/templates/filebeat_monitor.yaml @@ -4,4 +4,5 @@ filebeat_config_path: {{ filebeat_logs[log_type]['filebeat_config_path'] | defau metric_host: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }} push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }} push_gateway_lifecycle: {{ filebeat_monitor_push_lifecycle | default(5) }} -log_path: {{ filebeat_monitor_log_path | default('logs/filebeat_monitor.log') }} \ No newline at end of file +log_path: {{ filebeat_monitor_log_path | default('logs/filebeat_monitor.log') }} +elastic_delays_metric_enabled: {{ elastic_delays_metric_enabled | default('false')}}