-
Notifications
You must be signed in to change notification settings - Fork 5
/
snagify.conf
77 lines (69 loc) · 1.52 KB
/
snagify.conf
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
<database>
<sysinfo>
dsn = dbi:Pg:dbname=sysinfo;host=localhost
user = test
pw = change
</sysinfo>
<grapher>
dsn = dbi:Pg:dbname=grapher;host=localhost
user = test
pw = change
</grapher>
</database>
# Domain
<network>
domain = easynews.com
</network>
# Name various directories for storage
<directory>
base_dir = /opt/snag
log_dir = /opt/snag/log
tmp_dir = /opt/snag/tmp
state_dir = /opt/snag/tmp
conf_dir = /opt/snag/conf
</directory>
# Messaging information
<message>
email = [email protected]
smtp = smtp.example.com
</mesage>
<host>
<hostexamplea>
server = master
server = sysrrd
server = sysinfo
</hostexamplea>
<hostexampleb>
server = dashboard
</hostexampleb>
</host>
# Define all various servers
<server>
<master>
name = master
host = master.example.com
fallbackip = 127.0.0.1
port = 13341
key = 2e2796ec8fab5018b75bb778cb36b70b10dbe36b
module = SNAG::Server::Master
</master>
<sysrrd>
name = sysrrd
port = 13356
key = 2e2796ec8fab5018b75bb778cb36b70b10dbe36b
module = SNAG::Server::RRD
dir = /var/rrd
</sysrrd>
<dashboard>
name = dashboard
port = 13356
key = 2e2796ec8fab5018b75bb778cb36b70b10dbe36b
module = SNAG::Server::Alerts
</dashboard>
<sysinfo>
name = sysinfo
port = 13351
key = 2e2796ec8fab5018b75bb778cb36b70b10dbe36b
module = SNAG::Server::Sysinfo
</sysinfo>
</server>