Find file History
Latest commit a8908db Jan 20, 2017 @dnsmichi dnsmichi Fix workaround for Vagrant bug #9096
fixes #19

Icinga 2 HA Cluster Vagrant Boxes

  • Icinga 2 Core as HA cluster (icinga2a and icinga2b as HA master, icinga2c as checker)
  • Icinga Web 2 as user interface with internal auth db and IDO backend


Instance Network HTTP
icinga2a host only
icinga2b host only
icinga2c host only

User Interfaces

GUI Url Credentials
Icinga Web 2 icingaadmin/icinga
Icinga Web 2 icingaadmin/icinga
Icinga Web 2 icingaadmin/icinga

Icinga 2 API


using the credentials root/icinga.


Each Vagrant box setup requires at least 2 Cores and 1 GB RAM. The required resources are automatically configured during the vagrant up run.

One of these virtualization providers:

Windows users require additionally

You can use (Linux) and init.bat (Windows) to check the pre-requisites.

Virtualbox Provider

If Virtualbox is installed, this will be enabled by default.

Parallels Provider

You'll need to install the vagrant-paralells plugin first:

$ vagrant plugin install vagrant-parallels


You can only do vagrant up in a box directory. Verify that by checking for the existance of the Vagrantfile file in the current directory.

$ ls -la Vagrantfile
-rw-------. 1 michi michi 1,4K 28. Aug 12:11 Vagrantfile

Vagrant Commands

  • vagrant up starts all vms for this box setup
  • vagrant halt stops all vms for this box setup
  • vagrant provision updates packages/resets configuration for all vms
  • vagrant ssh puts you into an ssh shell with login vagrant (Tip: Use sudo -i to become root)


Multi-VM boxes require the hostname for vagrant ssh like so: vagrant ssh icinga2b. That works in a similar fashion for other sub commands.

If your box is broken, you can destroy it using vagrant destroy. Next vagrant up run will use the already imported base box, re-running the provisioner to install the packages and configuration.


The Icinga 2 documentation is located at


Vagrant update

On local config change (git pull for this repository).

$ pwd
$ git pull
$ git log
$ vagrant provision