-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverbot.conf
More file actions
75 lines (58 loc) · 3.15 KB
/
serverbot.conf
File metadata and controls
75 lines (58 loc) · 3.15 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#############################################################################
# Version 1.0.8 (29-03-2025)
#############################################################################
#############################################################################
# GENERAL SETTINGS
#############################################################################
SMT_ENABLE='NO' # half the amount of threads, 'YES" or 'NO'
ZFS_ENABLE='YES' # set to 'NO' when running UFS
#############################################################################
# ALERT CONFIGURATION
#############################################################################
LOAD_INTERVAL='15' # either 1, 5 or 15
THRESHOLD_LOAD='95' # rounded percentage, default '95'
THRESHOLD_MEMORY='90' # rounded percentage, default '90'
THRESHOLD_DISK='80' # rounded percentage, default '80'
THRESHOLD_CPUTEMP='95' # rounded temperature in degrees Celsius, default '95'
THRESHOLD_SSDTEMP='70' # rounded temperature in degrees Celsius, default '70'
THRESHOLD_HDDTEMP='50' # rounded temperature in degrees Celsius, default '50'
#############################################################################
# AUTOMATED TASKS
#############################################################################
# some of serverbot's features can be automated with a little help from cron.
# these parameters give control on if and when/how often features should run.
# server summary
SUMMARY_LOGGER='NO' # either 'YES' or 'NO'
SUMMARY_TELEGRAM='NO' # either 'YES' or 'NO'
SUMMARY_CRON='0 8 * * 1' # default '0 8 * * 1'
# server overview
OVERVIEW_LOGGER='NO' # either 'YES' or 'NO'
OVERVIEW_TELEGRAM='NO' # either 'YES' or 'NO'
OVERVIEW_CRON='0 8 * * 1' # default '0 8 * * 1'
# alert reports
ALERT_LOGGER='NO' # either 'YES' or 'NO'
ALERT_TELEGRAM='NO' # either 'YES' or 'NO'
ALERT_CRON='*/15 * * * *' # default '*/15 * * * *'
# base updates report
BASE_UPDATES_LOGGER='NO' # either 'YES' or 'NO'
BASE_UPDATES_TELEGRAM='NO' # either 'YES' or 'NO'
BASE_UPDATES_CRON='0 4 * * *' # default '0 4 * * *'
# package updates report
PKG_UPDATES_LOGGER='NO' # either 'YES' or 'NO'
PKG_UPDATES_TELEGRAM='NO' # either 'YES' or 'NO'
PKG_UPDATES_CRON='0 5 * * *' # default '0 5 * * *'
# package vulnerability report
PKG_AUDIT_LOGGER='NO' # either 'YES' or 'NO'
PKG_AUDIT_TELEGRAM='NO' # either 'YES' or 'NO'
PKG_AUDIT_CRON='0 6 * * *' # default '0 6 * * *'
# package checksum report
PKG_CHECKSUM_LOGGER='NO' # either 'YES' or 'NO'
PKG_CHECKSUM_TELEGRAM='NO' # either 'YES' or 'NO'
PKG_CHECKSUM_CRON='0 7 * * *' # default '0 7 * * *'
# Use 'serverbot --cron' to effectuate changes made here to the system.
#############################################################################
# TELEGRAM CONFIGURATION
#############################################################################
# Set the variables below if you wish to use a telegram bot
TELEGRAM_TOKEN='telegram_token_here'
TELEGRAM_CHAT='telegram_id_here'