Vagrant/Icinga w/ PostgreSQL: Add proper apache configuration

Icinga with IDOUtils running on a PostgreSQL database is now available
via /icinga-pgsql

refs #4215
This commit is contained in:
Eric Lippmann 2013-06-03 18:01:49 +02:00
parent fc370f7801
commit 8c3bc30677
2 changed files with 17 additions and 1 deletions

View File

@ -75,7 +75,7 @@ cmmi { 'icinga-pgsql':
--with-cgiurl=/icinga-pgsql/cgi-bin \
--with-http-auth-file=/usr/share/icinga/htpasswd.users',
creates => '/usr/local/icinga-pgsql',
make => 'make all && make install install-base install-cgis install-html install-init install-commandmode install-idoutils install-config',
make => 'make all && make fullinstall install-config',
require => User['icinga'],
notify => Service["${apache::apache}"]
}

View File

@ -75,3 +75,19 @@ Connect to the **icinga mysql database** using the following command:
Access the **Classic UI** (CGIs) via [localhost:8080/icinga-mysql](http://localhost:8080/icinga-mysql).
For logging into the Icinga classic web interface use user *icingaadmin* with password *icinga*.
##### Icinga with IDOUtils using a PostgreSQL database
**Installation path**: `/usr/local/icinga-pgsql`
**Services**:
* `icinga-pgsql`
* `ido2db-pgsql`
Connect to the **icinga mysql database** using the following command:
sudo -u postgres psql -U icinga -d icinga
Access the **Classic UI** (CGIs) via [localhost:8080/icinga-pgsql](http://localhost:8080/icinga-pgsql).
For logging into the Icinga classic web interface use user *icingaadmin* with password *icinga*.