-
Notifications
You must be signed in to change notification settings - Fork 1
/
config
37 lines (33 loc) · 782 Bytes
/
config
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
#jq:
#yum install epel-release -y
#yum install jq -y
#
#webhook
#yum install epel-release -y
#yum install snapd -y
#systemctl enable --now snapd.socket
#ln -s /var/lib/snapd/snap /snap
#snap install webhook -y
#
#AssociativeArray(command_name=>command) of dependencies:
declare -A AM_dependencies=(
[Crontab]=crontab
[PHP]=php
[Apache]=httpd
[Tomcat]=tomcat
)
#AssociativeArray(service_name=>service) of sevices to monitor:
declare -A AM_services=(
[httpd]=false
[tomcat.service]=false
[mysql]=false
)
#AssociativeArray(AppLink=>strToFind)
declare -A AM_webapps=(
[localhost:80]=hello
[localhost:8080]=Congratulations
)
#Percentage used to alert you when the disk is almost full
export AM_percentage=90
#SMS API TOKEN
export AM_SMS_API_TOKEN="dnZzbjcwNjM6MjVTeDgwSGM="