2013-10-11 09:40:51 +02:00
|
|
|
# <a id="vagrant"></a> Vagrant Demo VM
|
|
|
|
|
2013-10-16 01:53:14 +02:00
|
|
|
The Icinga 2 Git repository contains support for [Vagrant](http://docs.vagrantup.com/v2/)
|
|
|
|
with VirtualBox. In order to build the Vagrant VM first you will have to check out
|
|
|
|
the Git repository:
|
2013-10-11 09:40:51 +02:00
|
|
|
|
|
|
|
$ git clone git://git.icinga.org/icinga2.git
|
|
|
|
|
|
|
|
Once you have checked out the Git repository you can build the VM using the
|
|
|
|
following command:
|
|
|
|
|
|
|
|
$ vagrant up
|
|
|
|
|
2013-10-16 01:53:14 +02:00
|
|
|
> **Note**
|
|
|
|
>
|
|
|
|
> Vagrant and VirtualBox are available for various distributions. Please note
|
|
|
|
> that Vagrant version `1.0.x` is not supported. At least version `1.2.x` is
|
|
|
|
> required to be installed (for example from [http://downloads.vagrantup.com](http://downloads.vagrantup.com)).
|
|
|
|
|
2013-10-11 09:40:51 +02:00
|
|
|
The Vagrant VM is based on CentOS 6.4 and uses the official Icinga 2 RPM
|
|
|
|
packages from `packages.icinga.org`.
|
|
|
|
|
|
|
|
In addition to installing Icinga 2 the Vagrant script also installs the Icinga
|
|
|
|
1.x Classic UI and the check plugins that are available from the Nagios Plugins
|
|
|
|
project.
|
|
|
|
|
|
|
|
The Classic UI is available at [http://localhost:8080/icinga](http://localhost:8080/icinga).
|
2013-10-14 14:13:36 +02:00
|
|
|
By default both the username and password are `icingaadmin`.
|
|
|
|
|
|
|
|
An instance of icinga-web is installed at [http://localhost:8080/icinga-web](http://localhost:8080/icinga-web).
|
|
|
|
The username is `root` and the password is `password`.
|
2013-10-14 20:11:16 +02:00
|
|
|
|
2013-10-14 23:17:58 +02:00
|
|
|
SSH login is available using `vagrant ssh`.
|