icinga2/doc/9-vagrant-demo-vm.md

48 lines
1.8 KiB
Markdown
Raw Normal View History

2013-10-11 09:40:51 +02:00
# <a id="vagrant"></a> Vagrant Demo VM
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
> **Note**
>
2014-03-31 10:14:45 +02:00
> [Vagrant](http://www.vagrantup.com/) and [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
> are available for various distributions. Please note that Vagrant version `1.0.x` is not
> supported. At least version `1.2.x` is required.
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`. The check plugins are installed from
EPEL providing RPMs with sources from the Monitoring Plugins project.
2013-10-11 09:40:51 +02:00
2014-03-31 10:14:45 +02:00
## <a id="vagrant-demo-guis"></a> Demo GUIs
2013-10-14 14:13:36 +02:00
In addition to installing Icinga 2 the Vagrant puppet modules also install the
Icinga 1.x Classic UI and Icinga Web.
GUI | Url | Credentials
----------------|----------------------------------------------------------------------|------------------------
2014-03-31 10:14:45 +02:00
Classic UI | [http://localhost:8080/icinga](http://localhost:8080/icinga) | icingaadmin / icingaadmin
Icinga Web | [http://localhost:8080/icinga-web](http://localhost:8080/icinga-web) | root / password
2014-03-31 10:14:45 +02:00
## <a id="vagrant-windows"></a> SSH Access
2014-03-31 10:14:45 +02:00
You can access the Vagrant VM using SSH:
2014-03-31 10:14:45 +02:00
$ vagrant ssh
2014-03-31 10:14:45 +02:00
Alternatively you can use your favorite SSH client:
2014-03-31 10:14:45 +02:00
Name | Value
----------------|----------------
2014-03-31 10:14:45 +02:00
Host | 127.0.0.1
Port | 2222
Username | vagrant
Password | vagrant