Icinga Vagrant boxes used for development, tests and demo cases.
Each Vagrant box setup requires at least 2 Cores and 1 GB RAM.
The required resources are automatically configured during the
vagrant up
run.
- Vagrant >= 1.6.5 from http://www.vagrantup.com
One of these virtualization providers:
- Virtualbox >= 4.2.16 from http://www.virtualbox.org
- Parallels Desktop Pro/Business >= 11 from http://www.parallels.com/products/desktop/
Windows users require additionally
- SSH provided by the Git package from http://msysgit.github.io
- Ruby for Windows from http://rubyinstaller.org (add Ruby executables to PATH)
You can use init.sh
(Linux) and init.bat
(Windows) to check the pre-requisites.
If Virtualbox is installed, this will be enabled by default.
You'll need to install the vagrant-paralells plugin first:
$ vagrant plugin install vagrant-parallels
Please note that these boxes are built for development and tests only. Productive setups are not supported.
In case you've found a problem or want to submit a patch, please open an issue at dev.icinga.org.
Change the directory to the box you want to start.
Example icinga2x:
$ cd icinga2x
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.
$ pwd
/home/michi/coding/icinga/icinga-vagrant/icinga2x
$ ls -la Vagrantfile
-rw-------. 1 michi michi 1,4K 28. Aug 12:11 Vagrantfile
vagrant up
starts all vms for this box setupvagrant halt
stops all vms for this box setupvagrant provision
updates packages/resets configuration for all vmsvagrant ssh
puts you into an ssh shell with loginvagrant
(Tip: Usesudo -i
to becomeroot
)
Note
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.
Follow the instructions described in the README.md
file
for each box.
Choose one of the available boxes below.
- 1 VM
- Icinga 2 Core, DB IDO MySQL, Icinga Web 2
More details in the documentation. Run Vagrant:
$ cd icinga2x && vagrant up
Web interface:
- http://192.168.33.5/icingaweb2 (icingaadmin/icinga)
- 2 VMs as Icinga 2 Master/Checker Cluster
- Icinga 2 Core, DB IDO MySQL, Icinga Web 2
More details in the documentation. Run Vagrant:
$ cd icinga2x-cluster && vagrant up
Web interfaces:
- http://192.168.33.10/icingaweb2 (icingaadmin/icinga)
- http://192.168.33.20/icingaweb2 (icingaadmin/icinga)
- 1 VM
- Icinga 2 Core
- Graylog Server and Web with Elasticsearch, MongoDB
More details in the documentation. Run Vagrant:
$ cd icinga2x-graylog && vagrant up
Web interfaces:
- http://192.168.33.6:9000/ (admin/admin)
- http://192.168.33.6/icingaweb2 (icingaadmin/icinga)
- 1 VM
- Icinga 1.x Core, IDOUtils MySQL, Classic UI, Web
More details in the documentation. Run Vagrant:
$ cd icinga1x && vagrant up
Check the documentation for available web interfaces and credentials.
Box Name | VM Name | Host Port | Guest Port |
---|---|---|---|
icinga1x | icinga1x | 2081 | 22 |
icinga1x | icinga1x | 8081 | 80 |
icinga1x | icinga1x | 8082 | 8080 |
icinga2x | icinga2 | 2080 | 22 |
icinga2x | icinga2 | 8080 | 80 |
icinga2x-cluster | icinga2a | 2085 | 22 |
icinga2x-cluster | icinga2a | 8085 | 80 |
icinga2x-cluster | icinga2b | 2086 | 22 |
icinga2x-cluster | icinga2b | 8086 | 80 |
icinga2x-graylog2 | i2g2 | 2110 | 22 |
icinga2x-graylog2 | i2g2 | 8110 | 80 |
icinga2x-graylog2 | i2g2 | 9000 | 9000 |
icinga2x-graylog2 | i2g2 | 12201 | 12201 (tcp/udp) |
icinga2x-graylog2 | i2g2 | 12900 | 12900 |
These boxes use these imported puppet modules for provisioning: