This repository was archived by the owner on Dec 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathserverbot.conf
More file actions
58 lines (46 loc) · 2.74 KB
/
serverbot.conf
File metadata and controls
58 lines (46 loc) · 2.74 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#############################################################################
# Version 1.1.0 (24-09-2019)
#############################################################################
#############################################################################
# GENERAL SETTINGS
#############################################################################
# Use this to upgrade to new major releases. Leave default when not sure.
MAJOR_VERSION='major_version_here'
# Use this to up-/downgrade to branches. Leave default when not sure.
SERVERBOT_BRANCH='branch_here'
#############################################################################
# AUTOMATED TASKS
#############################################################################
# Serverbot can automatically upgrade itself when a new version is available.
# Use with caution and only if you trust GitHub and serverbot's creator.
SERVERBOT_UPGRADE='no' # either 'yes' or 'no'
SERVERBOT_UPGRADE_CRON='0 1 * * *' # default '0 1 * * *'
SERVERBOT_UPGRADE_TELEGRAM='no' # either 'yes' or 'no'
# These parameters give control on how often features should run and on what
# communication platform they will notify you. When a method is disabled
# (i.e. OVERVIEW_TELEGRAM='no') serverbot won't sent automated notifications.
OVERVIEW_TELEGRAM='no' # either 'yes' or 'no'
OVERVIEW_CRON='0 8 * * 1' # default '0 8 * * 1'
METRICS_TELEGRAM='no' # either 'yes' or 'no'
METRICS_CRON='0 8 * * 1' # default '0 8 * * 1'
ALERT_TELEGRAM='no' # either 'yes' or 'no'
ALERT_CRON='0 * * * *' # default '0 * * * *'
UPDATES_TELEGRAM='no' # either 'yes' or 'no'
UPDATES_CRON='0 12 * * *' # default '0 12 * * *'
EOL_TELEGRAM='no' # either 'yes' or 'no'
EOL_CRON='0 6 * * 3' # default '0 6 * * 3'
# Use 'serverbot --cron' to effectuate changes made here to the system.
#############################################################################
# ALERT CONFIGURATION
#############################################################################
# Alert thresholds are in % for certain metrics
THRESHOLD_LOAD='90%' # default '90%', must be rounded and end with '%'
THRESHOLD_MEMORY='80%' # default '80%', must be rounded and end with '%'
THRESHOLD_DISK='80%' # default '80%', must be rounded and end with '%'
#############################################################################
# TELEGRAM CONFIGURATION
#############################################################################
# Set the variables below if you wish to use a telegram bot
TELEGRAM_TOKEN='telegram_token_here'
TELEGRAM_CHAT='telegram_id_here'
TELEGRAM_URL="https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage"