forked from Nekmo/simple-monitor-alert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsma-template.ini
47 lines (38 loc) · 1.05 KB
/
sma-template.ini
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
########################################
## ##
## ALERTS SECTION ##
## ##
########################################
# Email to Localhost example
# [mail]
# from = [email protected]
# to = [email protected]
# Gmail example
# [mail]
# from = [email protected]
# to = [email protected]
# host = smtp.gmail.com
# port = 587
# user = [email protected]
# password = secret
# start-tls = yes
# 1. Create a bot usign @botFather in your Telegram app
# 2. Initiates a first conversation with your bot.
# For example, /start
# 3. Fill in the following section.
# [telegram]
# to = @username
# token = YourBotToken
# Log to file
# [file]
# path = /path/to/sma.log
########################################
## ##
## MONITORS SECTION ##
## ##
########################################
# [cpu]
# cpu_pcnt.expected = <= 87
# [service]
# service_status(sshd).param = sshd
# service_status(ntpd).param = ntpd