Icinga postresql: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
=Postgres Anbindung=
 
 
==PPAPPA==
 
==PPAPPA==
 
  add-apt-repository ppa:formorer/icinga
 
  add-apt-repository ppa:formorer/icinga
 
  apt-get update
 
  apt-get update
  apt-get install icinga icinga-doc icinga-idoutils postgresql libdbd-pgsql postgresql-client
+
apt-get install postgresql libdbd-pgsql postgresql-client
 +
  apt-get install icinga icinga-doc icinga-idoutils  
  
 
==Enable ido2db Daemon==
 
==Enable ido2db Daemon==
Zeile 22: Zeile 21:
 
=Icinca Web=
 
=Icinca Web=
 
==Additional Packages==
 
==Additional Packages==
sudo apt-get install php5 php5-cli php-pear php5-xmlrpc php5-xsl php5-gd php5-ldap php5-pgsql
+
  apt-get install php5 php5-cli php-pear php5-xmlrpc php5-xsl php5-gd php5-ldap php5-pgsql
  
 
==Install==
 
==Install==
 
  apt-get install icinga-web
 
  apt-get install icinga-web

Aktuelle Version vom 21. September 2015, 13:08 Uhr

PPAPPA

add-apt-repository ppa:formorer/icinga
apt-get update
apt-get install postgresql libdbd-pgsql postgresql-client
apt-get install icinga icinga-doc icinga-idoutils 

Enable ido2db Daemon

vim /etc/default/icinga
IDO2DB=yes

service ido2db start

Nagios Plugins

apt-get install nagios-plugins

Enable idomod module

Check whether this has already been done in /etc/icinga/modules/idoutils.cfg. 
If not, copy the sample config over and restart Icinga to load the module. (Tip - if icinga.cfg does not contain
cfg_dir=/etc/icinga/modules the config won't be included!).
cp /usr/share/doc/icinga-idoutils/examples/idoutils.cfg-sample /etc/icinga/modules/idoutils.cfg

Icinca Web

Additional Packages

 apt-get install php5 php5-cli php-pear php5-xmlrpc php5-xsl php5-gd php5-ldap php5-pgsql

Install

apt-get install icinga-web