-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
42 lines (33 loc) · 1002 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
38
39
40
41
42
###############################################################################
### ###
### This is the main config file, where all the checks and the main script ###
### are configured, do not use multiline declarations nor ilegal bash ###
### variable declarations, do not use neither
[main]
# For the notification email
sitename='My site'
sendfrom='[email protected]'
sendto=('[email protected]' '[email protected]')
# temporal dirs and files
tmp_dir="/tmp"
tmp_mailfile="$tmp_dir/mininagios_mailfile"
tmp_errormsgfile="$tmp_dir/mininagios_lasterror"
tmp_statusfile="$tmp_dir/mininagios_laststatus"
tmp_laststatusmsg="$tmp_dir/mininagios_laststatusmsg"
[check_apache.sh]
port=80
host=localhost
maxprocs=40
minprocs=1
[check_mysql.sh]
host=localhost
port=3306
user=root
pass=root
maxprocs=2
maxquerytime=2
[check_disk.sh]
maxlimit=90
[check_load.sh]
## two decimal float
maxload=15.00