Difference between revisions of "Icinga: Instalasi di Ubuntu"

From OnnoWiki
Jump to navigation Jump to search
(New page: You Are Here: Home → Linux → How To's → Ubuntu → Setup Icinga Monitoring Tool on Ubuntu 14.10 Setup Icinga Monitoring Tool on Ubuntu 14.10 Raj November 7, 2014 1 Comment icinga, mo...)
 
 
Line 80: Line 80:
 
* http://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/setup-icinga-monitoring-tool-on-ubuntu-14-10.html#axzz3ghkOuyYy
 
* http://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/setup-icinga-monitoring-tool-on-ubuntu-14-10.html#axzz3ghkOuyYy
 
* https://wiki.icinga.org/display/howtos/Setting+up+Icinga+Web+on+Ubuntu
 
* https://wiki.icinga.org/display/howtos/Setting+up+Icinga+Web+on+Ubuntu
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[Icinga]]

Latest revision as of 13:07, 11 May 2020

You Are Here: Home → Linux → How To's → Ubuntu → Setup Icinga Monitoring Tool on Ubuntu 14.10 Setup Icinga Monitoring Tool on Ubuntu 14.10 Raj November 7, 2014 1 Comment icinga, monitoring-tools, nagios, ubuntu 14.10

Icinga Logo

Icinga is a fork of famous Ngaios monitoring tool, it is very compatible with Nagios and can be integrated with Nagios plugins. Icinga is very similar to Nagios, so you wont find any difficult in moving to Icinga. Icinga is one step ahead on multiple factors, the import factor is advanced reporting using we based jasper reports, the most improved web interface and its comes as virtual appliance.

This post will help you to setup Icinga on Ubuntu 14.10. Install Icinga:

Before we go ahead, lets add icinga repository.

$ sudo add-apt-repository ppa:formorer/icinga

Update respositories.

$ sudo apt-get update

Install icinga with IDO utils.

$ sudo apt-get install icinga icinga-doc icinga-idoutils mysql-server libdbd-mysql mysql-client

During the installation of packages, setup will prompt you to give input for further configuration of icinga.

   Configuring mysql-server-5.5 : New password for the MySQL “root” user
   Configuring mysql-server-5.5 :  Repeat password for the MySQL “root” user
   Postfix Configuration  : Internet Site
   Postfix Configuration: fully qualified domain name (FQDN)
   Configuring icinga-cgi : Icinga web administration password for icingaadmin.
   Configuring icinga-cgi :  Re-enter password
   Configuring icinga-common : Use external commands with Icinga, just give YES.
   Configuring icinga-idoutils : give Yes on Configure database for icinga-idoutils with dbconfig-common.
   Configuring icinga-idoutils : Chose MySQL as a database.
   Configuring icinga-idoutils  : Enter MySQL root password that you set on setp 1.
   Configuring icinga-idoutils : Enter  MySQL application password for icinga-idoutils
   Configuring icinga-idoutils : Password confirmation

Enable ido2db daemon to start during system boot, to do that edit the configuration file.

$ sudo nano /etc/default/icinga

From

# start ido2db daemon (no/yes)
IDO2DB=no

TO

# start ido2db daemon (no/yes)
IDO2DB=yes

Now start ido2db service.

$ sudo service ido2db start

Enable idomod module by copying sample idoutils config file to icinga’s config diretory.

$ sudo cp /usr/share/doc/icinga-idoutils/examples/idoutils.cfg-sample /etc/icinga/modules/idoutils.cfg

Restart icinga service.

$ sudo service icinga restart

Note: Authendications are stored in /etc/icinga/htpasswd.users, you can use following command to add new users.

$ sudo htpasswd /etc/icinga/htpasswd.users youruser

Access Icinga:

Now you can access icinga interface by vistiting http://your-ip-address/icinga on web browser. You will be authendicated by icinga before entering in to interface, default user name is “icingaadmin” and password that assigned during the installation (Step 5).

http://your-ip-address/icinga/


Referensi


Pranala Menarik