Instalacja Icinga 1.6.1 pod Ubuntu 12.04 Precise

Z Thomas-Krenn-Wiki
Przejdź do nawigacji Przejdź do wyszukiwania
Uwaga: Prosimy zwrócić uwagę, że ten artykuł / kategoria nie jest już aktualizowana, gdyż odnosi się do starszych komponentów oprogramowania / sprzętu.
Ta strona jest nadal dostępna jedynie w celach informacyjnych.

Aktualna wersja Icinga 1.6.1 znajduje się już w repozytoriach pakietów Ubuntu 12.04, nazwa kodowa Precise Pangolin. Dlatego może zostać po prostu zainstalowana przez apt-get install, po zakończeniu instalacji Ubuntu 12.04 LTS Server.

Instalacja

:~$ sudo apt-get install icinga
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common bsd-mailx icinga-cgi
  icinga-common icinga-core libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcap2
  libgd2-noxpm libjpeg-turbo8 libjpeg8 libmysqlclient18 libnet-snmp-perl libperl5.14 libpq5
  libradius1 libsensors4 libsnmp-base libsnmp15 libtalloc2 libtdb1 libwbclient0 mysql-common
  nagios-images nagios-plugins nagios-plugins-basic nagios-plugins-standard postfix samba-common
  samba-common-bin smbclient snmp ssl-cert whois
Suggested packages:
  apache2-doc apache2-suexec apache2-suexec-custom nagios-nrpe-plugin libgd-tools libcrypt-des-perl
  libdigest-hmac-perl libio-socket-inet6-perl lm-sensors snmp-mibs-downloader nagios3 procmail
  postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin dovecot-common postfix-cdb
  mail-reader cifs-utils openssl-blacklist
The following NEW packages will be installed:
  apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common bsd-mailx icinga
  icinga-cgi icinga-common icinga-core libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
  libcap2 libgd2-noxpm libjpeg-turbo8 libjpeg8 libmysqlclient18 libnet-snmp-perl libperl5.14 libpq5
  libradius1 libsensors4 libsnmp-base libsnmp15 libtalloc2 libtdb1 libwbclient0 mysql-common
  nagios-images nagios-plugins nagios-plugins-basic nagios-plugins-standard postfix samba-common
  samba-common-bin smbclient snmp ssl-cert whois
0 upgraded, 41 newly installed, 0 to remove and 3 not upgraded.
Need to get 32.7 MB of archives.
After this operation, 96.0 MB of additional disk space will be used.
Do you want to continue [Y/n]?
[...]
Get:26 http://de.archive.ubuntu.com/ubuntu/ precise/universe icinga-common all 1.6.1-2 [65.3 kB]
Get:27 http://de.archive.ubuntu.com/ubuntu/ precise/universe icinga-core amd64 1.6.1-2 [287 kB]
Get:28 http://de.archive.ubuntu.com/ubuntu/ precise/universe icinga-cgi amd64 1.6.1-2 [1,920 kB]
Get:29 http://de.archive.ubuntu.com/ubuntu/ precise/universe icinga amd64 1.6.1-2 [1,348 B]
[...]

Dialogi konfiguracyjne

Poniższe przykłady pokazują wybór opcji w dialogach konfiguracyjnych.

Konfiguracja postfix-u

          ┌───────────────────────────┤ Postfix Configuration ├───────────────────────────┐          
          │ Please select the mail server configuration type that best meets your needs.  │          
          │                                                                               │          
          │  No configuration:                                                            │          
          │   Should be chosen to leave the current configuration unchanged.              │          
          │  Internet site:                                                               │          
          │   Mail is sent and received directly using SMTP.                              │          
          │  Internet with smarthost:                                                     │          
          │   Mail is received directly using SMTP or by running a utility such           │          
          │   as fetchmail. Outgoing mail is sent using a smarthost.                      │          
          │  Satellite system:                                                            │          
          │   All mail is sent to another machine, called a 'smarthost', for delivery.    │          
          │  Local only:                                                                  │          
          │   The only delivered mail is the mail for local users. There is no network.   │          
          │                                                                               │          
          │ General type of mail configuration:                                           │          
          │                                                                               │          
          │                            No configuration                                   │          
          │                          * Internet Site *                                    │          
          │                            Internet with smarthost                            │          
          │                            Satellite system                                   │          
          │                            Local only                                         │          
          │                                                                               │          
          │                                                                               │          
          │                     <Ok>                         <Cancel>                     │          
          │                                                                               │          
          └───────────────────────────────────────────────────────────────────────────────┘          
  ┌──────────────────────────────────┤ Postfix Configuration ├───────────────────────────────────┐   
  │ The "mail name" is the domain name used to "qualify" _ALL_ mail addresses without a domain   │   
  │ name. This includes mail to and from <root>: please do not make your machine send out mail   │   
  │ from root@example.org unless root@example.org has told you to.                               │   
  │                                                                                              │   
  │ This name will also be used by other programs. It should be the single, fully qualified      │   
  │ domain name (FQDN).                                                                          │   
  │                                                                                              │   
  │ Thus, if a mail address on the local host is foo@example.org, the correct value for this     │   
  │ option would be example.org.                                                                 │   
  │                                                                                              │   
  │ System mail name:                                                                            │   
  │                                                                                              │   
  │ ubuntu-12-04.thomas-krenn.com_______________________________________________________________ │   
  │                                                                                              │   
  │                          <Ok>                              <Cancel>                          │   
  │                                                                                              │   
  └──────────────────────────────────────────────────────────────────────────────────────────────┘   

Konfiguracja Icinga-CGI

      ┌──────────────────────────────┤ Configuring icinga-cgi ├───────────────────────────────┐      
      │ Please select which Apache servers should be configured for icinga.                   │      
      │                                                                                       │      
      │ If you would prefer to perform configuration manually, leave all servers unselected.  │      
      │                                                                                       │      
      │ Apache servers to configure for icinga:                                               │      
      │                                                                                       │      
      │    [*] apache2                                                                        │      
      │                                                                                       │      
      │                                                                                       │      
      │                                        <Ok>                                           │      
      │                                                                                       │      
      └───────────────────────────────────────────────────────────────────────────────────────┘      
  ┌──────────────────────────────────┤ Configuring icinga-cgi ├──────────────────────────────────┐   
  │ Please provide the password to be created with the "icingaadmin" user.                       │   
  │                                                                                              │   
  │ This is the username and password to use when connecting to the Icinga server after          │   
  │ completing the configuration. If you do not provide a password, you will have to configure   │   
  │ access to Icinga manually later on.                                                          │   
  │                                                                                              │   
  │ Icinga web administration password:                                                          │   
  │                                                                                              │   
  │ ***********_________________________________________________________________________________ │   
  │                                                                                              │   
  │                                            <Ok>                                              │   
  │                                                                                              │   
  └──────────────────────────────────────────────────────────────────────────────────────────────┘   
        ┌────────────────────────────┤ Configuring icinga-cgi ├─────────────────────────────┐        
        │ Please enter the same user password again to verify you have typed it correctly.  │        
        │                                                                                   │        
        │ Re-enter password to verify:                                                      │        
        │                                                                                   │        
        │ ***********______________________________________________________________________ │        
        │                                                                                   │        
        │                                      <Ok>                                         │        
        │                                                                                   │        
        └───────────────────────────────────────────────────────────────────────────────────┘        

Powiązane artykuły

Certyfikaty sprzętu Thomas Krenn
Instalacja Icinga 1.5.1 w Debianie 6.0 Squeeze
Instalacja Icinga 1.6.1 pod Debianem 6.0 Squeeze