113 lines
3.1 KiB
YAML
113 lines
3.1 KiB
YAML
backup-heartbeat:
|
|
command: /usr/local/bin/backup-heartbeat.sh
|
|
every_seconds: 1800
|
|
timeout: 120
|
|
retries: 1
|
|
updates-check:
|
|
command: /opt/music-tools/venv/bin/python /opt/hub-core/check_updates.py
|
|
every_seconds: 21600
|
|
timeout: 900
|
|
retries: 1
|
|
disk-trend:
|
|
command: df -h / /mnt/media /mnt/archive | tail -3
|
|
notify_on_success: false
|
|
timeout: 30
|
|
retries: 0
|
|
daily_at: 07:45
|
|
verify-services:
|
|
command: curl -s --max-time 20 http://127.0.0.1:9120/status.json | /opt/music-tools/venv/bin/python -c "import json,sys; d=json.load(sys.stdin); bad=[s['name'] for s in d.get('services',[]) if not s.get('up')];
|
|
print('лежат:', bad or 'нет')"
|
|
every_seconds: 3600
|
|
timeout: 60
|
|
retries: 1
|
|
update-plan:
|
|
command: /opt/music-tools/venv/bin/python /opt/hub-core/update_plan.py
|
|
daily_at: 08:45
|
|
timeout: 120
|
|
retries: 0
|
|
notify_on_success: false
|
|
home-heartbeat:
|
|
command: ssh -o BatchMode=yes -o ConnectTimeout=10 root@193.233.210.184 'date +%s > /var/lib/home-hb'
|
|
every_seconds: 300
|
|
timeout: 40
|
|
retries: 1
|
|
export-service-metrics:
|
|
command: /usr/bin/python3 /opt/buryan-hub/scripts/export-service-metrics.py
|
|
every_seconds: 120
|
|
timeout: 180
|
|
retries: 1
|
|
direct-health-check:
|
|
command: /usr/bin/python3 /opt/buryan-hub/scripts/direct-health-check.py
|
|
every_seconds: 300
|
|
timeout: 180
|
|
retries: 1
|
|
check-services:
|
|
command: /opt/buryan-hub/scripts/check-services.sh
|
|
every_seconds: 300
|
|
timeout: 240
|
|
retries: 1
|
|
swarm-watchdog:
|
|
command: /opt/buryan-hub/scripts/swarm-watchdog.sh
|
|
every_seconds: 60
|
|
timeout: 120
|
|
retries: 0
|
|
audit-targets:
|
|
command: /usr/bin/python3 /opt/buryan-hub/scripts/audit-targets.py
|
|
daily_at: 07:15
|
|
timeout: 300
|
|
retries: 0
|
|
ai-digest:
|
|
command: /usr/bin/python3 /opt/hermes/hermes_ai_digest.py
|
|
notify_on_success: false
|
|
timeout: 300
|
|
retries: 0
|
|
daily_at: 08:30
|
|
media-digest:
|
|
command: /opt/music-tools/venv/bin/python /opt/hermes/media_digest.py
|
|
daily_at: 09:30
|
|
notify_on_success: false
|
|
timeout: 180
|
|
retries: 1
|
|
hygiene-scan:
|
|
command: /root/buryan-infra/ops/scripts/hygiene_job.sh
|
|
daily_at: 07:20
|
|
notify_on_success: false
|
|
timeout: 900
|
|
retries: 0
|
|
rag-reindex:
|
|
command: /usr/bin/python3 /root/buryan-infra/ops/scripts/rag_index.py
|
|
daily_at: 03:40
|
|
notify_on_success: false
|
|
timeout: 3600
|
|
retries: 0
|
|
evolution-report:
|
|
command: /usr/bin/python3 /root/buryan-infra/ops/scripts/evolution_agent.py
|
|
daily_at: 08:10
|
|
notify_on_success: false
|
|
timeout: 300
|
|
retries: 0
|
|
trust-report:
|
|
command: /usr/bin/python3 /root/buryan-infra/ops/scripts/trust_report.py
|
|
daily_at: 08:00
|
|
notify_on_success: false
|
|
timeout: 120
|
|
retries: 0
|
|
weekly-report:
|
|
command: /usr/bin/python3 /root/buryan-infra/ops/scripts/weekly_report.py
|
|
daily_at: 08:05
|
|
notify_on_success: false
|
|
timeout: 180
|
|
retries: 0
|
|
research-alternatives:
|
|
command: /usr/bin/python3 /root/buryan-infra/ops/scripts/research_alternatives.py
|
|
daily_at: 08:15
|
|
notify_on_success: false
|
|
timeout: 900
|
|
retries: 0
|
|
night-analysis:
|
|
command: /usr/bin/python3 /root/buryan-infra/ops/scripts/night_analysis.py
|
|
daily_at: 03:00
|
|
notify_on_success: false
|
|
timeout: 1200
|
|
retries: 0
|