parent
039ab7ec55
commit
c09508212a
|
@ -195,3 +195,20 @@ cmmi { 'icinga-plugins':
|
||||||
make => 'make && make install',
|
make => 'make && make install',
|
||||||
require => User['icinga']
|
require => User['icinga']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmmi { 'mk-livestatus':
|
||||||
|
url => 'http://mathias-kettner.de/download/mk-livestatus-1.2.2p1.tar.gz',
|
||||||
|
output => 'mk-livestatus-1.2.2p1.tar.gz',
|
||||||
|
flags => '--prefix=/usr/local/icinga-mysql --exec-prefix=/usr/local/icinga-mysql',
|
||||||
|
creates => '/usr/local/icinga-mysql/lib/mk-livestatus',
|
||||||
|
make => 'make && make install',
|
||||||
|
require => Cmmi['icinga-mysql']
|
||||||
|
}
|
||||||
|
|
||||||
|
file { '/usr/local/icinga-mysql/etc/modules/mk-livestatus.cfg':
|
||||||
|
content => template('mk-livestatus/mk-livestatus.cfg.erb'),
|
||||||
|
owner => 'icinga',
|
||||||
|
group => 'icinga',
|
||||||
|
require => Cmmi['mk-livestatus'],
|
||||||
|
notify => [Service['icinga-mysql'], Service['ido2db-mysql']]
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
define module{
|
||||||
|
module_name mklivestatus
|
||||||
|
path /usr/local/icinga-mysql/lib/mk-livestatus/livestatus.o
|
||||||
|
module_type neb
|
||||||
|
args /usr/local/icinga-mysql/var/rw/live
|
||||||
|
}
|
13
README.md
13
README.md
|
@ -92,3 +92,16 @@ Connect to the **icinga mysql database** using the following command:
|
||||||
|
|
||||||
Access the **Classic UI** (CGIs) via [localhost:8080/icinga-pgsql](http://localhost:8080/icinga-pgsql).
|
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*.
|
For **logging into** the Icinga classic web interface use user *icingaadmin* with password *icinga*.
|
||||||
|
|
||||||
|
#### MK Livestatus
|
||||||
|
|
||||||
|
MK Livestatus is added to the Icinga installation using a MySQL database.
|
||||||
|
|
||||||
|
**Installation path**:
|
||||||
|
* `/usr/local/icinga-mysql/bin/unixcat`
|
||||||
|
* `/usr/local/icinga-mysql/lib/mk-livestatus/livecheck`
|
||||||
|
* `/usr/local/icinga-mysql/lib/mk-livestatus/livestatus.o`
|
||||||
|
* `/usr/local/icinga-mysql/etc/modules/mk-livestatus.cfg`
|
||||||
|
* `/usr/local/icinga-mysql/var/rw/live`
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue