prometheus/demo-site

Name: demo-site

Owner: Prometheus

Description: Demo site auto-deployed with Ansible and Travis CI.

Created: 2018-05-17 05:48:23.0

Updated: 2018-05-23 10:56:31.0

Pushed: 2018-05-21 20:33:08.0

Homepage: null

Size: 100

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Prometheus demo monitoring site

Build Status License IRC

demo.prometheus.io

This repository provides an integration testing suite for our ansible roles as well as a demo site for grafana, prometheus, alertmanager and node_exporter (possibly more in the future). Site is provisioned with ansible running every day and on almost all commits to master branch. Everything is fully automated with travis ci pipeline. If you want to check ansible-playbook output, go to last build or visit ARA Records Ansible page.

Have a look at the configuration file group_vars/all/vars.

This demo site is powered by Cloud Alchemy.

Applications

All applications should be running on their default ports.

| App name | Address | Status | Uptime | |——————-|—————————————————————–|——–|———-| | node_exporter | demo.prometheus.io:9100 | Uptime Robot status | Uptime Robot status | | snmp_exporter | demo.prometheus.io:9116 | Uptime Robot status | Uptime Robot status | | blackbox_exporter | demo.prometheus.io:9115 | Uptime Robot status | Uptime Robot status | | prometheus | demo.prometheus.io:9090 | Uptime Robot status | Uptime Robot status | | alertmanager | demo.prometheus.io:9093 | Uptime Robot status | Uptime Robot status | | grafana | demo.prometheus.io:3000 | Uptime Robot status | Uptime Robot status |

Run yourself

You can easily run such setup yourself without much knowledge how any part of this works. You just need to do two things:

Change ansible inventory

First of all you need to configure your inventory, ours is located in hosts file. Here you set up your target hosts by changing value of ansible_host variable. Also here you can exclude parts of this demo site, so if you don't need our website, you just remove this part:

]

Accordingly you can exclude grafana, prometheus, or influxdb.

Change passwords

For security measures we encrypted some of our passwords, but it is easy to use yours! You can do it by replacing a file located at group_vars/all/vault with following content:

t_grafana_password: <<INSERT_YOUR_GRAFANA_PASSWORD>>
t_influxdb_password <<INSERT_YOUR_INFLUXDB_PASSWORD>>

You need to specify both even if you don't use grafana nor influxdb. You can look over group_vars/all/vault to find why.

DigitalOcean


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.