-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
services: # список сервисов для мониторинга | ||
- name: Google # наименование для уведомления | ||
initialDelaySeconds: 5 # пауза перед первым опросом в секундах, по умолчанию: 0; если меньше 0, то используется случайное значение между 0 и `periodSeconds` | ||
periodSeconds: 10 # период опроса в секундах, по умолчанию: 10 | ||
timeoutSeconds: 1 # время ожидания ответа в секундах, по кмолчанию: 1 | ||
successThreshold: 1 # количество последовательных успешных соединений для перехода в состояние "в сети", по умолчанию: 1 | ||
failureThreshold: 3 # количество последовательных ошибок соединения для перехода в состояние "не в сети", по умолчанию: 3 | ||
httpGet: # проверка HTTP(S) сервиса | ||
scheme: https # схема http/https | ||
host: google.com # адрес сервиса | ||
path: / # путь | ||
port: 443 # порт | ||
httpHeaders: # дополнительные http-заголовки запроса | ||
- name: X-Header # имя заголовка | ||
value: value # значение заголовка | ||
- name: MySQL | ||
initialDelaySeconds: 5 | ||
periodSeconds: 10 | ||
timeoutSeconds: 1 | ||
successThreshold: 1 | ||
failureThreshold: 3 | ||
tcpSocket: # проверка TCP-порта | ||
host: localhost # адрес сервиса | ||
port: 3306 # порт |