-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathmonitors.yaml.example
More file actions
37 lines (36 loc) · 1.45 KB
/
monitors.yaml.example
File metadata and controls
37 lines (36 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copy to monitors.yaml in this directory and adjust. Loaded by monitor.config.load_watches().
#
# --- Field reference (all keys per watch) ---
# name: str # Unique id (also APScheduler job id)
# type: "keyword" | "url" # keyword = search pipeline; url = single-page monitor
# query: str # Required if type=keyword — passed to search.get_search_results
# url: str # Required if type=url — full URL to scrape
# interval_hours: float # Minimum 0.5
# alert_on: "new_results" | "any_change" | "any_appearance"
# webhook_url: str | null # Optional JSON POST target
# telegram_chat_id: str | null # Optional; TELEGRAM_BOT_TOKEN in .env
# email: str | null # Optional; SMTP_* in .env
# enabled: bool # Default true
#
# Example (commented — uncomment and edit to use):
#
# watches:
# - name: "ransomware escrow watch"
# type: keyword
# query: "ransomware payment escrow"
# interval_hours: 6
# alert_on: new_results
# webhook_url: https://hooks.slack.com/services/XXX/YYY/ZZZ
# telegram_chat_id: null
# email: null
# enabled: true
# - name: "forum index page"
# type: url
# url: "http://examplexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion/"
# interval_hours: 12
# alert_on: any_change
# webhook_url: null
# telegram_chat_id: "123456789"
# email: analyst@example.com
# enabled: true
watches: []