Skip to content

Vagrant provisioning file for the Icinga stack. Get a standalone test/development environment with all Icinga components in seconds

License

Notifications You must be signed in to change notification settings

Saeid-Abadi/vagrant-icinga-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lint

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.

Ansible
If you dont have it already check the official installation guide.

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.
(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 (Currently commented out).

About

Vagrant provisioning file for the Icinga stack. Get a standalone test/development environment with all Icinga components in seconds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published