Последняя версияLatest: 0.6.06.080226
Стабильная версияStable: -
Установка
Install
Последняя:
Latest:
curl -fsSL https://packages.novij.tech/agents/monitoring/install.sh | sudo bash
Стабильная:
Stable:
curl -fsSL https://packages.novij.tech/agents/monitoring/install.sh | sudo env NOVIJ_PACKAGE_CHANNEL=stable bash
Релизы
Releases
latest
stable
- Релизов пока нет.
- No releases yet.
Команды
Commands
novij-monitoring-agent init --wizard- Создаёт рабочий YAML-конфиг.Creates a working YAML config.
novij-monitoring-agent config validate- Проверяет конфиг и обязательные параметры.Validates the config and required parameters.
novij-monitoring-agent run --once- Выполняет один цикл проверок.Runs one check cycle.
novij-monitoring-agent status- Показывает состояние агента, инцидентов и очередей.Shows agent, incident, and queue status.
novij-monitoring-agent status current- Выполняет свежий срез включенных проверок.Runs a fresh read-only snapshot of enabled checks.
novij-monitoring-agent overview- Показывает настройку агента и состояние сервиса.Shows agent setup and service state.
novij-monitoring-agent update [--check] [--channel stable]- Проверяет или ставит обновление.Checks or installs an update.
novij-monitoring-agent checks list- Показывает доступные проверки и их состояние.Lists available checks and their state.
novij-monitoring-agent incidents list- Показывает последние инциденты.Lists recent incidents.
novij-monitoring-agent telegram setup-bot- Настраивает прямую отправку в Telegram Bot API.Configures direct Telegram Bot API delivery.
novij-monitoring-agent telegram report- Отправляет ежедневный информационный отчёт сейчас.Sends the daily informational report now.
novij-monitoring-agent telegram connect- Подключает алерты через Novij Telegram Service.Connects alert delivery through Novij Telegram Service.
novij-monitoring-agent telegram poll-actions- Получает действия пользователя по кнопкам Telegram.Polls Telegram button actions.
novij-monitoring-agent ntp status- Показывает очередь записи истории в NTP.Shows the NTP history queue status.
novij-monitoring-agent ntp key status- Проверяет NTP wallet-файл и права доступа.Checks the NTP wallet file and permissions.
novij-monitoring-agent version- Показывает версию, commit и метаданные сборки.Shows version, commit, and build metadata.
Частые сценарии
Common Scenarios
1. Первичная настройка после установки1. Initial setup after install
sudo novij-monitoring-agent init --wizard
sudo novij-monitoring-agent config validate
sudo systemctl enable --now novij-monitoring-agent.service
systemctl status novij-monitoring-agent.service
2. Базовый мониторинг сервера2. Basic server monitoring
Включите системные проверки CPU, RAM, disk, load и доступность сетевых endpoint. После изменения конфига запускайте validate и один dry-run цикл.
Enable system checks for CPU, RAM, disk, load, and endpoint availability. After config changes run validate and one dry-run cycle.
sudo novij-monitoring-agent config validate
sudo novij-monitoring-agent run --once
novij-monitoring-agent status current
3. Алерты в Telegram3. Telegram alerts
Для прямой отправки используйте Bot API. Для централизованной доставки и действий по кнопкам подключайте Novij Telegram Service.
Use Bot API for direct delivery. Use Novij Telegram Service for centralized delivery and button actions.
novij-monitoring-agent telegram setup-bot
novij-monitoring-agent telegram connect
novij-monitoring-agent telegram report
novij-monitoring-agent telegram poll-actions
4. Инциденты и текущий статус4. Incidents and current state
novij-monitoring-agent status
novij-monitoring-agent incidents list
novij-monitoring-agent checks list
novij-monitoring-agent overview
5. История мониторинга в NTP5. Monitoring history in NTP
Перед записью истории проверьте wallet-файл и очередь отправки в NTP.
Before writing history, check the wallet file and NTP delivery queue.
novij-monitoring-agent ntp key status
novij-monitoring-agent ntp status
6. Обновление агента6. Agent updates
novij-monitoring-agent update --check
sudo novij-monitoring-agent update
sudo novij-monitoring-agent update --channel stable