ses-monitor/config/scenarios/mfc_dialog.yaml
Maksim Totmin 7394b14b52 Initial commit: ses-monitor watchdog for SES
Универсальный watchdog-мониторинг Service Engine Server (SES):
- Liveness-проверки (API, лицензия, роботы)
- Диалоговые сценарии из YAML с агрегацией в 6 фиксированных Zabbix-метрик
- Доставка: zabbix_sender (active push) или UserParameter (пассивный опрос)
- Поддержка Python 3.7+, Zabbix 5.0
2026-06-19 20:26:26 +07:00

24 lines
958 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =============================================================================
# Сценарий: диалог с роботом МФЦ (production)
# =============================================================================
# Проверяет что робот отвечает на приветствие и возвращает меню действий.
# Выполняется каждые 60 секунд, создаёт сессию в SES.
# Результат агрегируется в ses.scenario.ok/total/failed/avg_time/max_time/error.
name: "mfc_dialog"
description: >
Проверка диалога с МФЦ: отправка приветствия,
ожидание меню действий (error=0, answer не пуст).
enabled: true
interval: 60
timeout: 15
steps:
- send: "Здравствуйте"
expect:
- path: "error"
equals: 0
- path: "answer[0].messages[0]"
not_empty: true