-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduction.ini-dist
165 lines (132 loc) · 5.27 KB
/
production.ini-dist
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
###
[app:main]
use = egg:amp-web
pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
# Authentication secret (should be different for each site!)
auth.secret = CHANGEME
# If set to 'yes', then the user must agree to the terms of service when they
# log in to the website
auth.showtos = no
# If set to 'yes', then the data is available to anyone, even if they are not
# logged in. If set to 'no' then only authenticated users can view data.
auth.publicdata = yes
# amp-web specific settings
ampweb.nntschost = localhost
ampweb.nntscport = 61234
# Set this to 'yes' if you do not have an event database generated by
# netevmon, or do not wish to have events appear on the graphs. Disabling
# events will also automatically disable the dashboard.
ampweb.disableevents = yes
# Set this to 'yes' to remove the event frequency graphs and the table of
# most frequent events from the dashboard. Handy if you just want a relatively
# slim dashboard for display alongside other monitoring apps.
ampweb.hidedashgraphs = no
# Enable and update these if you need to connect to a remote netevmon database
ampweb.eventdb = netevmon
#ampweb.eventdbhost =
#ampweb.eventdbuser =
#ampweb.eventdbpwd =
#ampweb.eventdbport =
# Enable and update these if you need to connect to a remote AMP meta-database
ampweb.ampdb = ampmeta
# ampweb.ampdbhost =
# ampweb.ampdbuser =
# ampweb.ampdbpwd =
# ampweb.ampdbport =
# Enable and update these if you need to connect to a remote views database
ampweb.viewdb = views
# ampweb.viewdbhost =
# ampweb.viewdbuser =
# ampweb.viewdbpwd =
# ampweb.viewdbport =
# Enable and update these if you need to connect to a remote ASN database
ampweb.asdb = amp-asdb
# ampweb.asdbhost =
# ampweb.asdbuser =
# ampweb.asdbpwd =
# ampweb.asdbport =
# The title to appear in the large banner at the top of every page
ampweb.projecttitle = Active Measurement Project
# If set to 'yes', a link to the event dashboard will appear at the top of
# every page. Disable if you are not running netevmon on the AMP data.
ampweb.showdash = yes
# If set to 'yes', a link to the matrix will appear at the top of
# every page. Disable if you are not using meshes to group test sources
# or targets.
ampweb.showmatrix = yes
# Set to your Google Analytics tracking ID to add the global tracking
# snippet to the top of each page: https://developers.google.com/analytics/
# ampweb.gtag =
# If this option is set, logged-in users will be able to rate the
# quality of events shown on the dashboard or graphs. The event ratings
# will be written to the file provided as the option value.
#ampweb.eventratingfile = /tmp/eventratings.txt
# Remove/add items to this list to change which collections appear on the
# graph browser page. Not specifying this option or providing an empty list
# will result in all collections being displayed
ampweb.browsercollections = amp-icmp, amp-http, amp-throughput, amp-traceroute, amp-dns, amp-tcpping, amp-httppagesize, amp-youtube, amp-fastping, amp-external, amp-sip
# Remove/add items to this list to change which tabs appear on the matrix page.
# Note that tabs will appear in the same order as they do in the list.
ampweb.matrixtabs = latency,loss,hops,http,httpsize,throughput,youtube
# These options determine the time period (in seconds) that should be covered
# by each matrix. For example, if you want your matrix cells to be coloured
# based on the last 10 minutes of data, set the appropriate option to 600.
ampweb.matrixperiod.http = 3600
ampweb.matrixperiod.latency = 600
ampweb.matrixperiod.tput = 7200
ampweb.matrixperiod.hops = 600
ampweb.matrixperiod.youtube = 3600
# These options can be used to control the minimum binsize (in seconds) that
# will be used when aggregating data for display on the main graphs. These
# options are useful if you are testing less frequently as setting a higher
# minimum binsize will prevent amp-web from creating empty bins for time
# periods where there was no scheduled test. Ideally, you want to set these to
# be at least the minimum frequency at which you run the corresponding tests.
# The default values given here are the binsizes that will be used if you
# do not set these options. Latency and loss are both covered by latency.
#ampweb.minbin.latency = 60
#ampweb.minbin.traceroute = 60
#ampweb.minbin.http = 900
#ampweb.minbin.udpstream = 300
#ampweb.minbin.throughput = 3600
#ampweb.minbin.youtube = 900
#ampweb.minbin.external = 900
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
###
[loggers]
keys = root, ampweb
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARN
handlers = console
[logger_ampweb]
level = WARN
handlers =
qualname = ampweb
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s