You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bom dia a todos. Por favor, preciso configurar corretamente o Alerta para o Chat do Google. Tentei várias configurações e sempre ocorre a mensagem de que nenhum dos esquemas é válido.
Ao configurar para enviar um alerta por email, ele envia normalmente com as minhas configurações atuais de consulta e tipo.
Alguém, pode me dar uma luz para fazer rodar no google chat?
Outra dúvida, como alertar apenas na primeira vez que encontra a query?
Obrigado.
Segue a configuração da regra (rules_chat.yaml):
name: "Teste Google Chat - tag_crmsc_desenvolvimento_int está UP"
type: frequency
index: heartbeat-*
num_events: 1
timeframe:
hours: 1
filter:
query:
query_string:
query: "monitor.name: tag_crmsc_desenvolvimento_int AND monitor.status: up"
Bom dia a todos. Por favor, preciso configurar corretamente o Alerta para o Chat do Google. Tentei várias configurações e sempre ocorre a mensagem de que nenhum dos esquemas é válido.
Ao configurar para enviar um alerta por email, ele envia normalmente com as minhas configurações atuais de consulta e tipo.
Alguém, pode me dar uma luz para fazer rodar no google chat?
Outra dúvida, como alertar apenas na primeira vez que encontra a query?
Obrigado.
Segue a configuração da regra (rules_chat.yaml):
name: "Teste Google Chat - tag_crmsc_desenvolvimento_int está UP"
type: frequency
index: heartbeat-*
num_events: 1
timeframe:
hours: 1
filter:
query_string:
query: "monitor.name: tag_crmsc_desenvolvimento_int AND monitor.status: up"
alert:
googlechat_webhook_url: "https://chat.googleapis.com/v1/spaces/AAAASEH248Q/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=wlqVjil7wCwirP0lDY7wylNiz5BhoTwfjDD5HG967NI%3D"
alerts_test |
alerts_test | > @bitsensor/[email protected] start /opt/elastalert-server
alerts_test | > sh ./scripts/start.sh
alerts_test |
alerts_test | 12:38:02.558Z INFO elastalert-server: Config: No config.dev.json file was found in /opt/elastalert-server/config/config.dev.json.
alerts_test | 12:38:02.559Z INFO elastalert-server: Config: Proceeding to look for normal config file.
alerts_test | 12:38:02.560Z INFO elastalert-server: Config: A config file was found in /opt/elastalert-server/config/config.json. Using that config.
alerts_test | 12:38:02.576Z INFO elastalert-server: Router: Listening for GET request on /.
alerts_test | 12:38:02.576Z INFO elastalert-server: Router: Listening for GET request on /status.
alerts_test | 12:38:02.576Z INFO elastalert-server: Router: Listening for GET request on /status/control/:action.
alerts_test | 12:38:02.576Z INFO elastalert-server: Router: Listening for GET request on /status/errors.
alerts_test | 12:38:02.576Z INFO elastalert-server: Router: Listening for GET request on /rules.
alerts_test | 12:38:02.577Z INFO elastalert-server: Router: Listening for GET request on /rules/:id.
alerts_test | 12:38:02.577Z INFO elastalert-server: Router: Listening for POST request on /rules/:id.
alerts_test | 12:38:02.577Z INFO elastalert-server: Router: Listening for DELETE request on /rules/:id.
alerts_test | 12:38:02.577Z INFO elastalert-server: Router: Listening for GET request on /templates.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for GET request on /templates/:id.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for POST request on /templates/:id.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for DELETE request on /templates/:id.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for POST request on /test.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for GET request on /config.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for POST request on /config.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for POST request on /download.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for GET request on /metadata/:type.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for GET request on /mapping/:index.
alerts_test | 12:38:02.578Z INFO elastalert-server: Router: Listening for POST request on /search/:index.
alerts_test | 12:38:02.580Z INFO elastalert-server: ProcessController: Starting ElastAlert
alerts_test | 12:38:02.580Z INFO elastalert-server: ProcessController: Creating index
alerts_test | 12:38:03.169Z INFO elastalert-server:
alerts_test | ProcessController: Elastic Version: 7.4.1
alerts_test | Reading Elastic 6 index mappings:
alerts_test | Reading index mapping 'es_mappings/6/silence.json'
alerts_test | Reading index mapping 'es_mappings/6/elastalert_status.json'
alerts_test | Reading index mapping 'es_mappings/6/elastalert.json'
alerts_test | Reading index mapping 'es_mappings/6/past_elastalert.json'
alerts_test | Reading index mapping 'es_mappings/6/elastalert_error.json'
alerts_test | Index elastalert_status already exists. Skipping index creation.
alerts_test |
alerts_test | 12:38:03.169Z INFO elastalert-server: ProcessController: Index create exited with code 0
alerts_test | 12:38:03.169Z INFO elastalert-server: ProcessController: Starting elastalert with arguments [none]
alerts_test | 12:38:03.175Z INFO elastalert-server: ProcessController: Started Elastalert (PID: 36)
alerts_test | 12:38:03.176Z INFO elastalert-server: Server: Server listening on port 3030
alerts_test | 12:38:03.177Z INFO elastalert-server: Server: Websocket listening on port 3333
alerts_test | 12:38:03.177Z INFO elastalert-server: Server: Server started
alerts_test | 12:38:04.174Z ERROR elastalert-server:
alerts_test | ProcessController: Traceback (most recent call last):
alerts_test | File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
alerts_test |
alerts_test | 12:38:04.174Z ERROR elastalert-server:
alerts_test | ProcessController: "main", fname, loader, pkg_name)
alerts_test | File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
alerts_test | exec code in run_globals
alerts_test | File "/opt/elastalert/elastalert/elastalert.py", line 2019, in
alerts_test | sys.exit(main(sys.argv[1:]))
alerts_test | File "/opt/elastalert/elastalert/elastalert.py", line 2013, in main
alerts_test |
alerts_test | 12:38:04.174Z ERROR elastalert-server:
alerts_test | ProcessController: client = ElastAlerter(args)
alerts_test | File "/opt/elastalert/elastalert/elastalert.py", line 135, in init
alerts_test |
alerts_test | 12:38:04.174Z ERROR elastalert-server:
alerts_test | ProcessController: self.rules = self.rules_loader.load(self.conf, self.args)
alerts_test | File "elastalert/loaders.py", line 124, in load
alerts_test | raise EAException('Error loading file %s: %s' % (rule_file, e))
alerts_test | elastalert.util.EAException
alerts_test | 12:38:04.174Z ERROR elastalert-server:
alerts_test | ProcessController: : Error loading file rules/rules_chat.yaml: Invalid Rule file: rules/rules_chat.yaml
alerts_test | {'index': 'heartbeat-', 'name': u'Teste Google Chat - tag_crmsc_desenvolvimento_int est\xe1 UP', 'num_events': 1, 'alert': ['googlechat'], 'hours': 1, 'googlechat_webhook_url': 'https://chat.googleapis.com/v1/spaces/AAAASEH248Q/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=wlqVjil7wCwirP0lDY7wylNiz5BhoTwfjDD5HG967NI%3D', 'rule_file': 'rules/rules_chat.yaml', 'timeframe': None, 'type': 'frequency', 'filter': [{'query': {'query_string': {'query': 'monitor.name: tag_crmsc_desenvolvimento_int AND monitor.status: up'}}}]} is not valid under any of the given schemas
alerts_test |
alerts_test | Failed validating 'oneOf' in schema:
alerts_test | {'$schema': 'http://json-schema.org/draft-04/schema#',
alerts_test | 'definitions': {'arrayOfStrings': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'arrayOfStringsOrOtherArrays': {'items': {'type': ['string',
alerts_test | 'array']},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'filter': {},
alerts_test | 'mattermostField': {'additionalProperties': False,
alerts_test | 'properties': {'args': {'items': {'type': 'string'},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'short': {'type': 'boolean'},
alerts_test | 'title': {'type': 'string'},
alerts_test | 'value': {'type': 'string'}},
alerts_test | 'type': 'object'},
alerts_test | 'timeFrame': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'}},
alerts_test | 'oneOf': [{'properties': {'type': {'enum': ['any']}},
alerts_test | 'title': 'Any'},
alerts_test | {'properties': {'blacklist': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'compare_key': {'items': {'type': 'string'},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'type': {'enum': ['blacklist']}},
alerts_test | 'required': ['blacklist', 'compare_key'],
alerts_test | 'title': 'Blacklist'},
alerts_test | {'properties': {'compare_key': {'items': {'type': 'string'},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'ignore_null': {'type': 'boolean'},
alerts_test | 'type': {'enum': ['whitelist']},
alerts_test | 'whitelist': {'items': {'type': 'string'},
alerts_test | 'type': 'array'}},
alerts_test | 'required': ['whitelist', 'compare_key', 'ignore_null'],
alerts_test | 'title': 'Whitelist'},
alerts_test | {'properties': {'compare_key': {'items': {'type': 'string'},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'ignore_null': {'type': 'boolean'},
alerts_test | 'timeframe': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'type': {'enum': ['change']}},
alerts_test | 'required': ['query_key', 'compare_key', 'ignore_null'],
alerts_test | 'title': 'Change'},
alerts_test | {'properties': {'attach_related': {'type': 'boolean'},
alerts_test | 'doc_type': {'type': 'string'},
alerts_test | 'num_events': {'type': 'integer'},
alerts_test | 'terms_size': {'type': 'integer'},
alerts_test | 'timeframe': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'type': {'enum': ['frequency']},
alerts_test | 'use_count_query': {'type': 'boolean'},
alerts_test | 'use_terms_query': {'type': 'boolean'}},
alerts_test | 'required': ['num_events', 'timeframe'],
alerts_test | 'title': 'Frequency'},
alerts_test | {'properties': {'alert_on_new_data': {'type': 'boolean'},
alerts_test | 'doc_type': {'type': 'string'},
alerts_test | 'spike_height': {'type': 'number'},
alerts_test | 'spike_type': {'enum': ['up',
alerts_test | 'down',
alerts_test | 'both']},
alerts_test | 'terms_size': {'type': 'integer'},
alerts_test | 'threshold_cur': {'type': 'integer'},
alerts_test | 'threshold_ref': {'type': 'integer'},
alerts_test | 'timeframe': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'type': {'enum': ['spike']},
alerts_test | 'use_count_query': {'type': 'boolean'},
alerts_test | 'use_terms_query': {'type': 'boolean'}},
alerts_test | 'required': ['spike_height', 'spike_type', 'timeframe'],
alerts_test | 'title': 'Spike'},
alerts_test | {'properties': {'alert_on_new_data': {'type': 'boolean'},
alerts_test | 'doc_type': {'type': 'string'},
alerts_test | 'metric_agg_type': {'enum': ['min',
alerts_test | 'max',
alerts_test | 'avg',
alerts_test | 'sum',
alerts_test | 'cardinality',
alerts_test | 'value_count']},
alerts_test | 'min_doc_count': {'type': 'integer'},
alerts_test | 'spike_height': {'type': 'number'},
alerts_test | 'spike_type': {'enum': ['up',
alerts_test | 'down',
alerts_test | 'both']},
alerts_test | 'terms_size': {'type': 'integer'},
alerts_test | 'threshold_cur': {'type': 'number'},
alerts_test | 'threshold_ref': {'type': 'number'},
alerts_test | 'timeframe': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'type': {'enum': ['spike_aggregation']},
alerts_test | 'use_count_query': {'type': 'boolean'},
alerts_test | 'use_terms_query': {'type': 'boolean'}},
alerts_test | 'required': ['spike_height', 'spike_type', 'timeframe'],
alerts_test | 'title': 'Spike Aggregation'},
alerts_test | {'properties': {'doc_type': {'type': 'string'},
alerts_test | 'threshold': {'type': 'integer'},
alerts_test | 'timeframe': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'type': {'enum': ['flatline']},
alerts_test | 'use_count_query': {'type': 'boolean'}},
alerts_test | 'required': ['threshold', 'timeframe'],
alerts_test | 'title': 'Flatline'},
alerts_test | {'properties': {'alert_on_missing_field': {'type': 'boolean'},
alerts_test | 'fields': {'items': {'type': ['string',
alerts_test | 'array']},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'terms_size': {'type': 'integer'},
alerts_test | 'terms_window_size': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'type': {'enum': ['new_term']},
alerts_test | 'use_terms_query': {'type': 'boolean'}},
alerts_test | 'required': [],
alerts_test | 'title': 'New Term'},
alerts_test | {'properties': {'cardinality_field': {'type': 'string'},
alerts_test | 'max_cardinality': {'type': 'integer'},
alerts_test | 'min_cardinality': {'type': 'integer'},
alerts_test | 'timeframe': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'type': {'enum': ['cardinality']}},
alerts_test | 'required': ['cardinality_field', 'timeframe'],
alerts_test | 'title': 'Cardinality'},
alerts_test | {'properties': {'metric_agg_type': {'enum': ['min',
alerts_test | 'max',
alerts_test | 'avg',
alerts_test | 'sum',
alerts_test | 'cardinality',
alerts_test | 'value_count']},
alerts_test | 'type': {'enum': ['metric_aggregation']}},
alerts_test | 'required': ['metric_agg_key', 'metric_agg_type'],
alerts_test | 'title': 'Metric Aggregation'},
alerts_test | {'properties': {'type': {'enum': ['percentage_match']}},
alerts_test | 'required': ['match_bucket_filter'],
alerts_test | 'title': 'Percentage Match'},
alerts_test | {'properties': {'type': {'pattern': '[.]'}},
alerts_test | 'title': 'Custom Rule from Module'}],
alerts_test | 'properties': {'aggregation': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'alert_missing_value': {'type': 'string'},
alerts_test | 'alert_text': {'type': 'string'},
alerts_test | 'alert_text_args': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'alert_text_kw': {'type': 'object'},
alerts_test | 'alert_text_type': {'enum': ['alert_text_only',
alerts_test | 'exclude_fields',
alerts_test | 'aggregation_summary_only']},
alerts_test | 'alerta_api_key': {'type': 'string'},
alerts_test | 'alerta_api_url': {'type': 'string'},
alerts_test | 'alerta_attributes_keys': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'alerta_attributes_values': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'alerta_correlate': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'alerta_customer': {'type': 'string'},
alerts_test | 'alerta_environment': {'type': 'string'},
alerts_test | 'alerta_event': {'type': 'string'},
alerts_test | 'alerta_group': {'type': 'string'},
alerts_test | 'alerta_new_style_string_format': {'type': 'boolean'},
alerts_test | 'alerta_origin': {'type': 'string'},
alerts_test | 'alerta_resource': {'type': 'string'},
alerts_test | 'alerta_service': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'alerta_severity': {'enum': ['unknown',
alerts_test | 'security',
alerts_test | 'debug',
alerts_test | 'informational',
alerts_test | 'ok',
alerts_test | 'normal',
alerts_test | 'cleared',
alerts_test | 'indeterminate',
alerts_test | 'warning',
alerts_test | 'minor',
alerts_test | 'major',
alerts_test | 'critical']},
alerts_test | 'alerta_tags': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'alerta_text': {'type': 'string'},
alerts_test | 'alerta_type': {'type': 'string'},
alerts_test | 'alerta_value': {'type': 'string'},
alerts_test | 'buffer_time': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'command': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'email': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'email_reply_to': {'type': 'string'},
alerts_test | 'es_host': {'type': 'string'},
alerts_test | 'es_password': {'type': 'string'},
alerts_test | 'es_port': {'type': 'integer'},
alerts_test | 'es_username': {'type': 'string'},
alerts_test | 'exotel_account_sid': {'type': 'string'},
alerts_test | 'exotel_auth_token': {'type': 'string'},
alerts_test | 'exotel_from_number': {'type': 'string'},
alerts_test | 'exotel_to_number': {'type': 'string'},
alerts_test | 'exponential_realert': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'fail_on_non_zero_exit': {'type': 'boolean'},
alerts_test | 'field': {},
alerts_test | 'filter': {'additionalProperties': False,
alerts_test | 'items': {},
alerts_test | 'properties': {'download_dashboard': {'type': 'string'}},
alerts_test | 'type': ['array', 'object']},
alerts_test | 'from_addr': {'type': 'string'},
alerts_test | 'generate_kibana_link': {'type': 'boolean'},
alerts_test | 'gitter_msg_level': {'enum': ['info', 'error']},
alerts_test | 'gitter_proxy': {'type': 'string'},
alerts_test | 'gitter_webhook_url': {'type': 'string'},
alerts_test | 'hipchat_auth_token': {'type': 'string'},
alerts_test | 'hipchat_domain': {'type': 'string'},
alerts_test | 'hipchat_from': {'type': 'string'},
alerts_test | 'hipchat_ignore_ssl_errors': {'type': 'boolean'},
alerts_test | 'hipchat_mentions': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'hipchat_notify': {'type': 'boolean'},
alerts_test | 'hipchat_room_id': {'type': ['string', 'integer']},
alerts_test | 'import': {'type': 'string'},
alerts_test | 'include': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'index': {'type': 'string'},
alerts_test | 'jira_account_file': {'type': 'string'},
alerts_test | 'jira_assignee': {'type': 'string'},
alerts_test | 'jira_bump_in_statuses': {'items': {'type': 'string'},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'jira_bump_not_in_statuses': {'items': {'type': 'string'},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'jira_bump_tickets': {'type': 'boolean'},
alerts_test | 'jira_component': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'jira_components': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'jira_issuetype': {'type': 'string'},
alerts_test | 'jira_label': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'jira_labels': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'jira_max_age': {'type': 'number'},
alerts_test | 'jira_project': {'type': 'string'},
alerts_test | 'jira_server': {'type': 'string'},
alerts_test | 'jira_watchers': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'kibana_dashboard': {'type': 'string'},
alerts_test | 'linenotify_access_token': {'type': 'string'},
alerts_test | 'match_enhancements': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'mattermost_channel_override': {'type': 'string'},
alerts_test | 'mattermost_icon_url_override': {'type': 'string'},
alerts_test | 'mattermost_ignore_ssl_errors': {'type': 'boolean'},
alerts_test | 'mattermost_msg_color': {'enum': ['good',
alerts_test | 'warning',
alerts_test | 'danger']},
alerts_test | 'mattermost_msg_fields': {'additionalProperties': False,
alerts_test | 'properties': {'args': {'items': {'type': 'string'},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'short': {'type': 'boolean'},
alerts_test | 'title': {'type': 'string'},
alerts_test | 'value': {'type': 'string'}},
alerts_test | 'type': 'object'},
alerts_test | 'mattermost_msg_pretext': {'type': 'string'},
alerts_test | 'mattermost_proxy': {'type': 'string'},
alerts_test | 'mattermost_username_override': {'type': 'string'},
alerts_test | 'mattermost_webhook_url': {'items': {'type': 'string'},
alerts_test | 'type': ['string',
alerts_test | 'array']},
alerts_test | 'max_query_size': {'type': 'integer'},
alerts_test | 'name': {'type': 'string'},
alerts_test | 'notify_email': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'owner': {'type': 'string'},
alerts_test | 'pagerduty_client_name': {'type': 'string'},
alerts_test | 'pagerduty_event_type': {'enum': ['none',
alerts_test | 'trigger',
alerts_test | 'resolve',
alerts_test | 'acknowledge']},
alerts_test | 'pagerduty_service_key': {'type': 'string'},
alerts_test | 'pagertree_integration_url': {'type': 'string'},
alerts_test | 'pipe_match_json': {'type': 'boolean'},
alerts_test | 'priority': {'type': 'integer'},
alerts_test | 'query_delay': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'query_key': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'raw_count_keys': {'type': 'boolean'},
alerts_test | 'realert': {'additionalProperties': False,
alerts_test | 'properties': {'days': {'type': 'number'},
alerts_test | 'hours': {'type': 'number'},
alerts_test | 'milliseconds': {'type': 'number'},
alerts_test | 'minutes': {'type': 'number'},
alerts_test | 'schedule': {'type': 'string'},
alerts_test | 'seconds': {'type': 'number'},
alerts_test | 'weeks': {'type': 'number'}},
alerts_test | 'type': 'object'},
alerts_test | 'replace_dots_in_field_names': {'type': 'boolean'},
alerts_test | 'scan_entire_timeframe': {'type': 'boolean'},
alerts_test | 'simple_proxy': {'type': 'string'},
alerts_test | 'simple_webhook_url': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'slack_ca_certs': {'type': 'string'},
alerts_test | 'slack_emoji_override': {'type': 'string'},
alerts_test | 'slack_icon_url_override': {'type': 'string'},
alerts_test | 'slack_ignore_ssl_errors': {'type': 'boolean'},
alerts_test | 'slack_msg_color': {'enum': ['good',
alerts_test | 'warning',
alerts_test | 'danger']},
alerts_test | 'slack_parse_override': {'enum': ['none', 'full']},
alerts_test | 'slack_text_string': {'type': 'string'},
alerts_test | 'slack_username_override': {'type': 'string'},
alerts_test | 'slack_webhook_url': {'items': {'type': 'string'},
alerts_test | 'type': ['string', 'array']},
alerts_test | 'smtp_host': {'type': 'string'},
alerts_test | 'stride_access_token': {'type': 'string'},
alerts_test | 'stride_cloud_id': {'type': 'string'},
alerts_test | 'stride_conversation_id': {'type': 'string'},
alerts_test | 'stride_ignore_ssl_errors': {'type': 'boolean'},
alerts_test | 'telegram_api_url': {'type': 'string'},
alerts_test | 'telegram_bot_token': {'type': 'string'},
alerts_test | 'telegram_room_id': {'type': 'string'},
alerts_test | 'timestamp_field': {'type': 'string'},
alerts_test | 'top_count_keys': {'items': {'type': 'string'},
alerts_test | 'type': 'array'},
alerts_test | 'top_count_number': {'type': 'integer'},
alerts_test | 'twilio_account_sid': {'type': 'string'},
alerts_test | 'twilio_auth_token': {'type': 'string'},
alerts_test | 'twilio_from_number': {'type': 'string'},
alerts_test | 'twilio_to_number': {'type': 'string'},
alerts_test | 'use_kibana_dashboard': {'type': 'string'},
alerts_test | 'use_local_time': {'type': 'boolean'},
alerts_test | 'use_ssl': {'type': 'boolean'},
alerts_test | 'use_strftime_index': {'type': 'boolean'},
alerts_test | 'verify_certs': {'type': 'boolean'},
alerts_test | 'victorops_api_key': {'type': 'string'},
alerts_test | 'victorops_entity_display_name': {'type': 'string'},
alerts_test | 'victorops_entity_id': {'type': 'string'},
alerts_test | 'victorops_message_type': {'enum': ['INFO',
alerts_test | 'WARNING',
alerts_test | 'ACKNOWLEDGEMENT',
alerts_test | 'CRITICAL',
alerts_test | 'RECOVERY']},
alerts_test | 'victorops_routing_key': {'type': 'string'}},
alerts_test | 'required': ['type', 'index', 'alert'],
alerts_test | 'type': 'object'}
alerts_test |
alerts_test | On instance:
alerts_test | {'alert': ['googlechat'],
alerts_test | 'filter': [{'query': {'query_string': {'query': 'monitor.name: tag_crmsc_desenvolvimento_int AND monitor.status: up'}}}],
alerts_test | 'googlechat_webhook_url': 'https://chat.googleapis.com/v1/spaces/AAAASEH248Q/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=wlqVjil7wCwirP0lDY7wylNiz5BhoTwfjDD5HG967NI%3D',
alerts_test | 'hours': 1,
alerts_test | 'index': 'heartbeat-',
alerts_test | 'name': u'Teste Google Chat - tag_crmsc_desenvolvimento_int est\xe1 UP',
alerts_test | 'num_events': 1,
alerts_test | 'rule_file': 'rules/rules_chat.yaml',
alerts_test | 'timeframe': None,
alerts_test | 'type': 'frequency'}
alerts_test |
alerts_test | 12:38:04.203Z ERROR elastalert-server: ProcessController: ElastAlert exited with code 1
alerts_test | 12:38:04.203Z INFO elastalert-server: Server: Stopping server
alerts_test | 12:38:04.203Z INFO elastalert-server: ProcessController: ElastAlert is not running
alerts_test | 12:38:04.203Z INFO elastalert-server: Server: Server stopped. Bye!
The text was updated successfully, but these errors were encountered: