Kündigung bei der Norisbank

Tja, warum eigentlich über die Kündigung eines kostenlosen Bankkontos bloggen? Warum dies überhaupt tun, wenn das Konto doch kostenlos ist?
Das hab ich mir auch gedacht, mich dann aber aus folgenden Gründen für einen kleinen Beitrag entschieden.

Zuerst mal nutze ich das Konto schon lange nicht mehr und habe die (auch kostenlose) Kreditkarte als Ersatzkarte im Urlaub verwendet. Des weiteren habe ich die “Kredit” Werbung schon lange satt, die sowieso direkt auf den Altpapierstapel wandert. Der Zusendung dieser Werbung habe ich schon zweimal schriftlich widersprochen, leider ohne Erfolg. Nachdem ich nun den Jahreskonto Auszug erhalten habe und sowieso im Aufräumfieber bin, wollte ich das Konto kündigen. Geht gar nicht so einfach, denn auf der Homepage der Norisbank ist der Kündigungsprozess gar nicht beschrieben, weder in der FAQ, noch im Formularbereich, noch sonstwo. Über die Google Suche ist der Vorgang oder Infos dazu nicht auffindbar.
Man muss dazu den Support anschreiben. Andere Banken machen dies wesentlich transparenter, denn auch die Kündigung gehört irgendwie zum Kundenservice.

Man muss also eine E-Mail an service@norisbank.com schreiben oder bei der kostenpflichtigen Hotline anrufen, damit einem geholfen wird. Da ich ein Schwabe bin, habe ich natürlich eine E-Mail geschickt.
Hier die Antwort und die Beschreibung des Kündigungsvorgangs bei der Norisbank in der Hoffnung, dass es jemand weiterhilft:

Wir bedauern es sehr, dass wir Sie mit unserem Angebot nicht überzeugen konnten.

Bitte schicken Sie uns Ihre Kündigung per Brief mit Originalunterschrift an folgende Adresse:

norisbank GmbH
04089 Leipzig

Sofern Sie Ihre gesamte Kundenverbindung kündigen möchten, teilen Sie uns bitte Ihre 7stellige Kundennummer mit.
Bitte nennen Sie uns darüber hinaus eine Kontoverbindung zur Verrechnung Ihres möglichen Guthabens.

Bei einer Kündigung einzelner Unterkonten geben Sie bitte die 7stellige Kundennummer mit den jeweiligen 2-stelligen Unterkontennummern an.
Bitte teilen Sie uns dazu ein weiteres Verrechnungskonto mit, um Ihr mögliches Guthaben schnell überweisen zu können.

Falls Sie über eine noris Card verfügen, ist es zwingend notwendig, diese bei einer Kündigung der gesamten Kundenverbindung bzw. bei Kündigung des jeweiligen Unterkontos, entwertet (durchgeschnitten) dem Kündigungsschreiben beizulegen, damit die Schließung der Kontoverbindung oder des Unterkontos vollständig erfolgen kann.

Wir hoffen, Ihnen mit diesen Informationen weitergeholfen zu haben und wünschen Ihnen einen angenehmen Tag.

Noriscard entwertet

Hiermit erledigt.

Related Posts:

Upgrading Graylog2 from 0.9.5p2 to 0.9.6 with data migration

graylog2 logoThe Graylog2 “party-gorilla” team around Lennart Koopmann just released the final version of graylog2 0.9.6. It includes major changes and new features, such as:

  • ElasticSearch as new message store
  • new analytics shell, a terminal like browser gui for running queries
  • faster long term graphs
  • internal message queing systems to absorb and resist load spikes
  • new stream rules and filters
  • a lot of small improvements and bugfixes

The following migration guide describes the manual upgrade process on debian in detail:

Download new 0.9.6 release, for example into /opt and unpack it
https://github.com/downloads/Graylog2/graylog2-server/graylog2-server-0.9.6.tar.gz
tar xzfv graylog2-server-0.9.6.tar.gz

Download elasticsearch, most recent version from here and unpack it, for example:
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.6.tar.gz
tar xzfv elasticsearch-0.18.6.tar.gz

configure basic elasticsearch values, see elasticsearch configuration for details, for example:
network.host: 192.168.164.100
path:
logs: /var/log/elasticsearch
data: /var/data/elasticsearch
cluster:
name: graylog2

Download elasticsearch-servicewrapper (tanuki-wrapper) into your elasticserach/bin installation directory and unpack it there
wget https://github.com/elasticsearch/elasticsearch-servicewrapper/zipball/master
mv master elasticsearch-servicewrapper.zip && unzip elasticsearch-servicewrapper.zip
mv elasticsearch-elasticsearch-servicewrapper-*/* . && rm -rf elasticsearch-elasticsearch-servicewrapper-*

Start elasticsearch instance bia servicewrapper in /bin/service
./elasticsearch start
Starting ElasticSearch...
Waiting for ElasticSearch.......
running: PID:14816

Check if your elasticsearch instance started successfully. The logfile (defaut here in /var/log/elasticsearch/graylog2.log) should show something like this:
[2011-12-23 22:21:03,711][INFO ][node ] [Celestial Madonna] {0.18.6}[14818]: initializing ...
[2011-12-23 22:21:03,716][INFO ][plugins ] [Celestial Madonna] loaded [], sites []
[2011-12-23 22:21:05,299][INFO ][node ] [Celestial Madonna] {0.18.6}[14818]: initialized
[2011-12-23 22:21:05,299][INFO ][node ] [Celestial Madonna] {0.18.6}[14818]: starting ...
[2011-12-23 22:21:05,352][INFO ][transport ] [Celestial Madonna] bound_address {inet[/192.168.164.100:9300]}, publish_address {inet[/192.168.164.100:9300]}
[2011-12-23 22:21:08,385][INFO ][cluster.service ] [Celestial Madonna] new_master [Celestial Madonna][WiNh0iYwQyeipER3PuXZSg][inet[/192.168.164.100:9300]], reason: zen-disco-join (elected_as_master)
[2011-12-23 22:21:08,408][INFO ][discovery ] [Celestial Madonna] graylog2/WiNh0iYwQyeipER3PuXZSg
[2011-12-23 22:21:08,415][INFO ][http ] [Celestial Madonna] bound_address {inet[/192.168.164.100:9200]}, publish_address {inet[/192.168.164.100:9200]}
[2011-12-23 22:21:08,416][INFO ][node ] [Celestial Madonna] {0.18.6}[14818]: started
[2011-12-23 22:21:08,419][INFO ][gateway ] [Celestial Madonna] recovered [0] indices into cluster_state

Get the MongoDB to ElasticSearch migrator script from joschi
git clone https://github.com/joschi/graylog2-mongo-es-migrator.git

you need at least to adapt to config/migrator.yml with your mongodb username, password and host, usage:
After you've downloaded the script you should edit the configuration file in config/migrator.yml. If the ElasticSearch and MongoDB servers are running on the same system (on localhost) and MongoDB doesn't need authentication you can keep the file as is.

Get required dependencies with Bundler:
bundle install

prepare a new graylog2.conf in /tmp/graylog2.conf with new settings (or just copy the new config and adapt your settings). The new default configuration settings are:
elasticsearch_url = http://localhost:9200/
elasticsearch_index_name = graylog2
force_syslog_rdns = false
mq_batch_size = 4000
mq_poll_freq = 1
mq_max_size = 0

be brave and do a “hole-in-one” migration from the migrator directory (the following line works depending from where your graylog2 servers resides):
ps aux | grep graylog2-server.jar | awk {'print $2'} | xargs kill; ruby migrator.rb;cp /tmp/graylog2.conf /etc/graylog2.conf/; cd ../graylog2-server-0.9.6/bin/;./graylog2ctl start

Get the new web interface from github
git clone https://github.com/Graylog2/graylog2-web-interface.git

get required dependencies for the graylog2 web-interface
cd graylog2-web-interface; bundle install

Configure new web-interface (copy old configs, adapt new parameters, create new indexer.yml file with correct elasticsearch settings), be sure to check
indexer.yml
mongoid.yml
general.yml
email.yml

Start the bundled server or adapt your apache/passenger settings

Login to your web-interface, check if latest events are dropping in.

Write a “thank you party-gorilla” tweet to the @graylog2 twitter account

Related Posts:

Infos zu James Bond 23 – Skyfall

Es gibt endlich ein paar Details zum neuen James Bond Film. Die 23 Verfilmung des Agenten Thrillers trägt nun auch offiziell den Namen “Skyfall”.

Oscar Preisträger Sam Mendes (American Beauty, Jarhead) wird dieses mal Regie führen und natürlich schlüpft Daniel Craig erneut in die Rolle des Agenten 007. Auch Judi Dench (“M”) ist erfreulicherweise wieder mit von der Partie.

Neu an Board sind Javier Bardem (spielt den “Bösewicht”), Naomie Harris (angeblich “Moneypenny”) und Bérénice Marlohe (“Severine”). Javier Bardem schlüpfte schon mehrmals die Rolle des Bösen, unter anderem im Klassiker “Perdita Durango” und im Oscar gekrönten “No Country for Old Men

Der offizielle Plot im Original Ton:

In SKYFALL, Bond’s loyalty to M (Dench) is tested as her past comes back to haunt her. As MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.

Zur Geschichte ist bisher nicht also viel bekannt, nur, dass sie erstaunlicherweise keine Verbindung zum vorherigen Streifen “Quantum Trost” (Quantum of Solace) haben wird. Die Vergangenheit von “M” soll den MI6 in Schwierigkeiten bringen und nur der Titelheld kann mal wieder die Welt retten.
Bisher bekannte Drehorte sind Istanbul (Türkei), Shanghai (China), Schottland und die Studios in London. Der Titel “Skyfall” selbst hat einen emotionalen Hintergrund, welcher im Film selbst enthült werden soll. Ich bin jedenfalls schon gespannt, wie schlecht der Titel diesmal ins Deutsche adaptiert wird.

Die Produktion läuft seit dem 7. November diesen Jahres und hat sich aufgrund finanzieller Schwierigkeiten bei MGM verzögert. Der deutsche Kinostart von “James Bond 007 – Skyfall” ist für den 1. November 2012 anvisiert.

Related Posts:

NGINX, WordPress and php-fpm on Debian Squeeze

A while ago i published a howto on running nginx+serendipiy+php-fpm with apache style rewriting as implemented in s9y. The described installation is obsolete now – php-fpm made the jump into the regular php versions beginning with php 5.3.3 (see here). In addition to that i made s9y obsolete on my blog and migrated it to wordpress.
The netcraft webserver survey from April 2011 shows that nginx is still increasing slightly and is currently providing access to 8,68% of all monitored domains:

Netcraft Webserver survey april 2011
Time for me to switch to nginx again :)

Manual compiling is cool, but also a bit old-school, that’s why we use packages from Dotdeb in this example:

  1. Add the following two lines into your /etc/apt/sources.list file (example for debian squeeze, see lenny instructions here:

  2. deb http://packages.dotdeb.org stable all
    deb-src http://packages.dotdeb.org stable all

  3. fetch and apply GnuPG key:

  4. wget http://www.dotdeb.org/dotdeb.gpg
    cat dotdeb.gpg | sudo apt-key add -

  5. refresh your sources

  6. apt-get update

  7. Install packages including php5-fpm and nginx:

  8. apt-get install php-apc php-auth php-net-smtp php-net-socket php-pear php5 php5-cgi php5-cli php5-common php5-curl php5-dev php5-gd php5-imagick php5-imap php5-mcrypt php5-mysql php5-pspell php5-sqlite php5-suhosin php5-xmlrpc php5-xsl php5-fpm nginx

  9. First of all i did some modifications (gzip compression and tcp tweaks) to the nginx.conf located in /etc/nginx/nginx.conf

  10. #/etc/nginx/nginx.conf
    worker_processes 2;
    tcp_nopush on;
    tcp_nodelay on;
    # Gzip Settings
    gzip on;
    gzip_disable "msie6";
    gzip_vary on;
    gzip_proxied any;
    gzip_comp_level 1;
    gzip_buffers 16 8k;
    gzip_http_version 1.1;
    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

  11. Thanks to the new try_files directive in nginx the vhost configuration (found in /etc/nginx/sites-available) for wordpress is fairly straight forward. (In addition Igor often mentioned that using the if directive in nginx equal to apache usage is evil.). Example vhost configuration code for my blog:

    #/etc/nginx/nginx.conf
    server {
    listen :80;
    server_name andreas-lehr.com;
    server_tokens off;
    root /var/www/virtual/andreas-lehr.com/htdocs;
    index index.php index.html index.htm;
    access_log /var/log/nginx/andreas-lehr.com/access_log;
    error_log /var/log/nginx/andreas-lehr.com/error_log;

    location / {
    index blog/index.php ;
    }

    location /blog/ {
    try_files $uri $uri/ /blog/index.php?q=$uri;
    }

    location ~ \.php$ {
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    #fastcgi_pass 127.0.0.1:9000;
    fastcgi_pass unix:/dev/shm/php-fastcgi.socket;
    }

    location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
    expires max;
    log_not_found off;
    gzip on;
    }
    }

    please be aware that the blog in the example is running from the sublocation /blog.

  12. php-fpm configuration is located in /etc/php5/fpm. The file php-fpm.conf is the main configuration file which includes everything in the subdirectory pool.d, where i made some modifications to the default www.conf pool file:

  13. #/etc/php5/fpm/pool.d/www.conf
    ;listen = 127.0.0.1:9000
    listen = /dev/shm/php-fastcgi.socket
    php_flag[display_errors] = off
    php_admin_value[error_log] = /var/log/fpm-php.www.log
    php_admin_flag[log_errors] = on
    php_admin_value[error_reporting] = 0
    php_admin_value[memory_limit] = 128M
    php_admin_value[date.timezone] = Europe/Berlin

    As you see i configured only one pool which is running through the unix socket in /dev/shm/php-fastcgi.socket, which should be a bit faster than via local TCP socket. In addition i didn’t change any other performance values in first place (Blog is running with pm = dynamic, pm.max_children = 50, pm.start_servers = 20, pm.min_spare_servers = 5, pm.max_spare_servers = 35, pm.max_requests = 0 which is a lot more than ever needed).
    Finally i changed some php_admin_flags and values accordingly.

  14. Start php-fpm

  15. /etc/init.d/php5-fpm start

  16. Start nginx

  17. /etc/init.d/nginx start

Conclusion:
Now thats really a easy and fast way to install nginx with php-fpm on debian squeeze. This configuration is now running for several weeks on this domain and the pingdom monitoring shows an average response time improvement of about 300ms. In addition the machine now has a lot more reserves considering RAM and CPU.
Coming up next:
Adapting this changes to the piwik and gallery3 installations running here, integration of varnish-cache in this setup.

Related Posts:

Fixing Redmine “undefined local variable or method `version_requirements’” Error

redmine logoAfter a recent update on one of our service machines, redmine (version 1.1.2) crashed during startup with the following error:

Error message:
undefined local variable or method `version_requirements' for #
Exception class:
NameError

Application root:
/opt/redmine

Backtrace:
# File Line Location
0 /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb 119 in `requirement'
1 /usr/lib/ruby/1.8/rubygems/source_index.rb 269 in `search'
2 /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/vendor_gem_source_index.rb 119 in `search'
3 /usr/lib/ruby/1.8/rubygems.rb 247 in `activate'
4 /usr/lib/ruby/1.8/rubygems.rb 1276 in `gem'
5 /var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb 73 in `add_load_paths'
6 /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 301 in `add_gem_load_paths'
7 /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 301 in `each'
8 /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 301 in `add_gem_load_paths'
9 /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 132 in `process'
10 /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 113 in `send'
11 /var/lib/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 113 in `run'
12 /opt/redmine/config/environment.rb 20
13 /usr/lib/ruby/1.8/rubygems/custom_require.rb 36 in `gem_original_require'
14 /usr/lib/ruby/1.8/rubygems/custom_require.rb 36 in `require'
15 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb 318 in `preload_application'
16 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb 267 in `initialize_server'
17 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/utils.rb 323 in `report_app_init_status'
18 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb 246 in `initialize_server'
19 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb 194 in `start_synchronously'
20 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb 163 in `start'
21 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb 222 in `start'
22 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb 253 in `spawn_rails_application'
23 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb 126 in `lookup_or_add'
24 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb 247 in `spawn_rails_application'
25 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb 80 in `synchronize'
26 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
27 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb 246 in `spawn_rails_application'
28 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb 145 in `spawn_application'
29 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb 278 in `handle_spawn_application'
30 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb 352 in `__send__'
31 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb 352 in `main_loop'
32 /var/lib/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb 196 in `start_synchronously'
33 /var/lib/gems/1.8/gems/passenger-2.2.15/bin/passenger-spawn-server 61

I believe the error came up with the recent version of the rubygems packe provided in debian testing, which is rubygems_1.6.2-1_all.deb in our case.
The error is described in the official redmine “redmine” right here. More information could also be found in the official redmine bulletin board.

We put the code provided in hint 3 of issue 7516 in line 19 of the file config/environment.rb. This hack fixed the error for us for now.
You could also switch over using the unstable trunk version of redmine, roll back your rubygems or wait for the 1.2.0 release of redmine.

Related Posts:

Neuigkeiten zu Peter Jacksons “The Hobbit” Verfilmung

The Hobbit LogoBereits seit geraumer Zeit ist klar, dass der epochalen Verfilmung des “Herrn der Ringe” auch eine Jackson’sche Adaption zu J.R.R. Tolkien’s “Der kleine Hobbit” (orig. The Hobbit) folgen wird. Peter Jackson schrieb abermals gemeinsam mit Fran Walsh das Drehbuch und das Duo übernimmt auch die Produktion. Nach dem Aus von Guillermo del Toro als Regisseur übernahm Jackson zudem in diesem Jahr die Regie der auf 2 Teile angesetzten Tolkien Adaption.

Mittlerweile ist ein Großteil der Besetzung fix: Lange bekannt war schon, dass Ian McKellen wieder den Zauberer “Gandalf der Graue” spielen wird, Hugo Weaving im zweiten Teil als Elbenkönig “Elrond” auftritt und Andy Serkis abermals die Kreatur “Smeagol/Gollum” verköpern wird.
Die Hauptrolle des “Bilbo Beutlin” (orig. Bilbo Baggins) übernimmt diesmal nicht der wohl etwas zu Alte Ian Holm, sondern Martin Freeman, der einigen vielleicht von Hot Fuzz oder Shaun of the Dead bekannt sein könnte.
Die Rolle des Zwergenhelden “Thorin Eichenschild” (orig.: Thorin Oakenshield) spielt Richard Armitage, “Lord Balin” wird von Ken Stott (King Arthur, Casanova) verkörpert.
Die weiteren 11 Zwerge werden wiefolgt besetzt:

Relativ neu ist jedoch, dass Cate Blanchett erneut die Rolle der Elbin “Galadriel” verkörpert (Quelle: Screenrant.com). Dies sind interessante Neuigkeiten, denn im Original von J.R.R. Tolkien taucht Galadriel eigentlich gar nicht auf. Somit ist jedenfalls klar, dass Peter Jackson abermals ein Stück von der Original Geschichte abweichen wird.
Sicher ist auch, dass Howard Shore erneut für die Filmmusik verantwortlich ist. Nach seinem mit 3 Oscars gekrönten Erfolg bei der Herr der Ringe Verfilmung ist das nicht verwunderlich.
Bisher nur ein Gerücht ist die Besetzung von Orlando Bloom als Elb “Legolas” und die Verpflichtung von Leonard Nimoy(“Spock” in Star Trek) als Sprecher des Drachen Smaug. Von diesem gibt es übrigens ein bis dato unübliches Drachen Design beim Moviereporter zu bewundern.

Gefilmt wird derzeit schon in Neuseeland, auch wieder an originalen Sets von der “Herr der Ringe” Verfilmung. Der erste Teil der Verfilmung kommt am 19. Dezember 2012 in die Kinos, Teil 2 folgt dann ein Jahr später im Dezember 2013. Die Wartezeit kann man sich bis dahin mit den Herr der Ringe Blu rays vertreiben oder sich den sehr gut gemachten Fanfilm The Hunt for Gollum anschauen. Achtung: Die Special Extended Edition erscheint erst mit dem Kinostart vom ersten Teil des kleinen Hobbit auf Blu ray, die bisher erhältlichen Blu-rays enthalten immer die Spielfilmversion aus dem Kino.

Links:
The Hobbit Full cast auf imdb.org

Related Posts:

Installing Icinga 1.0 with IDOUtils and NConf

Today the icinga team released the first stable version of their open source monitoring tool – Icinga 1.0.
The team behind icinga formed up earlier this year and forked nagios due to several reasons.
In this small howto i’d like to describe the installation of Icinga in cooperation with IDOUtils and NConf for easier configuration of multiple hosts and services on a fresh debian system:

  1. Install some prequisites:

    apt-get install apache2 build-essential libgd2-xpm-dev libjpeg62 libjpeg62-dev libpng12 libpng12-dev mysql-server mysql-client libdbi0 libdbi0-dev libdbd-mysql libdbi-perl libdbd-mysql-perl

  2. As root, add an user and group for icinga:

    /usr/sbin/useradd -m icinga && /usr/sbin/groupadd icinga

  3. Download icinga-core 1.0 (not icinga-web) from the icinga download site
  4. Unpack the downloaded archive, for example in a new directory called /usr/local/icinga with the command

    tar xzfv icinga-1.0.tar.gz

  5. Enter the new directory and configure icinga with
    ./configure –enable-idoutils

  6. General options should look like this:

    General Options:
    ————————-
    Icinga executable: icinga
    Icinga user/group: icinga,icinga
    Command user/group: icinga,icinga
    Embedded Perl: no
    Event Broker: yes
    Build IDOUtils: yes
    Install ${prefix}: /usr/local/icinga
    Lock file: ${prefix}/var/icinga.lock
    Check result directory: ${prefix}/var/spool/checkresults
    Init directory: /etc/init.d
    Apache conf.d directory: /etc/apache2/conf.d
    Mail program: /usr/bin/mail
    Host OS: linux-gnu

  7. Compile the icinga source code with

    make all

  8. If everything went fine, just install icinga completely with

    make fullinstall

  9. Time for some customization:
    comment out all cfg_file options from line 30 to line 36 of icinga.cfg, they´ll be provided by NConf later:

    # You can specify individual object config files as shown below:

    #cfg_file=/usr/local/icinga/etc/objects/commands.cfg
    #cfg_file=/usr/local/icinga/etc/objects/contacts.cfg
    #cfg_file=/usr/local/icinga/etc/objects/timeperiods.cfg
    #cfg_file=/usr/local/icinga/etc/objects/templates.cfg

    # Definitions for monitoring the local (Linux) host
    #cfg_file=/usr/local/icinga/etc/objects/localhost.cfg

    # Definitions for monitoring a Windows machine
    #cfg_file=/usr/local/icinga/etc/objects/windows.cfg

    # Definitions for monitoring a router/switch
    #cfg_file=/usr/local/icinga/etc/objects/switch.cfg

    # Definitions for monitoring a network printer
    #cfg_file=/usr/local/icinga/etc/objects/printer.cfg

  10. Add two new cfg_dir options for NConf:

    cfg_dir=/usr/local/icinga/etc/objects/global
    cfg_dir=/usr/local/icinga/etc/objects/Default_collector/

  11. uncomment broker_module in line 251:

    broker_module=/usr/local/icinga/bin/idomod.o config_file=/usr/local/icinga/etc/idomod.cfg

  12. In /usr/local/icinga/etc directrory, create IDOUtils sampe configuration:

    cp idomod.cfg-sample idomod.cfg
    cp ido2db.cfg-sample ido2db.cfg

  13. Generate MySQL Database and User for icinga

    # mysql -u root -p
    mysql> CREATE DATABASE icinga;
    GRANT USAGE ON \*.\* TO ‘icinga’@'localhost’ IDENTIFIED BY ‘MYSUPERHEROPASSWORD’ WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;

    GRANT ALL PRIVILEGES ON icinga.\* TO ‘icinga’@'localhost’;FLUSH PRIVILEGES ;
    quit

  14. Import corresponding database scheme for MySQL:

    # cd /path/to/icinga-src/module/idoutils/db
    # mysql -u root -p icinga < mysql.sql

  15. Customize database credentials in /usr/local/icinga/etc/ido2db.cfg
    and take care of the following options:

    db_servertype=mysql
    db_port=3306
    db_user=icinga
    db_pass=MYSUPERHEROPASSWORD

  16. Change .htaccess password for the icingaadmin: htpasswd -c /usr/local/icinga/etc/htpasswd.users icingaadmin
  17. Copy sample configuration for apache:

    cp /usr/local/icinga/icinga-1.0/sample-config/httpd.conf /etc/apache2/conf.d/icinga.conf

  18. Download latest NConf release from the NConf download page
  19. Unpack the archive in one of your web directories, e.g. in /var/www/nconf

    tar xzfv nconf-1.2.6-0.tgz

  20. Make the new directory read/writeable to your webserver:

    chown -R www-data:www-data nconf/

  21. Create new file nconf.conf in /etc/apache2/conf.d:

    #nconf.conf
    Alias /nconf "/var/www/virtual/nconf"

    # SSLRequireSSL
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
    # Order deny,allow
    # Deny from all
    # Allow from 127.0.0.1
    AuthName "Icinga Access"
    AuthType Basic
    AuthUserFile /usr/local/icinga/etc/htpasswd.users
    Require valid-user

  22. Reload apache
  23. /etc/init.d/apache2 reload

  24. Create database and user for NConf:

    # mysql -u root -p
    mysql> CREATE DATABASE nconf;
    GRANT USAGE ON \*.\* TO ‘nconf’@'localhost’ IDENTIFIED BY ‘MYSUPERHEROPASSWORD’ WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;
    GRANT ALL PRIVILEGES ON nconf.\* TO ‘nconf’@'localhost’;
    FLUSH PRIVILEGES ;
    quit

  25. Complete installation via NConf Web Gui, for example on
  26. Put /usr/local/icinga/bin/icinga as NAGIOS_BIN
  27. Configure your hosts and services in the NConf WebGui
  28. make sure to delete the host and service notification state "[n]" editing your contacts, otherwise you won’t get any notification.
  29. Edit the notify-host-by-email/notify-sercice-by-email command in misccommands section in order to point to the corresponding binary for the mail command, in my case /usr/bin/mail
  30. After finishing host and services configuration, hit the Generate Nagios config Button.
  31. Your nagios configuration is now saved in the /output directory of your NConf installation.
  32. customize NConf deploy script in /var/www/virtualnconf/ADD-ONS/deploy_local.sh, for example:

    #!/bin/bash

    OUTPUT_DIR="/var/www/virtual/nconf/output/"
    NAGIOS_DIR="/usr/local/icinga/etc/objects/"
    TEMP_DIR=${NAGIOS_DIR}"import/"
    CONF_ARCHIVE="NagiosConfig.tgz"

    if [ ! -e ${TEMP_DIR} ] ; then
    mkdir -p ${TEMP_DIR}
    fi

    if [ ${OUTPUT_DIR}${CONF_ARCHIVE} -nt ${TEMP_DIR}${CONF_ARCHIVE} ] ; then
    cp -p ${OUTPUT_DIR}${CONF_ARCHIVE} ${TEMP_DIR}${CONF_ARCHIVE}
    tar -xf ${TEMP_DIR}${CONF_ARCHIVE} -C ${NAGIOS_DIR}
    /etc/init.d/icinga reload
    fi

    exit

  33. Configure cronjob to refresh your configuration regulary, if you want to

    */10 * * * * /var/www/virtual/nconf/ADD-ONS/deploy_local.sh

  34. Start IDOUtils:

    /etc/init.d/ido2db start

  35. Start Icinga:

    /etc/init.d/icinga start

  36. Check icinga.log logfile in /usr/local/icinga/var
  37. Be Happy!
    1. For more information on Icinga and IDOUtils check out the documentation.
      More information on NConf is available in the NConf documentation.

Related Posts: