customTheme: "orange" title: Supervsion Atom based on TICK (Telegraf, Influxdb, Chronograf and Kapacitor) type: article
Supervison ATOM based on TICK (Telegraf, Influxdb, Chronograf and Kapacitor)¶
- Supervison ATOM based on TICK (Telegraf, Influxdb, Chronograf and Kapacitor)
- 1. Supervision
- 2. Install
- 2.1. Prerequisites
- 2.2. Usage
- 3. Author
- 4. License
1. Supervision¶
This atom purpose is to quickly setup an Ubuntu box with TICK (Telegraf, Influxdb, chronograf and Kapacitor) and Grafana installed. It gives the opportunity to easily prototype ideas.
The provisonning steps include creating an InfluxDB database and procision telegraf plugin via playbook ansible.
For more information about the TICK architecture, click here
2. Install¶
2.1. Prerequisites¶
- Vagrant
- VirtualBox
- Ansible
2.2. Usage¶
- Download or clone this repository
-
change the variables in the following yaml files according to your needs
-
The
config.yml
file contains the general configuration of cloud credentials:
1 2 3 4 5 6 | openstack_auth_url: <URL_KEYSTONE_OPENSTACK> username: <userid> tenant_name: <tenant_id> key_file: <keyfile> key_name: <keyname> login: <login> |
- The
node.yml
files contains the list of components description. A model component model is defined as following :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | --- - name: supervision service_name: supervision box: ubuntu/xenial64 mem: 512 cpus: 1 OS_FLOATING_IP_POOL: <neutron_floating_ip_pool> OS_FLAVOR : m1.small OS_IMAGE : xenial OS_NETWORKS : - <private management network> nics: #Internal only interfaces - ip: network_name: MGNT auto_config: "True" method: dhcp type: private_network |
- Launch the VM build with the command
vagrant up --provider=openstack
1 2 | > vagrant up vagrant up --provider=openstack
...
|
- Check that everything goes well by connecting to the Grafana web interface at the url
http://<floattinip>:3000
and providing the useradmin
with the passwordadmin
3. Author¶
- Ch. LE TOQUIN christophe.letoqui@orange.com
4. License¶
- Licensed under Apache License Version 2.0.