Ubuntu under Icinga (Nagios derivative version) installation steps

Source: Internet
Author: User


Ubuntu under Icinga installation steps:

Http://sourceforge.net/projects/icinga-cn/files/icinga-cn/icinga-cn-1.11/icinga-cn-1.11.5.tar.gz/download

Http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz


$ sudo useradd Icinga

$ sudo apt-get install Libdbi-dev

$ sudo apt-get install apache2

$ tar zxfv icinga-cn-1.11.5.tar.gz

$ CD icinga-cn-1.11.5

$./configure--prefix=/usr/local/icinga

$ make all

$ sudo make install

$ sudo make Install-init

$ sudo make Install-commandmode

$ sudo make install-idoutils

$ sudo make install-config

$ sudo make install-webconf

$ sudo make Install-webconf-auth

$ cd

$ tar zxfv nagios-plugins-2.0.3.tar.gz

$ CD nagios-plugins-2.0.3

$./configure--prefix=/usr/local/icinga

$ make

$ sudo make install

Check if the configuration is incorrect

$ sudo/usr/local/icinga/bin/icinga-v/usr/local/icinga/etc/icinga.cfg


Start Icinga:

# service Icinga Start


Icinga main documents:/usr/local/icinga/etc/icinga.cfg and/objects files


Modify HTTPD configuration file/etc/apache2/site-available/default (add in middle)


Scriptalias/icinga/cgi-bin "/usr/local/icinga/sbin"

<directory "/usr/local/icinga/sbin" >

AuthType Basic

Options execcgi

AllowOverride None

Order Allow,deny

Allow from all

AuthName "Icinga Access"

Authuserfile/usr/local/icinga/etc/htpasswd.users

Require Valid-user

</Directory>

: Wq

$ sudo ln-s/usr/local/icinga/share/var/www/icinga

$ sudo htpasswd-c/usr/local/icinga/etc/htpasswd.users icingaadmin

Enter a password (e.g., 123456)


Following the Change Password command:

$ sudo htpasswd/usr/local/icinga/etc/htpasswd.users icingaadmin


Restart Apache2:

$ sudo service apache2 restart


Access: Http://ip/icinga (enter user name Icinga and password)



This article from "Linux" blog, declined reprint!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.