-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml-example
107 lines (97 loc) · 2.4 KB
/
config.yml-example
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# This is the main configuration file of your Dancer2 app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.
# Your application's name
appname: "Admonitor"
# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer2 will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
# template engine
# simple: default and very basic template engine
# template_toolkit: TT
template: "template_toolkit"
session: "YAML"
logger: LogReport
engines:
session:
YAML:
session_dir: "/tmp/dancer-sessions"
cookie_duration: 7200
admonitor:
ssl:
# Only required if override required for self-signed certs
fingerprint: sha256$XX:XX:...
default_port: 9099
mail_from: [email protected]
plugins:
agents:
Admonitor:
enabled: 1
CPU:
enabled: 1
Disk:
enabled: 1
Duplicity:
enabled: 1
GithubBackup:
enabled: 0
Memory:
enabled: 1
MySQLReplication:
enabled: 1
OpenARC:
enabled: 0
OpenDKIM:
enabled: 0
OpenDMARC:
enabled: 0
pySPF:
enabled: 0
Simplelists:
enabled: 0
Spamd:
enabled: 0
UFW:
enabled: 1
checkers:
Ping:
enabled: 1
all_hosts: 1
WWW:
enabled: 1
EmailPing:
enabled: 0
sender: [email protected]
recipient: [email protected]
SSL_cert_file: /etc/ssl/certs/example.com.pem
SSL_key_file: /etc/ssl/private/example.com.key
plugins:
DBIC:
default:
dsn: dbi:mysql:database=admonitor;mysql_enable_utf8=1;host=localhost
schema_class: Admonitor::Schema
user: admonitor
pass: XXX
options:
RaiseError: 1
PrintError: 1
quote_names: 1
mysql_enable_utf8: 1 # or pg_enable_utf8: 1
Auth::Extensible:
disable_roles: 1
reset_password_handler: 1
mailer:
module: Mail::Message
options:
via: sendmail
mail_from: '"Admonitor" <[email protected]>'
realms:
users:
provider: DBIC
users_table: user
user_valid_conditions:
web_enabled: 1