2017-04-29 06:17:39 -07:00
|
|
|
## Cabot UI URL setup
|
2016-04-01 01:01:20 -04:00
|
|
|
# Base path to include before generated URLs. If not defined, uses `/`
|
|
|
|
# URL_PREFIX=/
|
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
# Used for pointing links back in alerts etc.
|
|
|
|
WWW_HTTP_HOST=cabot.example.com
|
2017-04-29 06:39:13 -07:00
|
|
|
# Probable values: http, https
|
2017-04-29 06:17:39 -07:00
|
|
|
WWW_SCHEME=http
|
|
|
|
|
|
|
|
## Local time zone for this installation. Choices can be found here:
|
2014-07-14 10:47:33 +02:00
|
|
|
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
2014-07-14 10:48:43 +02:00
|
|
|
TIME_ZONE=Etc/UTC
|
2014-07-14 10:47:33 +02:00
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
## URL of calendar to synchronise rota with
|
|
|
|
CALENDAR_ICAL_URL=http://www.google.com/calendar/ical/example.ics
|
|
|
|
|
|
|
|
## Django admin email, 'from' address for email alerts
|
2014-01-05 17:24:04 +00:00
|
|
|
ADMIN_EMAIL=you@example.com
|
2014-01-05 20:26:15 +00:00
|
|
|
CABOT_FROM_EMAIL=noreply@example.com
|
2014-01-05 17:24:04 +00:00
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
## Django settings
|
2015-11-07 17:09:17 +00:00
|
|
|
CELERY_BROKER_URL=redis://:yourredispassword@localhost:6379/1
|
2017-04-29 06:39:13 -07:00
|
|
|
# Create a random string of mixed case alphanumeric characters, > 40 chars.
|
|
|
|
# https://www.browserling.com/tools/random-string is a site that can do this
|
|
|
|
DJANGO_SECRET_KEY=CREATE_A_KEY
|
2014-01-05 17:24:04 +00:00
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
## Graphite server settings
|
2015-06-11 10:56:24 +01:00
|
|
|
# Hostname of your Graphite server instance (including trailing slash)
|
2014-01-05 17:24:04 +00:00
|
|
|
GRAPHITE_API=http://graphite.example.com/
|
|
|
|
GRAPHITE_USER=username
|
|
|
|
GRAPHITE_PASS=password
|
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
# Graphite stats are evaluated through a time period to identify transient
|
|
|
|
# failures. This setting determines how many minutes back a test should
|
|
|
|
# evaluate.
|
|
|
|
# If not defined, evaluate 'now through 10 minutes ago' (-10minute)
|
2014-08-07 09:42:04 +02:00
|
|
|
# GRAPHITE_FROM=-10minute
|
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
## User-Agent string used for Cabot HTTP checks
|
2015-08-06 19:44:59 -07:00
|
|
|
HTTP_USER_AGENT=Cabot
|
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
## Email plugin integration
|
|
|
|
EMAIL_HOST=smtp.example.com
|
|
|
|
# SMTP authentication settings. To disable SMTP authentication, comment out
|
|
|
|
# both EMAIL_USER and EMAIL_PASSWORD.
|
|
|
|
EMAIL_USER=smtp_username
|
|
|
|
EMAIL_PASSWORD=smtp_password
|
2014-01-05 17:24:04 +00:00
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
# Typical SMTP port 587 configuration
|
2017-03-02 11:26:13 +00:00
|
|
|
EMAIL_PORT=587
|
|
|
|
EMAIL_USE_TLS=1
|
2017-05-02 05:18:11 -07:00
|
|
|
EMAIL_USE_SSL=0
|
2014-01-05 17:24:04 +00:00
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
# Typical SMTP port 25 configuration (with no SSL/TLS)
|
|
|
|
# EMAIL_PORT=587
|
|
|
|
# EMAIL_USE_TLS=0
|
|
|
|
# EMAIL_USE_SSL=0
|
|
|
|
|
|
|
|
## Hipchat plugin integration
|
|
|
|
HIPCHAT_ALERT_ROOM=room_name_or_id
|
|
|
|
HIPCHAT_API_KEY=your_hipchat_api_key
|
|
|
|
|
|
|
|
## Twilio plugin integration (for SMS and telephone alerts)
|
2014-01-05 17:24:04 +00:00
|
|
|
TWILIO_ACCOUNT_SID=your_account_sid
|
|
|
|
TWILIO_AUTH_TOKEN=your_auth_token
|
|
|
|
TWILIO_OUTGOING_NUMBER=+14155551234
|
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
## Jenkins integration
|
|
|
|
JENKINS_API=https://jenkins.example.com/
|
|
|
|
JENKINS_USER=username
|
|
|
|
JENKINS_PASS=password
|
2015-05-10 21:40:39 -04:00
|
|
|
|
2017-04-29 06:17:39 -07:00
|
|
|
## Use for LDAP authentication
|
2015-05-10 21:40:39 -04:00
|
|
|
AUTH_LDAP=true
|
|
|
|
AUTH_LDAP_SERVER_URI=ldap://ldap.example.com
|
|
|
|
AUTH_LDAP_BIND_DN="cn=Manager,dc=example,dc=com"
|
|
|
|
AUTH_LDAP_BIND_PASSWORD=""
|
2017-04-03 21:13:19 -04:00
|
|
|
AUTH_LDAP_USER_FILTER="(uid=%(user)s)"
|
2015-05-10 21:40:39 -04:00
|
|
|
AUTH_LDAP_USER_SEARCH="ou=People,dc=example,dc=com"
|
2017-04-29 06:17:39 -07:00
|
|
|
|
|
|
|
###########################################################################
|
|
|
|
## You shouldn't need to change anything below this line #
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
## Plugins to be loaded at launch
|
|
|
|
# CABOT_PLUGINS_ENABLED=cabot_alert_email,cabot_alert_hipchat,cabot_alert_twilio,cabot_alert_slack
|
|
|
|
|
|
|
|
## Database settings
|
|
|
|
DATABASE_URL=postgres://cabot:cabot@localhost:5432/index
|
|
|
|
DJANGO_SETTINGS_MODULE=cabot.settings
|
|
|
|
|
2017-04-29 06:39:13 -07:00
|
|
|
DEBUG=False
|
2017-04-29 06:17:39 -07:00
|
|
|
LOG_FILE=/dev/null
|
|
|
|
|
|
|
|
## Cabot localhost operating port (point a reverse proxy to here or use Caddy)
|
|
|
|
PORT=5000
|
|
|
|
|
|
|
|
VENV=/home/ubuntu/venv
|