forked from martomi/chiadog
-
Notifications
You must be signed in to change notification settings - Fork 3
/
config-example.yaml
162 lines (155 loc) · 4.38 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# 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
coin_name: 'chia'
coin_symbol: 'xch'
# 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
prefix: 'chia'
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
# In this section you can enable and configure the log handlers
handlers:
# Checks for new coins received (wallet)
wallet_added_coin_handler:
enable: true
# Transactions with lower amount mojos will be ignored
# Use this to avoid notification spam during dust storms
min_mojos_amount: 5
# Checks for skipped signage points (full node)
finished_signage_point_handler:
enable: true
# Checks for new blocks found (full node)
block_handler:
enable: true
# Checks for found partials (farmer)
partial_handler:
enable: true
# Checks harvester activity & health (harvester)
harvester_activity_handler:
enable: true
# 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
decreasing_plot_events: true
increasing_plot_events: false
credentials:
api_token: 'dummy_token'
user_key: 'dummy_key'
pushcut:
enable: false
daily_stats: true
wallet_events: true
decreasing_plot_events: true
increasing_plot_events: false
credentials:
api_token: 'dummy_token'
user_key: 'dummy_key'
telegram:
enable: false
daily_stats: true
wallet_events: true
decreasing_plot_events: true
increasing_plot_events: false
credentials:
bot_token: 'dummy_bot_token'
chat_id: 'dummy_chat_id'
smtp:
enable: false
daily_stats: true
wallet_events: true
decreasing_plot_events: true
increasing_plot_events: false
credentials:
sender: 'chia@example.com'
sender_name: 'chiadog'
recipient: 'you@example.com'
username_smtp: 'username'
password_smtp: 'password'
enable_smtp_auth: true
host: 'smtp.example.com'
port: 587
script:
enable: false
daily_stats: true
wallet_events: true
decreasing_plot_events: true
increasing_plot_events: false
script_path: 'tests/test_script.sh'
discord:
enable: false
daily_stats: true
wallet_events: true
decreasing_plot_events: true
increasing_plot_events: false
credentials:
webhook_url: 'https://discord.com/api/webhooks/...'
slack:
enable: false
daily_stats: true
wallet_events: true
decreasing_plot_events: true
increasing_plot_events: false
credentials:
webhook_url: 'https://hooks.slack.com/services/...'
mqtt:
enable: false
daily_stats: true
wallet_events: true
decreasing_plot_events: true
increasing_plot_events: false
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
ifttt:
enable: false
daily_stats: false
wallet_events: false
decreasing_plot_events: true
increasing_plot_events: false
credentials:
api_token: 'dummy_token'
webhook_name: 'dummy_key'