forked from martomi/chiadog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-example.yaml
104 lines (99 loc) · 2.76 KB
/
config-example.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Please copy this example config to config.yaml
# and adjust it to your needs.
# This is useful to differentiate multiple chiadog
# instances monitoring multiple harvesters
notification_title_prefix: 'Chia'
log_level: INFO
# Only one consumer can be enabled at a time, you can
# delete the section for the consumer which you aren't using
# For Windows file path needs to be absolute.
chia_logs:
file_log_consumer:
enable: true
file_path: '~/.chia/mainnet/log/debug.log'
network_log_consumer:
enable: false
remote_file_path: '~/.chia/mainnet/log/debug.log'
remote_host: "192.168.0.100"
remote_user: "chia"
remote_port: 22
# Enable this and chiadog will ping a remote server every 5 minutes
# That way you can know that the monitoring is running as expected
keep_alive_monitor:
enable_remote_ping: false
ping_url: ''
# Enable this and you'll receive a daily summary notification
# on your farm performance at the specified time of the day.
daily_stats:
enable: true
time_of_day: "21:00"
frequency_hours: 24
# We support a lot of notifiers, please check the README for more
# information. You can delete the sections which you aren't using.
# You can also enable more than one notifier and send different
# notifications to each of them. E.g. enable daily_stats only to E-mail.
# If you enable wallet_events you'll get notifications anytime your
# wallet receives some XCH (e.g. farming reward).
notifier:
pushover:
enable: false
daily_stats: true
wallet_events: true
credentials:
api_token: 'dummy_token'
user_key: 'dummy_key'
telegram:
enable: false
daily_stats: true
wallet_events: true
credentials:
bot_token: 'dummy_bot_token'
chat_id: 'dummy_chat_id'
smtp:
enable: false
daily_stats: true
wallet_events: true
credentials:
sender: '[email protected]'
sender_name: 'chiadog'
recipient: '[email protected]'
username_smtp: 'username'
password_smtp: 'password'
host: 'smtp.example.com'
port: 587
script:
enable: false
daily_stats: true
wallet_events: true
script_path: 'tests/test_script.sh'
discord:
enable: false
daily_stats: true
wallet_events: true
credentials:
webhook_url: 'https://discord.com/api/webhooks/...'
slack:
enable: false
daily_stats: true
wallet_events: true
credentials:
webhook_url: 'https://hooks.slack.com/services/...'
mqtt:
enable: false
daily_stats: true
wallet_events: true
topic: chia/chiadog/alert
qos: 1
retain: false
credentials:
host: '192.168.0.10'
port: 8883
username: ''
password: ''
grafana:
enable: false
credentials:
base_url: ''
api_token: ''
dashboard_id: -1
panel_id: -1