Skip to content

Commit d471ed0

Browse files
re added settings.py and fixed gitignore to match
1 parent af3bffb commit d471ed0

File tree

2 files changed

+50
-3
lines changed

2 files changed

+50
-3
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ lib
1919
lib64
2020

2121
.idea
22-
.db
23-
24-
warden/settings.py
22+
.db

warden/settings.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
import logging
2+
3+
# WARDEN GENERAL
4+
# ----------------
5+
6+
STDOUT_LEVEL = logging.DEBUG
7+
8+
# DIAMOND
9+
# ----------------
10+
# path to diamond.conf
11+
DIAMOND_CONFIG = '~/.diamond/etc/diamond/diamond.conf'
12+
# logging level of diamond. this produces a lot of logs if set to info/debug
13+
DIAMOND_STDOUT_LEVEL = logging.ERROR
14+
# path to diamond_root
15+
DIAMOND_ROOT = None
16+
17+
# GENTRY
18+
# ----------------
19+
# path to the gentry settings.py file
20+
GENTRY_SETTINGS_PATH = None
21+
# optional path to an overriding sentry secret key
22+
SENTRY_KEY_FILE = None
23+
24+
# CARBON
25+
# ----------------
26+
# path to graphite root
27+
GRAPHITE_ROOT = '~/.graphite'
28+
29+
# the path to the carbon config is derived from the GRAPHITE_ROOT unless defined here
30+
CARBON_CONFIG = '~/.graphite/conf/carbon.conf'
31+
32+
# SMTP FORWARDER
33+
# ---------------
34+
35+
START_SMTP_FORWARDER = False
36+
37+
# Server settings
38+
EMAIL_HOST = 'mail.sjsoft.com'
39+
EMAIL_USERNAME = 'some_username_here'
40+
EMAIL_PASSWORD = 'some_password_here'
41+
EMAIL_USE_TLS = True
42+
43+
EMAIL_TO = 'ryans@sjsoft.com'
44+
EMAIL_FROM = 'no-reply@sjsoft.com'
45+
EMAIL_SUBJECT_VALIDATION_KEY = 'j5_parsable'
46+
EMAIL_BODY_VALIDATION_KEY = 'CARBON_FILE_MAIL'
47+
48+
METRIC_PATTERNS_TO_SEND = ['combined.dori-a.memUsage', 'combined.*.cpuUsage' ]
49+

0 commit comments

Comments
 (0)