-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.monitrc
31 lines (28 loc) · 889 Bytes
/
.monitrc
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
set daemon 60
set logfile syslog facility log_daemon
#set mailserver localhost
#set mailserver smtp.gmail.com port 587 with timeout 30 seconds
set mailserver smtp.gmail.com port 465 username '[email protected]' password 'sasakama' using sslv3
#set mail-format {
# from: monit@localhost
# subject: [WARNING] $HOST : $SERVICE - $EVENT
# message: Monit
# ACTION : $ACTION
# SERVICE : $SERVICE
# at $DATE on $HOST.
# DESCRIPTION : $DESCRIPTION
#}
set mail-format {
From: monit-MESSANGER@$HOST
Subject: [WARNING] $HOST monit alert -- $EVENT $SERVICE
Message:$EVENT Service $SERVICE
Date: $DATE
Action: $ACTION
Host: $HOST
Description: $DESCRIPTION
monit detected alert.
please check message or log.
munin: http://omg-admin.ohmyglasses.jp:10080/
}
set alert [email protected]
include /Users/fukajun/.monit.d/*