6 Commits

Author SHA1 Message Date
Maksim Totmin
bec273d7ac refactor: remove global robot_id, require it per-scenario
- config.py: remove robot_id field from SESConfig (no global default)
- session_client.py: robot_id is now REQUIRED in ask(), no fallback
- mfc_dialog.yaml: add explicit robot_id
- example_*.yaml: add commented robot_id placeholder, fix outdated comments
- config.yaml.example: remove robot_id from ses section
- README: full audit — remove archive references, fix deployment docs,
    fix scenario format docs, remove outdated sections
2026-06-19 20:53:41 +07:00
Maksim Totmin
9505742b96 docs: update deployment section to use git clone + pip install -e .
Replace rsync-based deployment with git clone from git.totmin.ru.
Update Zabbix template import instructions to choose between
sender (zbx_ses_template_5.0.xml) and UserParameter
(zbx_ses_template_5.0_up.xml) variants.
2026-06-19 20:43:16 +07:00
Maksim Totmin
2907652aec docs: remove archive_auditor references from README 2026-06-19 20:41:53 +07:00
Maksim Totmin
763a1a2a16 cleanup: remove dead archive_auditor module
archive_auditor.py not imported or used by main.py since archive
metrics were removed from the monitoring loop. Remove the dead
module along with its 10 tests and dead imports (ModelsMonitoringConfig,
AppConfig, ArchiveEntry).

Tests: 59 -> 48 (all pass)
2026-06-19 20:36:34 +07:00
Maksim Totmin
6d8bf29045 refactor: migrate to src-layout (PEP 517/518)
Move ses_monitor package into src/ directory for proper
Python packaging standards (src-layout).

- src/ses_monitor/ — package source
- pyproject.toml: [tool.setuptools.packages.find] where = ["src"]
- pyproject.toml: [tool.pytest.ini_options] pythonpath = ["src"]
- 59 tests pass unchanged
2026-06-19 20:29:22 +07:00
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