-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserver.cfg
More file actions
58 lines (47 loc) · 2.21 KB
/
server.cfg
File metadata and controls
58 lines (47 loc) · 2.21 KB
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
#
# This is the OpsDash server configuration file. More information about
# the entries here can be found at: http://www.opsdash.com/docs.
#
# The interface and port to serve the web UI. This must be accessible
# by users.
listen.web-ui = 0.0.0.0:8080
# The interface and *UDP* port to listen for agent metrics. This must
# be accessible to agents (preferably over a private network to which
# both the server and agents are connected).
listen.agent-metrics = 0.0.0.0:6273
# The interface and *TCP* port to listen for agent data other than
# metrics. This must be accessible to agents (preferably over a private
# network to which both the server and agents are connected).
listen.agent-data = 0.0.0.0:6273
# Any operation that makes changes (like saving a graph, creating a
# dashboard, etc) can be made to require a valid username and password.
# To enable this feature, set "htpasswd" to a readable htpasswd file
# created with the htpasswd(1) utility. For more information, see
# http://www.opsdash.com/docs.
htpasswd =
# SMTP server settings for enabling e-mail alerts. Set your SMTP
# server (host, port), username and password here. There are no default
# values.
# email.smtpserver = smtp.gmail.com:587
# email.username = user@gmail.com
# email.password = pass
# The 'from' address for the alert email. Some providers (AWS SES for e.g.)
# only permit verified addresses. This MUST be set to a valid
# address if you're using email alerts, there is no sensible default.
# email.from = opsdash@your.domain.com
# Set tlswrapper to 'yes' if you're using end-to-end tls-wrapped
# SMTP. Leave it at the default value of 'no' to use automatically
# upgrade the SMTP using STARTTLS (this is recommended).
# email.tlswrapper = no
# OpsDash will send emails only once every N minutes max, where N
# is the value of this entry. The default is 5 minutes. The value
# should be an integer >= 1.
# email.maxfreq = 5
# Metrics and alert history will be retained for these many days.
retention = 60
# Uncomment this to enable API access. Disabled by default.
# See https://www.opsdash.com/apidocs for API documentation.
api.enable = 1
# Run in debug mode. Valid values are "0" and "1", default is "0".
# Enabling debug mode will impact performance.
debug = 0