Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tbauriedel/vagrant-icinga-dev
Vagrant provisioning file for the Icinga stack. Get a standalone test/development environment with all Icinga components in seconds
https://github.com/tbauriedel/vagrant-icinga-dev
ansible development icinga2 vagrant
Last synced: about 2 months ago
JSON representation
Vagrant provisioning file for the Icinga stack. Get a standalone test/development environment with all Icinga components in seconds
- Host: GitHub
- URL: https://github.com/tbauriedel/vagrant-icinga-dev
- Owner: tbauriedel
- License: mit
- Created: 2024-09-18T10:13:43.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-04T14:14:40.000Z (3 months ago)
- Last Synced: 2024-10-11T03:42:08.991Z (3 months ago)
- Topics: ansible, development, icinga2, vagrant
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Lint](https://github.com/tbauriedel/vagrant-icinga-dev/actions/workflows/linting.yml/badge.svg)
# vagrant-icinga-dev
Vagrantfile with ansible provisioner.
Installs and configures the Icinga stack inside of the box.Image: `bento/rockylinux-8`
Hostname: `icinga-dev`
Provider: `VirtualBox`The following ports will be forwarded into the Vagrant box:
* Mysql: 3306 (guest) => 3306 (host)
* Webserver: 80 (guest) => 80 (host)
* Webserver: 443 (guest) => 443 (host) // Webserver with TLS not configured via default
* Icinga 2: 5665 (guest) => 5665 (host)
* InfluxDB: 8086 (guest) => 8086 (host)
* Grafana: 3000 (guest) => 3000 (host)
* Carbonapi: 8888 (guest) => 8888 (host)## Credentials
Default credentials if not customized (Format: `user` - `password`):
* Icinga Web 2 admin => `icinga` - `icinga`
* Icinga 2 API user => `poweruser` - `poweruser`
* IcingaDB-redis password => `redis-pass`
* Mysql `*.*` user => `poweruser` - `poweruser`
* Mysql root user => `root` - `root0815!`
* InfluxDB admin user => `admin` - `admin12345!`
* InfluxDB admin token => `AHDUKAGSszifgj21711sfztGASg2`
* Grafana initial user => `admin` - `admin`## Components
The most common used components are pre-installed and configured.
* MySQL (Ansible role `geerlingguy.mysql`)
* Icinga (Ansible collection `icinga.icinga`)
* Icinga 2
* IcingaDB
* IcingaDB Redis
* Icinga Web 2
* Icinga Director
* x509
* Business Process
* Graphite (Ansible collection `tbauriedel.gographite`)
* go-carbon
* carbonapi
* InfluxDB (Ansible collection `tbauriedel.influxdb2`)
* InfluxDB v2
* Grafana
* Grafana (Ansible collection `grafana.grafana`)## Requirements
**Vagrant**
If you dont have it already check the official [installation guide](https://developer.hashicorp.com/vagrant/docs/installation).**Ansible**
If you dont have it already check the official [installation guide](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html).## Usage
Clone the repository: `git clone https://github.com/tbauriedel/vagrant-icinga-dev`Move into repository: `cd vagrant-icinga-dev`
Install all needed ansible requirements: `ansible-galaxy install -r requirements.yml`
Add Icinga Subscription credentials [here](ansible/vars/icinga2_repo.yml).
(If you dont have a subscription, just change the box to a debian based one)Start the Vagrant box: `vagrant up`
---
To sync additional modules or similar into the box, you can use the example inside of the [Vagrantfile](Vagrantfile) (Currently commented out).