-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.hermod.example
130 lines (101 loc) · 5.97 KB
/
.hermod.example
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
#!/usr/bin/env bash
# ---------------------------------------------------------------------------
# This file is part of hermod.
#
# Copyright (c) 2019 ItsANameToo <itsanametoo@protonmail.com>
# Copyright (c) Brian Faust <hello@brianfaust.me>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
# ---------------------------------------------------------------------------
# -------------------------
# Monitor
# -------------------------
monitor_lines=10 # number of lines to monitor...
monitor_interval=3 # time to wait after a log check in seconds, values > 1 work best with the last_line monitoring
monitor_sleep_after_notif=10 # time to wait after a notification was sent in seconds
monitor_sleep_halted=30 # time to wait before checking again after the log seemed to have halted
monitor_lines_halted=5 # number of times the line should not have changed before logs are considered halted. This can be calculate to a time value by multiplying with monitor_interval
monitor_notification_prefix= # adds a prefix on notification messages
# -------------------------
# Core
# -------------------------
core_network=mainnet # values: devnet, mainnet, testnet
core_path=$HOME/ark-core # path to core's main directory (no trailing slash!)
core_processes=2 # amount of core processes that you run (ark-relay + ark-forger = 2, ark-core = 1)
core_log_path="$HOME/.local/state/ark-core/$core_network" # path to where logs are stored (no trailing slash!)
# -------------------------
# Delegate
# -------------------------
delegate_username='' # username of the delegate running on the node
delegate_public_key='' # public key of the delegate running on the node
# -------------------------
# Snapshots
# -------------------------
snapshots_enabled=false # set to true to enable the snapshot module
snapshots_retain=5 # how many snapshots we'll store in this server
snapshots_rounds=5 # after how many rounds a snapshots gets taken
# -------------------------
# [Notifications] Driver
# -------------------------
# example would be notification_drivers=(log slack pushover)
notification_drivers=(log) # notification methods...
# values: none, log, email, mailgun, slack, nexmo
# pushover, pushbullet, discord, twilio_call, twilio_message
# -------------------------
# [Notifications] Log
# -------------------------
notification_log=${hermod_dir}/hermod.log # log file...
# -------------------------
# [Notifications] E-Mail
# -------------------------
notification_email_to='' # e-mail recipient...
notification_email_subject='hermod' # e-mail subject...
#-------------------------
# [Notifcations] Discord
#-------------------------
notification_discord_webhook='' # discord incoming webhook...
# -------------------------
# [Notifications] Slack
# -------------------------
notification_slack_webhook='' # slack incoming webhook...
notification_slack_channel='' # slack channel (@username or #channel)...
notification_slack_from='hermod' # slack author...
notification_slack_emoji='boat' # slack icon...
# -------------------------
# [Notifications] Nexmo
# -------------------------
notification_nexmo_from='hermod' # sms author...
notification_nexmo_to='' # recipient phone number...
notification_nexmo_api_key='' # nexmo api key...
notification_nexmo_api_secret='' # nexmo api ...
# -------------------------
# [Notifications] Pushover
# -------------------------
notification_pushover_token='' # pushover api token...
notification_pushover_user='' # pushover user key...
notification_pushover_title='hermod' # push notification title...
# -------------------------
# [Notifications] Pushbullet
# -------------------------
notification_pushbullet_access_token='' # pushbullet access token...
notification_pushbullet_title='hermod' # push notification title...
# -------------------------
# [Notifications] Mailgun
# -------------------------
notifications_mailgun_api_key='' # mailgun api key...
notifications_mailgun_domain='' # mailgun domain...
notifications_mailgun_from='hermod' # sender name...
notifications_mailgun_to='' # recipient e-mail...
notifications_mailgun_subject='hermod' # e-mail subject
# -------------------------
# [Notifications] Twilio
#
# twilio_call will call you if there's a problem with your node. Be aware that it can be
# very annoying, specailly during the night. Consider using the Night Mode if it annoys you.
#
# -------------------------
notifications_twilio_account_sid='' # twilio api client id...
notifications_twilio_auth_token='' # twilio api token...
notifications_twilio_from='' # caller phone number (In this convention: +15551234567)
notifications_twilio_to='' # recipient phone number (In this convention: +15551234567)