This repository has been archived by the owner on May 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.rb
63 lines (53 loc) · 2.21 KB
/
default.rb
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
#
# Copyright 2015-2017, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Some code used under MIT license
# Copyright Alex Soto
#
default['monit']['notify_email'] = nil
default['monit']['alert_blacklist'] = %w( action instance pid ppid )
default['monit']['logfile'] = 'syslog facility log_daemon'
default['monit']['poll_period'] = 60
default['monit']['mail_format']['subject'] = '$SERVICE $EVENT'
default['monit']['mail_format']['from'] = "monit@#{node['fqdn']}"
default['monit']['mail_format']['message'] = <<-EOS
Monit $ACTION $SERVICE at $DATE on $HOST: $DESCRIPTION.
Yours sincerely,
monit
EOS
default['monit']['mailserver']['host'] = 'localhost'
default['monit']['mailserver']['hostname'] = nil
default['monit']['mailserver']['port'] = nil
default['monit']['mailserver']['username'] = nil
default['monit']['mailserver']['password'] = nil
default['monit']['mailserver']['password_suffix'] = nil
default['monit']['mailserver']['encryption'] = nil
default['monit']['mailserver']['timeout'] = 60
default['monit']['port'] = 3737
default['monit']['address'] = nil
default['monit']['ssl'] = false
default['monit']['cert'] = '/etc/monit/monit.pem'
default['monit']['allow'] = []
default['monit']['username'] = nil
default['monit']['password'] = nil
default['monit']['eventqueue']['set'] = true
default['monit']['eventqueue']['basedir'] = '/var/monit'
default['monit']['eventqueue']['slots'] = 1000
default['monit']['ssh_port'] = 22
default['monit']['postgres']['pid_file'] = '/var/run/postgresql/9.1-main.pid'
default['monit']['postgres']['unix_socket_path'] = '/var/run/postgresql/.s.PGSQL'
default['monit']['postgres']['port'] = 5432
default['monit']['unicorn']['pid_dir'] = '/path/to/pids'
default['monit']['unicorn']['worker_count'] = 1