--- icinga-1.9.3.orig/debian/icinga-cgi.templates
+++ icinga-1.9.3/debian/icinga-cgi.templates
@@ -0,0 +1,29 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: icinga/adminpassword
+Type: password
+_Description: Icinga web administration password:
+ 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.
+
+Template: icinga/adminpassword-repeat
+Type: password
+_Description: Re-enter password to verify:
+ Please enter the same user password again to verify you have typed it
+ correctly.
+
+Template: icinga/adminpassword-mismatch
+Type: error
+_Description: Password input error
+ The two passwords you entered were not the same. Please try again.
--- icinga-1.9.3.orig/debian/apache2.conf
+++ icinga-1.9.3/debian/apache2.conf
@@ -0,0 +1,24 @@
+# apache configuration for icinga
+
+ScriptAlias /cgi-bin/icinga /usr/lib/cgi-bin/icinga
+
+# Where the stylesheets (config files) reside
+Alias /icinga/stylesheets /etc/icinga/stylesheets
+
+# Where the HTML pages live
+Alias /icinga /usr/share/icinga/htdocs
+
+
+ Options FollowSymLinks
+
+ DirectoryIndex index.html
+
+ AllowOverride AuthConfig
+ Order Allow,Deny
+ Allow From All
+
+ AuthName "Icinga Access"
+ AuthType Basic
+ AuthUserFile /etc/icinga/htpasswd.users
+ Require valid-user
+
--- icinga-1.9.3.orig/debian/icinga-cgi.examples
+++ icinga-1.9.3/debian/icinga-cgi.examples
@@ -0,0 +1 @@
+debian/apache2.conf
--- icinga-1.9.3.orig/debian/compat
+++ icinga-1.9.3/debian/compat
@@ -0,0 +1 @@
+7
--- icinga-1.9.3.orig/debian/icinga-common.templates
+++ icinga-1.9.3/debian/icinga-common.templates
@@ -0,0 +1,19 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: icinga/check_external_commands
+Type: boolean
+Default: false
+_Description: Use external commands with Icinga?
+ As a security feature, Icinga in its default configuration does not
+ look for external commands. Enabling external commands will give
+ the web server write access to the nagios command pipe and is required
+ if you want to be able to use the CGI command interface.
+ .
+ If unsure, do not enable external commands.
--- icinga-1.9.3.orig/debian/icinga-core.manpages
+++ icinga-1.9.3/debian/icinga-core.manpages
@@ -0,0 +1,2 @@
+debian/icinga.8
+debian/icingastats.8
--- icinga-1.9.3.orig/debian/icinga.lintian-overrides
+++ icinga-1.9.3/debian/icinga.lintian-overrides
@@ -0,0 +1 @@
+usr-share-doc-symlink-without-dependency icinga-common
--- icinga-1.9.3.orig/debian/icinga-idoutils.README.Debian
+++ icinga-1.9.3/debian/icinga-idoutils.README.Debian
@@ -0,0 +1,26 @@
+icinga-idoutils for Debian
+--------------------------
+
+The idoutils include a Nagios event broker module (idomod.so) that exports
+data from the Icinga daemon. You have to enable it after installing the package
+
+To enable the module copy /usr/share/doc/icinga-idoutils/examples/Idoutils.cfg-sample to
+/etc/icinga/modules/idoutils.cfg. You can also add the broker to
+/etc/icinga/icinga.cfg, but the module way is recommended.
+
+Don't forget to restart Icinga after changing the configuration:
+
+ invoke-rc.d icinga restart
+
+After configuring Icinga to use the idoutils broker module, you have to
+enable the ido2db daemon in /etc/default/icinga by setting
+
+ IDO2DB=yes
+
+and start the daemon
+
+ invoke-rc.d ido2db start
+
+NOTE: If you don't manage your ido2db via debconf adapt /etc/icinga/ido2db.cfg for your need and configure your database before starting the daemon
+
+ -- Alexander Wirt Wed Mar 17 08:58:44 CET 2010
--- icinga-1.9.3.orig/debian/icinga-cgi.links
+++ icinga-1.9.3/debian/icinga-cgi.links
@@ -0,0 +1,4 @@
+usr/share/javascript/jquery/jquery.min.js usr/share/icinga/htdocs/js/jquery-1.8.0.min.js
+usr/share/javascript/jquery-ui usr/share/icinga/htdocs/jquery-ui
+etc/icinga/stylesheets usr/share/icinga/stylesheets
+etc/icinga/apache2.conf etc/apache2/conf-available/icinga.conf
--- icinga-1.9.3.orig/debian/icinga-idoutils.dirs
+++ icinga-1.9.3/debian/icinga-idoutils.dirs
@@ -0,0 +1,4 @@
+etc/icinga
+usr/lib/icinga
+usr/share/dbconfig-common/data/icinga-idoutils/install/
+usr/share/dbconfig-common/data/icinga-idoutils/upgrade-dbadmin/
--- icinga-1.9.3.orig/debian/copyright
+++ icinga-1.9.3/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Alexander Wirt .
+
+It was downloaded from http://www.icinga.org/
+
+Current Debian Maintainers: The nagios packaging packaging team
+ http://alioth.debian.org/projects/pkg-nagios/
+
+Mailing-List: pkg-nagios-devel@lists.alioth.debian.org
+
+Upstream Author: Ethan Galstad
+ Icinga Development Team (info@icinga.org)
+
+Copyright (c) 1999-2009 Ethan Galstad (nagios@nagios.org)
+Copyright (c) 2009-2010 Icinga Development Team (info@icinga.org)
+
+License:
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License version 2 as
+published by the Free Software Foundation.
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
+
+p1.pl is Copyright 2007 by Stanley Hopcroft
+
+This program is free software; you can redistribute it and/or modify it under
+the same terms as Perl itself.
+
+On Debian systems, the complete text of the Artistic
+License, can be found in /usr/share/common-licenses/Artistic.
+
+The file common/snprintf.c is Copyright 1995 by Patrick Powell
+
+This code is based on code written by Patrick Powell (papowell@astart.com)
+It may be used for any purpose as long as this notice remains intact
+on all source code distributions
--- icinga-1.9.3.orig/debian/icinga-idoutils.prerm
+++ icinga-1.9.3/debian/icinga-idoutils.prerm
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/prerm
+dbc_go icinga-idoutils $@
+
+if [ -x "/etc/init.d/ido2db" ]; then
+ invoke-rc.d ido2db stop 3>&- || exit $?
+fi
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/icinga-dbg.prerm
+++ icinga-1.9.3/debian/icinga-dbg.prerm
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" != "upgrade" ]; then
+ update-alternatives --remove mini_epn /usr/bin/mini_epn_icinga
+fi
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/icinga-common.postrm
+++ icinga-1.9.3/debian/icinga-common.postrm
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+# some shorthands for sanity
+en="/etc/icinga"
+enc="/etc/icinga/objetcs"
+usn="/usr/share/icinga"
+
+case "$1" in
+ remove)
+ ;;
+ purge)
+ for file in $en/resource.cfg /var/log/icinga /var/run/icinga \
+ /var/lib/icinga /var/lib/icinga/spool \
+ /var/lib/icinga/spool/checkresults \
+ /var/cache/icinga /var/lib/icinga/rw; do
+ dpkg-statoverride --force --remove $file 2>/dev/null || true
+ done
+ rm -rf /var/run/icinga /var/log/icinga /var/lib/icinga \
+ /var/cache/icinga
+ ;;
+esac
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/icinga-idoutils.NEWS
+++ icinga-1.9.3/debian/icinga-idoutils.NEWS
@@ -0,0 +1,10 @@
+icinga (1.7.0~beta1-1) UNRELEASED; urgency=low
+
+ The location of the idoutils icinga broker changed from
+ /usr/lib/icinga/idomod.o to /usr/lib/icinga/idomod.so.
+ The best way to fix this is to remove the broker like from
+ icinga.cfg and copy
+ /usr/share/doc/icinga-idoutils/examples/idoutils.cfg-sample to
+ /etc/icinga/modules/idoutils.cfg.
+
+ -- Alexander Wirt Sat, 12 May 2012 06:28:56 +0200
--- icinga-1.9.3.orig/debian/icinga-doc.dirs
+++ icinga-1.9.3/debian/icinga-doc.dirs
@@ -0,0 +1 @@
+usr/share/icinga/htdocs
--- icinga-1.9.3.orig/debian/icingastats.8
+++ icinga-1.9.3/debian/icingastats.8
@@ -0,0 +1,51 @@
+.TH icingastats "8" "February 2006" "sean finney " "icinga"
+.SH NAME
+icingastats \- report statistics information from the Icinga system
+
+.SH SYNOPSIS
+.B icingastats [\-hVL] [\-c config] [\-m] [\-d]
+.br
+
+.SH DESCRIPTION
+.B icingastats
+Is a program designed to provide information on the running Icinga
+system. It can provide a brief summary of information, or it can
+be used to export specific information about the nagios system
+into an MRTG-compatible format.
+For more information please consult the Icinga online documentation
+available at http://www.icinga.org or the documentation available
+with your icinga server's web page.
+
+.SH OPTIONS
+.TP
+\fB\-c\fR|\-\-config=FILE
+The main configuration file. On debian systems this defaults to
+/etc/icinga/icinga.cfg
+.TP
+\fB\-m\fR|\-\-mrtg
+Print output in MRTG-compatible format. For more details run
+icingastats with \-\-help
+.TP
+\fB\-d\fR|\-\-data=VARS
+Comma-seperated list of variables to output in MRTG format. For
+more details run icingastats with \-\-help.
+.TP
+\fB\-h\fR|\-\-help
+A helpful usage message
+.TP
+\fB\-V\fR|\-\-version
+Print version information
+.TP
+\fB\-L\fR|\-\-license
+Print license details
+
+.SH FILES
+.TP
+.IP /etc/icinga
+Default configuration directory for icinga
+
+.SH AUTHOR
+Icinga was started as Nagios by Ethan Galstad . Icinga is
+maintained by the Icinga Project . This manual page was
+written by sean finney for the Debian GNU/Linux operating
+system (but it may be freely used, modified, and redistributed by others).
--- icinga-1.9.3.orig/debian/icinga-idoutils.ido2db.init
+++ icinga-1.9.3/debian/icinga-idoutils.ido2db.init
@@ -0,0 +1,194 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: ido2db
+# Required-Start: $remote_fs $syslog $named $network $time
+# Required-Stop: $remote_fs $syslog $named $network
+# X-Start-Before: icinga
+# X-Stop-After: icinga
+# Should-Start: mysql postgresql
+# Should-Stop: mysql postgresql
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: ido2db initscript
+# Description: icinga-dataobjects daemon
+### END INIT INFO
+
+# Author: Alexander Wirt
+#
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="icinga-dataobjects daemon"
+NAME=ido2db
+DAEMON=/usr/sbin/$NAME
+PIDFILE=/var/run/icinga/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+CFG=/etc/icinga/ido2db.cfg
+
+# Exit if the package is not installed
+[ -x "$DAEMON" ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/icinga ] && . /etc/default/icinga
+
+# Load the VERBOSE setting and other rcS variables
+. /lib/init/vars.sh
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
+if [ "$IDO2DB" != "yes" ]; then
+ if [ "$VERBOSE" != no ]; then
+ log_warning_msg "Not starting ido2db - edit /etc/default/icinga to enable it"
+ fi
+ exit 0
+fi
+
+
+check_started () {
+ start-stop-daemon --quiet --pidfile $PIDFILE --exec $DAEMON --status > /dev/null
+ if [ $? -eq 0 ]
+ then
+ return 1
+ else
+ return 0
+ fi
+}
+
+cleanup_socket () {
+ SOCKET=$( get_config socket_name )
+ test -z "$SOCKET" && return
+ check_started
+ [ $? -eq 1 ] && return
+ if [ -e $SOCKET ]
+ then
+ log_warning_msg "Remove stale socket $SOCKET"
+ rm $SOCKET
+ fi
+
+}
+
+#
+# get_config()
+#
+# grab a config option from icinga.cfg (or possibly another icinga config
+# file if specified). everything after the '=' is echo'd out, making
+# this a nice generalized way to get requested settings.
+#
+get_config () {
+ if [ "$2" ]; then
+ set -- `grep ^$1 $2 | sed 's@=@ @'`
+ else
+ set -- `grep ^$1 $CFG | sed 's@=@ @'`
+ fi
+ shift
+ echo $*
+}
+
+#
+# Function that starts the daemon/service
+#
+do_start()
+{
+ test -d $(dirname $PIDFILE) || mkdir -p $(dirname $PIDFILE)
+ chown nagios:nagios $(dirname $PIDFILE)
+ #cleanup stale socket
+ cleanup_socket
+ # Return
+ # 0 if daemon has been started
+ # 1 if daemon was already running
+ # 2 if daemon could not be started
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
+ || return 1
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
+ -c $CFG \
+ || return 2
+}
+
+#
+# Function that stops the daemon/service
+#
+do_stop()
+{
+ # Return
+ # 0 if daemon has been stopped
+ # 1 if daemon was already stopped
+ # 2 if daemon could not be stopped
+ # other if a failure occurred
+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
+ RETVAL="$?"
+ [ "$RETVAL" = 2 ] && return 2
+ # Wait for children to finish too if this is a daemon that forks
+ # and if the daemon is only ever run from this initscript.
+ # If the above conditions are not satisfied then add some other code
+ # that waits for the process to drop all resources that could be
+ # needed by services started subsequently. A last resort is to
+ # sleep for some time.
+ start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
+ [ "$?" = 2 ] && return 2
+ # Many daemons don't delete their pidfiles when they exit.
+ rm -f $PIDFILE
+ return "$RETVAL"
+}
+
+
+case "$1" in
+ start)
+ [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
+ do_start
+ case "$?" in
+ 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ esac
+ ;;
+ stop)
+ [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
+ do_stop
+ case "$?" in
+ 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ esac
+ ;;
+ status)
+ status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+ ;;
+ #reload|force-reload)
+ #
+ # If do_reload() is not implemented then leave this commented out
+ # and leave 'force-reload' as an alias for 'restart'.
+ #
+ #log_daemon_msg "Reloading $DESC" "$NAME"
+ #do_reload
+ #log_end_msg $?
+ #;;
+ restart|force-reload)
+ #
+ # If the "reload" option is implemented then remove the
+ # 'force-reload' alias
+ #
+ log_daemon_msg "Restarting $DESC" "$NAME"
+ do_stop
+ case "$?" in
+ 0|1)
+ do_start
+ case "$?" in
+ 0) log_end_msg 0 ;;
+ 1) log_end_msg 1 ;; # Old process is still running
+ *) log_end_msg 1 ;; # Failed to start
+ esac
+ ;;
+ *)
+ # Failed to stop
+ log_end_msg 1
+ ;;
+ esac
+ ;;
+ *)
+ #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
+ echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
+ exit 3
+ ;;
+esac
+
+:
--- icinga-1.9.3.orig/debian/icinga-idoutils.install
+++ icinga-1.9.3/debian/icinga-idoutils.install
@@ -0,0 +1,2 @@
+debian/db/admin/pgsql usr/share/dbconfig-common/data/icinga-idoutils/install-dbadmin/
+module/idoutils/config/ido2db.cfg-sample usr/share/icinga/tmpl
--- icinga-1.9.3.orig/debian/README.Debian
+++ icinga-1.9.3/debian/README.Debian
@@ -0,0 +1,47 @@
+Welcome to the icinga package for Debian GNU/Linux!
+Below are some debian-specific notes which may be of help to you.
+
+If you have questions about using/configuring nagios, you should probably
+contact the nagios-users mailing list and NOT the maintainers:
+
+ nagios-users@lists.sourceforge.net
+
+Of course we'd be happy to hear about any bugs you find, and are always
+open to discussing any ideas you might have for improvement. you can
+contact the debian icinga maintainers at:
+
+ pkg-nagios-devel@lists.alioth.debian.org
+
+External Commands
+^^^^^^^^^^^^^^^^^
+Icinga is not configured to look for external commands in the
+default configuration as a security feature. To enable external
+commands, you need to allow the web server write access to the
+nagios command pipe. the simplest way of doing this is to
+set check_external_commands=1 in your Icinga configuration,
+and then change the permissions in a way which will be maintained
+across package upgrades (otherwise dpkg will overwrite your
+permission changes). The following is the recommended approach:
+
+- activate external command checks in the Icinga configuration. this
+ can be done by setting check_external_commands=1 in the file
+ /etc/icinga/icinga.cfg.
+
+- perform the following commands to change directory permissions and
+ to make the changes permanent:
+
+service icinga stop
+dpkg-statoverride --update --add nagios www-data 2710 /var/lib/icinga/rw
+dpkg-statoverride --update --add nagios nagios 751 /var/lib/icinga
+service icinga start
+
+Manually Providing / Overriding Authentication Configuration
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The default debian configuration for icinga+apache is to use
+an htpasswd style file in /etc/icinga/htpasswd.users. if you
+choose not to (or otherwise didn't) provide a password during package
+configuration, we assume that you know what you're doing and will
+not get in your way. however, if you don't know what you're doing,
+you should either dpkg-reconfigure icinga-common and provide
+a password, or read the fine manual for htpasswd(1).
--- icinga-1.9.3.orig/debian/icinga-cgi.config
+++ icinga-1.9.3/debian/icinga-cgi.config
@@ -0,0 +1,35 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+db_fget icinga/adminpassword seen || true
+password_seen="$RET"
+
+if [ "$1" = "reconfigure" ]; then
+ password_seen=false
+fi
+
+if [ "$password_seen" != "true" ]; then
+ # the passwords are reset at the end of every postinst run,
+ # however, they are left in the "seen" state so that the
+ # admin is not prompted for them at every upgrade.
+ while [ ! "$passwordsmatch" ]; do
+ #only ask for a password if no htpasswd exists
+ db_input high icinga/adminpassword || true
+ db_input high icinga/adminpassword-repeat || true
+ db_go || true
+ db_get icinga/adminpassword
+ p1="$RET"
+ db_get icinga/adminpassword-repeat
+ p2="$RET"
+ if [ "$p1" = "$p2" ]; then
+ passwordsmatch="yes"
+ else
+ db_fset icinga/adminpassword seen false
+ db_fset icinga/adminpassword-repeat seen false
+ db_fset icinga/adminpassword-mismatch seen false
+ db_input critical icinga/adminpassword-mismatch || true
+ fi
+ done
+fi
+db_go || true
--- icinga-1.9.3.orig/debian/icinga-common.icinga.default
+++ icinga-1.9.3/debian/icinga-common.icinga.default
@@ -0,0 +1,16 @@
+# /etc/default/icinga
+
+# location of the icinga configuration file
+ICINGACFG="/etc/icinga/icinga.cfg"
+
+# location of the CGI configuration file
+CGICFG="/etc/icinga/cgi.cfg"
+
+# nicelevel to run icinga daemon with
+NICENESS=5
+
+# start ido2db daemon (no/yes)
+IDO2DB=no
+
+# if you use pam_tmpdir, you need to explicitly set TMPDIR:
+#TMPDIR=/tmp
--- icinga-1.9.3.orig/debian/icinga-idoutils.links
+++ icinga-1.9.3/debian/icinga-idoutils.links
@@ -0,0 +1,12 @@
+usr/share/dbconfig-common/data/icinga-idoutils/install-dbadmin/pgsql usr/share/dbconfig-common/data/icinga-idoutils/upgrade-dbadmin/pgsql/1.6.0-1
+
+usr/share/dbconfig-common/data/icinga-idoutils/install-dbadmin/pgsql usr/share/dbconfig-common/data/icinga-idoutils/upgrade-dbadmin/pgsql/1.5.0-1
+
+usr/share/dbconfig-common/data/icinga-idoutils/install-dbadmin/pgsql usr/share/dbconfig-common/data/icinga-idoutils/upgrade-dbadmin/pgsql/1.4.0-1
+
+usr/share/dbconfig-common/data/icinga-idoutils/install-dbadmin/pgsql usr/share/dbconfig-common/data/icinga-idoutils/upgrade-dbadmin/pgsql/1.2.99-1
+
+usr/share/dbconfig-common/data/icinga-idoutils/install-dbadmin/pgsql usr/share/dbconfig-common/data/icinga-idoutils/upgrade-dbadmin/pgsql/1.0.3-1
+
+usr/share/dbconfig-common/data/icinga-idoutils/install-dbadmin/pgsql usr/share/dbconfig-common/data/icinga-idoutils/upgrade-dbadmin/pgsql/1.0.2-2
+
--- icinga-1.9.3.orig/debian/icinga-doc.lintian-overrides
+++ icinga-1.9.3/debian/icinga-doc.lintian-overrides
@@ -0,0 +1 @@
+package-contains-empty-directory usr/share/icinga/htdocs/ssi/
--- icinga-1.9.3.orig/debian/icinga-dbg.postinst
+++ icinga-1.9.3/debian/icinga-dbg.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+update-alternatives --quiet --install /usr/bin/mini_epn mini_epn /usr/bin/mini_epn_icinga 10 \
+ --slave /usr/share/man/man8/mini_epn.8.gz mini_epn.8.gz /usr/share/man/man8/mini_epn_icinga.8.gz
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/control
+++ icinga-1.9.3/debian/control
@@ -0,0 +1,209 @@
+Source: icinga
+Section: net
+Priority: optional
+Maintainer: Debian Nagios Maintainer Group
+Uploaders: Alexander Wirt , Jan Wagner
+Standards-Version: 3.9.3
+Vcs-Browser: http://git.debian.org/?p=pkg-nagios/icinga.git
+Vcs-Git: git://git.debian.org/pkg-nagios/icinga.git
+Build-Depends: autotools-dev,
+ debhelper (>= 7),
+ dpatch (>= 2.0.10),
+ dpkg-dev (>= 1.13.19),
+ libdbi-dev | libdbi0-dev,
+ libgd-dev | libgd2-noxpm-dev (>= 2.0.1) | libgd2-xpm-dev (>= 2.0.1),
+ libperl-dev,
+ libpng-dev | libpng12-dev,
+ po-debconf
+
+Package: icinga-common
+Architecture: all
+Depends: adduser,
+ bsd-mailx | mailx,
+ coreutils (>= 4.5.3),
+ dpkg (>= 1.16.1),
+ lsb-base (>= 3.0-6),
+ nagios-plugins-basic,
+ ucf (>= 0.28),
+ ${misc:Depends},
+ ${perl:Depends}
+Recommends: nagios-plugins
+Description: host and network monitoring system - support files
+ Icinga is a modular monitoring framework for hosts, services, and
+ networks, based on the Nagios project. It is designed to be easy to
+ understand and modify to fit any need.
+ .
+ Features include:
+ * monitoring of network services via ping, SMTP, POP3, HTTP, NNTP, or
+ TCP port
+ * plugin interface to allow for user-developed service checks
+ * contact notifications when problems occur and get resolved (via
+ email, pager, or user-defined method)
+ * support for proactive problem resolution (handlers can be defined to
+ be run during service or host events)
+ * web output: current status, notifications, problem history, log
+ file, etc.
+ .
+ This package contains the common files for all Icinga packages.
+
+Package: icinga-cgi
+Architecture: any
+Depends: adduser,
+ apache2-utils,
+ coreutils (>= 4.5.3),
+ icinga-common (= ${source:Version}),
+ libjs-jquery (>= 1.4.2-2~),
+ libjs-jquery-ui,
+ ucf (>= 0.28),
+ ${misc:Depends},
+ ${perl:Depends},
+ ${shlibs:Depends}
+Recommends: apache2 | httpd, nagios-images (>> 0.1)
+Description: host and network monitoring system - CGI scripts
+ Icinga is a modular monitoring framework for hosts, services, and
+ networks, based on the Nagios project. It is designed to be easy to
+ understand and modify to fit any need.
+ .
+ Features include:
+ * monitoring of network services via ping, SMTP, POP3, HTTP, NNTP, or
+ TCP port
+ * plugin interface to allow for user-developed service checks
+ * contact notifications when problems occur and get resolved (via
+ email, pager, or user-defined method)
+ * support for proactive problem resolution (handlers can be defined to
+ be run during service or host events)
+ * web output: current status, notifications, problem history, log
+ file, etc.
+ .
+ This package provides CGI script files.
+
+Package: icinga-idoutils
+Architecture: any
+Depends: dbconfig-common,
+ icinga-common (= ${source:Version}),
+ libdbd-mysql | libdbd-pgsql,
+ lsb-base (>= 3.0-6),
+ ucf,
+ ${misc:Depends},
+ ${perl:Depends},
+ ${shlibs:Depends}
+Recommends: mysql-client | postgresql-client
+Description: host and network monitoring system - icinga-dataobjects support
+ Icinga is a modular monitoring framework for hosts, services, and
+ networks, based on the Nagios project. It is designed to be easy to
+ understand and modify to fit any need.
+ .
+ Features include:
+ * monitoring of network services via ping, SMTP, POP3, HTTP, NNTP, or
+ TCP port
+ * plugin interface to allow for user-developed service checks
+ * contact notifications when problems occur and get resolved (via
+ email, pager, or user-defined method)
+ * support for proactive problem resolution (handlers can be defined to
+ be run during service or host events)
+ * web output: current status, notifications, problem history, log
+ file, etc.
+ .
+ This package contains icinga-dataobjects support which makes it possible
+ to import Icinga status information messages into an SQL database.
+
+Package: icinga
+Architecture: any
+Depends: icinga-cgi (= ${binary:Version}),
+ icinga-core (= ${binary:Version}),
+ ${misc:Depends}
+Recommends: icinga-doc
+Suggests: nagios-nrpe-plugin
+Description: host and network monitoring system - metapackage
+ Icinga is a modular monitoring framework for hosts, services, and
+ networks, based on the Nagios project. It is designed to be easy to
+ understand and modify to fit any need.
+ .
+ Features include:
+ * monitoring of network services via ping, SMTP, POP3, HTTP, NNTP, or
+ TCP port;
+ * plugin interface to allow for user-developed service checks
+ * contact notifications when problems occur and get resolved (via
+ email, pager, or user-defined method)
+ * support for proactive problem resolution (handlers can be defined to
+ be run during service or host events)
+ * web output: current status, notifications, problem history, log
+ file, etc.
+ .
+ This is a metapackage which depends on the Icinga core and the web
+ front-end.
+
+Package: icinga-core
+Architecture: any
+Depends: icinga-common (= ${source:Version}),
+ ${misc:Depends},
+ ${perl:Depends},
+ ${shlibs:Depends}
+Suggests: nagios-nrpe-plugin
+Replaces: icinga
+Description: host and network monitoring system - core files
+ Icinga is a modular monitoring framework for hosts, services, and
+ networks, based on the Nagios project. It is designed to be easy to
+ understand and modify to fit any need.
+ .
+ Features include:
+ * monitoring of network services via ping, SMTP, POP3, HTTP, NNTP, or
+ TCP port
+ * plugin interface to allow for user-developed service checks;
+ * contact notifications when problems occur and get resolved (via
+ email, pager, or user-defined method)
+ * support for proactive problem resolution (handlers can be defined to
+ be run during service or host events)
+ * web output: current status, notifications, problem history, log
+ file, etc.
+ .
+ This package provides the core of Icinga without the web front-end.
+
+Package: icinga-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
+Description: host and network monitoring system - documentation
+ Icinga is a modular monitoring framework for hosts, services, and
+ networks, based on the Nagios project. It is designed to be easy to
+ understand and modify to fit any need.
+ .
+ Features include:
+ * monitoring of network services via ping, SMTP, POP3, HTTP, NNTP, or
+ TCP port
+ * plugin interface to allow for user-developed service checks;
+ * contact notifications when problems occur and get resolved (via
+ email, pager, or user-defined method)
+ * support for proactive problem resolution (handlers can be defined to
+ be run during service or host events)
+ * web output: current status, notifications, problem history, log
+ file, etc.
+ .
+ This package provides the documentation for Icinga.
+
+Package: icinga-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: icinga-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${perl:Depends},
+ ${shlibs:Depends}
+Description: host and network monitoring system - debug files
+ Icinga is a modular monitoring framework for hosts, services, and
+ networks, based on the Nagios project. It is designed to be easy to
+ understand and modify to fit any need.
+ .
+ Features include:
+ * monitoring of network services via ping, SMTP, POP3, HTTP, NNTP, or
+ TCP port
+ * plugin interface to allow for user-developed service checks;
+ * contact notifications when problems occur and get resolved (via
+ email, pager, or user-defined method)
+ * support for proactive problem resolution (handlers can be defined to
+ be run during service or host events)
+ * web output: current status, notifications, problem history, log
+ file, etc.
+ .
+ This package provides gdb debugging symbols for the Icinga binaries and
+ the mini_epn tool which can help in debugging Icinga problems.
--- icinga-1.9.3.orig/debian/icinga-idoutils.manpages
+++ icinga-1.9.3/debian/icinga-idoutils.manpages
@@ -0,0 +1 @@
+debian/ido2db.8
--- icinga-1.9.3.orig/debian/icinga-idoutils.postrm
+++ icinga-1.9.3/debian/icinga-idoutils.postrm
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
+if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
+ . /usr/share/dbconfig-common/dpkg/postrm
+ dbc_go icinga-idoutils $@
+fi
+
+if [ "$1" = "purge" ]; then
+ rm -f /etc/icinga/ido2db.cfg
+ if which ucf >/dev/null; then
+ ucf --purge /etc/icinga/ido2db.cfg
+ fi
+ db_purge
+fi
+
+if [ "$1" = "purge" ] ; then
+ update-rc.d ido2db remove >/dev/null
+fi
+
+#DEBHELPER#
+
--- icinga-1.9.3.orig/debian/icinga.links
+++ icinga-1.9.3/debian/icinga.links
@@ -0,0 +1 @@
+usr/share/doc/icinga-common usr/share/doc/icinga
--- icinga-1.9.3.orig/debian/icinga-core.postinst
+++ icinga-1.9.3/debian/icinga-core.postinst
@@ -0,0 +1,55 @@
+#!/bin/sh -e
+
+# summary of how this script can be called:
+# * `configure'
+# * `abort-upgrade'
+# * `abort-remove' `in-favour'
+#
+# * `abort-deconfigure' `in-favour'
+# `removing'
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+ configure)
+ if dpkg --compare-versions "$2" lt-nl '1.7.0-1'; then
+ if [ -e "/var/lib/icinga/retention.dat" ] && [ ! -e "/var/cache/icinga/retention.dat" ]
+ then
+ echo "Move old retention.dat to new location (/var/cache/icinga/)"
+ mv /var/lib/icinga/retention.dat /var/cache/icinga/retention.dat
+ fi
+ fi
+
+ #if we stop icinga in icinga.prerm we should also start it here..
+ if [ -x "/etc/init.d/icinga" ]; then
+ if ! /etc/init.d/icinga status >/dev/null; then
+
+ if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+ invoke-rc.d icinga start || true
+ else
+ /etc/init.d/icinga start || true
+ fi
+ fi
+ fi
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/icinga-common.postinst
+++ icinga-1.9.3/debian/icinga-common.postinst
@@ -0,0 +1,128 @@
+#!/bin/bash
+
+set -e
+
+# some shorthands for sanity
+en="/etc/icinga"
+enc="/etc/icinga/objects"
+usn="/usr/share/icinga"
+
+. /usr/share/debconf/confmodule
+
+conffile="/etc/icinga/icinga.cfg"
+
+if [ -n "$ICINGADEBUG" ]; then
+ echo "now debugging $0 $@"
+ set -x
+fi
+
+setperm() {
+ local user="$1"
+ local group="$2"
+ local mode="$3"
+ local file="$4"
+ shift 4
+ # only do something when no setting exists
+ if ! dpkg-statoverride --list "$file" >/dev/null 2>&1; then
+ chown "$user":"$group" "$file"
+ chmod "$mode" "$file"
+ fi
+}
+
+case "$1" in
+ configure)
+ if ! getent passwd nagios > /dev/null ; then
+ echo 'Adding system-user for nagios' 1>&2
+ adduser --system --group --home /var/lib/nagios \
+ --disabled-login --force-badname nagios > /dev/null
+ fi
+
+ # explicitly set permissions on some files that are dependent
+ # on the uid/gid of the nagios user, which is dynamically created.
+ setperm root nagios 0640 $en/resource.cfg
+ setperm nagios adm 2751 /var/log/icinga
+ setperm nagios adm 2755 /var/log/icinga/archives
+ setperm nagios nagios 0750 /var/lib/icinga/spool
+ setperm nagios nagios 0755 /var/lib/icinga
+ setperm nagios nagios 0750 /var/lib/icinga/spool/checkresults
+ setperm nagios www-data 02750 /var/cache/icinga
+ setperm nagios www-data 0700 /var/lib/icinga/rw
+
+ db_get icinga/check_external_commands
+ check_external_commands="$RET" # boolean
+
+ db_stop
+
+ # translate debconf boolean into icinga option
+ # (this is better than using a select in debconf with Choices-C,
+ # otherwise all translators would need to translate 'yes' and 'no').
+
+ case $check_external_commands in
+ true)
+ check_external_commands=1
+ ;;
+
+ false)
+ check_external_commands=0
+ ;;
+ esac
+
+ # If the admin deleted or commented some variables but then set
+ # them via debconf, (re-)add them to the config file.
+
+ test -z "$check_external_commands" || \
+ grep -Eq '^ *check_external_commands=' "$conffile" || \
+ echo "check_external_commands=" >> "$conffile"
+
+ sed --follow-symlinks -i -e "s|^ *check_external_commands=.|check_external_commands=$check_external_commands|" \
+ "$conffile"
+ # Stop a not already stopped icinga instance,
+ # debhelper will start it again automatically at the bottom
+ status="$(/etc/init.d/icinga status >/dev/null 2>&1; echo $?)"
+
+ if [ "$status" -ne 3 ]; then
+ if [ -x "$(which invoke-rc.d 2>/dev/null)" ]; then
+ invoke-rc.d icinga stop || true
+ else
+ /etc/init.d/icinga stop || true
+ fi
+ fi
+
+ case $check_external_commands in
+ 1)
+ if ! dpkg-statoverride --list /var/lib/icinga/rw >/dev/null 2>&1; then
+ dpkg-statoverride --quiet --update --add nagios www-data 2710 /var/lib/icinga/rw
+ fi
+
+ if ! dpkg-statoverride --list /var/lib/icinga >/dev/null 2>&1; then
+ dpkg-statoverride --quiet --update --add nagios nagios 751 /var/lib/icinga
+ fi
+ ;;
+
+ 0)
+ if dpkg-statoverride --list /var/lib/icinga/rw >/dev/null 2>&1; then
+ dpkg-statoverride --quiet --remove /var/lib/icinga/rw
+ fi
+
+ if dpkg-statoverride --list /var/lib/icinga >/dev/null 2>&1; then
+ dpkg-statoverride --quiet --remove /var/lib/icinga
+ fi
+ ;;
+ esac
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \$1'" >&2
+ exit 1
+ ;;
+esac
+
+init_failed ()
+{
+ echo "Icinga was unable to start due to configuration errors.";
+ echo "Please fix them and manually restart the icinga daemon using";
+ echo " ´service start icinga´";
+}
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/mini_epn_icinga.8
+++ icinga-1.9.3/debian/mini_epn_icinga.8
@@ -0,0 +1,44 @@
+'\" t
+.\" Title: mini_epn
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.2
+.\" Date: 09/19/2009
+.\" Manual: mini_epn
+.\" Source: Nagios/Icinga
+.\" Language: English
+.\"
+.TH "MINI_EPN" "8" "09/19/2009" "Nagios/Icinga" "mini_epn"
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+mini_epn \- too to nagios/icingaplugins inside of an embedded perl interpreter
+.SH "SYNOPSIS"
+.sp
+\fBmini_epn\fR
+.SH "DESCRIPTION"
+.sp
+After calling \fBmini_epn\fR an embedded perl interpreter gets started and asks for you a script to execute under the interpreter\&. To exit the interpreter loop press ^d at the prompt\&.
+.SH "EXAMPLES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+# mini_epn
+Enter file name: /usr/lib/nagios/plugins/check_linux_raid
+embedded perl plugin return code and output was: 0 & \'OK md0 status=[UU]\&. md1 status=[UU]\&.
+.fi
+.if n \{\
+.RE
+.\}
+.SH "AUTHOR"
+.sp
+This manpage was written by Alexander Wirt for the Debian Distribution\&.
--- icinga-1.9.3.orig/debian/icinga-cgi.install
+++ icinga-1.9.3/debian/icinga-cgi.install
@@ -0,0 +1,10 @@
+debian-configs/cgi.cfg /etc/icinga
+usr/lib/cgi-bin/*
+usr/share/icinga/htdocs/*.html
+usr/share/icinga/htdocs/jquery-ui-addon
+usr/share/icinga/htdocs/images
+usr/share/icinga/htdocs/js/*
+usr/share/icinga/htdocs/media
+usr/share/icinga/htdocs/robots.txt
+usr/share/icinga/htdocs/stylesheets/* /etc/icinga/stylesheets/
+debian/apache2.conf /usr/share/icinga
--- icinga-1.9.3.orig/debian/ido2db.8.txt
+++ icinga-1.9.3/debian/ido2db.8.txt
@@ -0,0 +1,32 @@
+:man source: Nagios/Icinga
+:man version: {revnumber}
+:man manual: ido2db
+
+ido2db(8)
+==========
+
+NAME
+----
+ido2db - store icinga events and configs in database
+
+SYNOPSIS
+--------
+*ido2db* -c [-i] [-f]
+
+DESCRIPTION
+-----------
+Stores Icinga event and configuration data to a database for later retrieval
+and processing. Clients that are capable of sending data to the IDO2DB daemon
+include the LOG2NDO utility and IDOMOD event broker module.
+
+OPTIONS
+-------
+*-i*::
+ Run under INETD/XINETD.
+
+*-f*::
+ Don't daemonize, run in foreground.
+
+AUTHOR
+------
+This manpage was written by Alexander Wirt for the Debian Distribution.
--- icinga-1.9.3.orig/debian/icinga-idoutils.postinst
+++ icinga-1.9.3/debian/icinga-idoutils.postinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/postinst
+#dbc_debug='1'
+dbc_generate_include='template:/etc/icinga/ido2db.cfg'
+dbc_generate_include_owner='nagios:nagios'
+dbc_generate_include_args='--ucf -o template_infile=/usr/share/icinga/tmpl/ido2db.cfg-sample'
+dbc_go icinga-idoutils $@
+
+if [ -x "/etc/init.d/ido2db" ]; then
+ update-rc.d ido2db defaults 35 20 >/dev/null
+ invoke-rc.d ido2db start 3>&- || exit $?
+fi
+
+#DEBHELPER#
+
--- icinga-1.9.3.orig/debian/watch
+++ icinga-1.9.3/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/icinga/icinga-([0-9-.]+)\.tar\.gz
--- icinga-1.9.3.orig/debian/rules
+++ icinga-1.9.3/debian/rules
@@ -0,0 +1,226 @@
+#!/usr/bin/make -f
+# debian/rules makefile for icinga
+
+# export DH_VERBOSE=1
+
+b := $(shell pwd)/debian
+
+export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += `dpkg-buildflags --get CPPFLAGS`
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+
+SHELL = /bin/sh -e
+CONFIGURE = CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --bindir=/usr/sbin \
+ --sbindir=/usr/lib/cgi-bin/icinga \
+ --datarootdir=/usr/share/icinga/htdocs \
+ --sysconfdir=/etc/icinga \
+ --infodir=/usr/share/info \
+ --libexecdir=/usr/lib/nagios/plugins \
+ --localstatedir=/var/lib/icinga \
+ --with-state-dir=/var/cache/icinga \
+ --enable-event-broker \
+ --with-ido-sockfile=/var/lib/icinga/ido.sock \
+ --enable-embedded-perl \
+ --with-icinga-user=nagios \
+ --with-icinga-group=nagios \
+ --with-command-user=nagios \
+ --with-command-group=nagios \
+ --with-init-dir=/etc/init.d \
+ --with-lockfile=/var/run/icinga/icinga.pid \
+ --with-mail=/usr/bin/mail \
+ --with-perlcache \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --with-htmurl=/icinga \
+ --with-cgiurl=/cgi-bin/icinga \
+ --with-p1-file-dir=/usr/lib/icinga \
+ --enable-idoutils \
+ --with-ido2db-lockfile=/var/run/icinga/ido2db.pid \
+ --with-log-dir=/var/log/icinga \
+ --libdir=/usr/lib/icinga \
+ --with-temp-file=/var/cache/icinga/icinga.tmp \
+ --with-mainurl=/cgi-bin/icinga/tac.cgi
+
+clean: clean-patched unpatch
+clean-patched:
+ dh_testdir -a
+ dh_testroot -a
+ if test -f Makefile; then make distclean; fi
+ rm -f patch-stamp install-stamp configure-stamp build-stamp fix-configs-stamp
+ rm -rf debian-configs
+ -rm contrib/perlxsi.c
+ find -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \;
+ -rm -f platform.h auto-include.h
+ -rm solaris/pkginfo
+ -rm contrib/eventhandlers/submit_check_result contrib/eventhandlers/disable_active_service_checks
+ -rm contrib/eventhandlers/disable_notifications contrib/eventhandlers/enable_active_service_checks
+ -rm contrib/eventhandlers/enable_notifications
+ -rm config.log
+ find -type d -name build -print0 | xargs -0 -r rm -rf \;
+ find \( -name config.sub -o -name config.guess \) -print0 | xargs -0 -r rm -f \;
+ dh_clean
+ debconf-updatepo
+
+fix-configs: fix-configs-stamp
+fix-configs-stamp: configure-stamp
+ mkdir -p debian-configs
+ sed -e '/Sample CGI/ s/\([0-9]\.[0-9]\.[0-9]\)//' \
+ -e '/Last Modified/,+1 d' \
+ sample-config/cgi.cfg > debian-configs/cgi.cfg
+ sed -i -e 's/local-service/generic-service/' \
+ module/idoutils/config/ido2db_check_proc.cfg
+ sed -i -e 's#/usr/sbin/#/usr/lib/icinga/#' \
+ module/idoutils/config/idoutils.cfg-sample
+ sed -e '/Sample Main Config/ s/\([0-9]\.[0-9]\.[0-9]\)//' \
+ -e '/Last Modified/ d' \
+ sample-config/icinga.cfg > debian-configs/icinga.cfg
+ sed -e '/SAMPLE COMMAND DEFINITIONS/ s/\([0-9]\.[0-9]\.[0-9]\)//' \
+ -e '/Last Modified/,+1 d' \
+ -e '/^#$$/ d' sample-config/template-object/commands.cfg > debian-configs/commands.cfg
+ sed -i \
+ -e "s/^\(db_host=\).*/\1_DBC_DBSERVER_/" \
+ -e "s/^\(db_servertype=\).*/\1_DBC_DBTYPE_/" \
+ -e "s/^\(db_port=\).*/\1_DBC_DBPORT_/" \
+ -e "s/^\(db_name=\).*/\1_DBC_DBNAME_/" \
+ -e "s/^\(db_user=\).*/\1_DBC_DBUSER_/" \
+ -e "s/^\(db_pass=\).*/\1_DBC_DBPASS_/" module/idoutils/config/ido2db.cfg-sample
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir -a
+ @echo "Doing $@"
+ if test -f Makefile; then make clean; fi
+ ln -sf /usr/share/misc/config.sub .
+ ln -sf /usr/share/misc/config.guess .
+ rm -f config.cache
+ $(CONFIGURE)
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: patch-stamp configure-stamp
+ dh_testdir -a
+ @echo "Doing $@"
+ $(MAKE) all
+ make -C contrib
+ touch build-stamp
+
+patch: patch-stamp
+patch-stamp:
+ @echo "Doing $@"
+ dpatch --with-cpp apply-all
+ dpatch --with-cpp cat-all >patch-stamp
+
+unpatch:
+ @echo "Doing $@"
+ dpatch --with-cpp deapply-all
+ rm -rf patch-stamp debian/patched
+
+install: install-stamp
+install-stamp: build-stamp fix-configs-stamp
+ @echo "Doing $@"
+ dh_testdir -a
+ dh_testroot -a
+ dh_installdirs -a -i
+ make install-unstripped DESTDIR=$b/tmp INSTALL_OPTS="" COMMAND_OPTS=""
+ make install-idoutils DESTDIR=$b/icinga-idoutils INSTALL_OPTS="" COMMAND_OPTS=""
+ rm $b/icinga-idoutils/etc/icinga/ido2db.cfg-sample
+ #We have to rename the sample files
+ #mv $b/icinga-idoutils/etc/icinga/ido2db.cfg-sample $b/icinga-idoutils/etc/icinga/ido2db.cfg
+ mv $b/icinga-idoutils/etc/icinga/idomod.cfg-sample $b/icinga-idoutils/etc/icinga/idomod.cfg
+ mkdir -p $b/icinga-idoutils/usr/share/doc/icinga-idoutils/examples
+ mv $b/icinga-idoutils/etc/icinga/modules/idoutils.cfg-sample $b/icinga-idoutils/usr/share/doc/icinga-idoutils/examples
+ cp module/idoutils/db/mysql/mysql.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/install/mysql
+ cp module/idoutils/db/pgsql/pgsql.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/install/pgsql
+ mkdir -p $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/
+ mkdir -p $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.0.2-fix-object-relations.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.0.2-2
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.0.2.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.0.2-1
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.0.2-fix-object-relations.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.0.2-2
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.0.3.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.0.3-1
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.3.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.2.99-1
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.4.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.4.0
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.5.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.5.0-1
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.6.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.6.0-1
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.7.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.7.0-1
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.8.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.8.0-1
+ cp module/idoutils/db/mysql/upgrade/mysql-upgrade-1.9.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/mysql/1.9.0-1
+ cp module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.0.1.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/1.0.1-1
+ cp module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.0.3.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/1.0.3-1
+ cp module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/1.2.99-1
+ cp module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.4.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/1.5.0-1
+ cp module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.6.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/1.6.0-1
+ cp module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.7.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/1.7.0-1
+ cp module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.8.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/1.8.0-1
+ cp module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.9.0.sql $b/icinga-idoutils/usr/share/dbconfig-common/data/icinga-idoutils/upgrade/pgsql/1.9.0-1
+ # set up /var/cache/icinga for access by www-data
+ chgrp www-data ${b}/icinga-common/var/cache/icinga
+ chmod g+s ${b}/icinga-common/var/cache/icinga
+ chown root:www-data ${b}/icinga-common/var/lib/icinga/rw
+ chmod 700 ${b}/icinga-common/var/lib/icinga/rw
+ dh_install -i
+ rm ${b}/tmp/usr/share/icinga/htdocs/js/jquery-1.8.0.min.js
+ rm -R ${b}/tmp/usr/share/icinga/htdocs/jquery-ui
+ rm ${b}/icinga-common/usr/share/icinga/plugins/eventhandlers/*.in
+ chmod +x ${b}/icinga-common/usr/share/icinga/plugins/eventhandlers/* ${b}/icinga-common/usr/share/icinga/plugins/eventhandlers/distributed-monitoring/* ${b}/icinga-common/usr/share/icinga/plugins/eventhandlers/redundancy-scenario1/*
+ # we use the versions in debian
+ dh_link -i
+ dh_lintian
+ dh_installdocs -i
+ dh_installman -a -picinga
+ dh_installexamples
+ dh_installlogrotate
+ dh_installchangelogs -i
+ dh_installinit --name icinga --error-handler=init_failed
+ dh_installinit -n -picinga-idoutils --name ido2db
+ chmod 755 ${b}/icinga-common/var/lib/icinga
+ # the real version is in -cgi
+ rm ${b}/icinga-common/etc/icinga/cgi.cfg
+
+
+binary: binary-arch binary-indep
+binary-arch: install-stamp
+ @echo "Doing $@"
+ dh_testdir -a
+ dh_testroot -a
+ dh_installchangelogs -a
+ dh_installdocs -a
+ dh_installdebconf -a
+ dh_install -a
+ rm -rf ${b}/icinga/usr/share/doc/
+ rm -rf ${b}/icinga-core/usr/share/doc/
+ dh_link -a
+ mkdir -p ${b}/icinga-dbg/usr/bin/
+ mv contrib/mini_epn ${b}/icinga-dbg/usr/bin/mini_epn_icinga
+ chmod 600 ${b}/icinga-common/etc/icinga/resource.cfg
+ # fix permissions of p1
+ chmod 755 ${b}/icinga-core/usr/lib/icinga/p1.pl
+ chmod +x ${b}/icinga-common/usr/share/icinga/plugins/eventhandlers/submit_check_result
+ chmod -x ${b}/icinga-idoutils/usr/share/doc/icinga-idoutils/examples/README
+ dh_strip -a --dbg-package=icinga-dbg
+ dh_compress -a -X.sql
+ dh_fixperms -a -X/var/cache/icinga
+ dh_makeshlibs -a -V
+ dh_installdeb -a
+ dh_perl -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary-indep: install-stamp
+ dh_link -i
+ dh_compress -i
+ dh_fixperms -i -Xicinga/resource.cfg
+ dh_installdebconf -i
+ dh_perl -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+.PHONY: binary-indep binary-arch build configure binary install patch unpatch
--- icinga-1.9.3.orig/debian/icinga-common.lintian-overrides
+++ icinga-1.9.3/debian/icinga-common.lintian-overrides
@@ -0,0 +1,2 @@
+non-standard-file-perm etc/icinga/resource.cfg 0600 != 0644
+dir-or-file-in-var-run var/run/icinga/
--- icinga-1.9.3.orig/debian/icinga-common.icinga.init
+++ icinga-1.9.3/debian/icinga-common.icinga.init
@@ -0,0 +1,260 @@
+#! /bin/sh
+# Written by Miquel van Smoorenburg .
+# Modified for Debian GNU/Linux
+# by Ian Murdock .
+# Clamav version by Magnus Ekdahl
+# Nagios version by Sean Finney and probably others
+# nagios2 version by Marc Haber
+# icinga version by Alexander Wirt
+
+### BEGIN INIT INFO
+# Provides: icinga
+# Required-Start: $local_fs $remote_fs $syslog $named $network $time
+# Required-Stop: $local_fs $remote_fs $syslog $named $network
+# Should-Start:
+# Should-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: icinga host/service/network monitoring and management system
+# Description: icinga is a monitoring and management system for hosts, services and networks.
+### END INIT INFO
+
+set -e
+
+. /lib/lsb/init-functions
+
+DAEMON=/usr/sbin/icinga
+NAME="icinga"
+DESC="icinga monitoring daemon"
+ICINGACFG="/etc/icinga/icinga.cfg"
+CGICFG="/etc/icinga/cgi.cfg"
+NICENESS=5
+
+[ -x "$DAEMON" ] || exit 0
+[ -r /etc/default/icinga ] && . /etc/default/icinga
+
+# this is from madduck on IRC, 2006-07-06
+# There should be a better possibility to give daemon error messages
+# and/or to log things
+log()
+{
+ case "$1" in
+ [[:digit:]]*) success=$1; shift;;
+ *) :;;
+ esac
+ log_action_begin_msg "$1"; shift
+ log_action_end_msg ${success:-0} "$*"
+}
+
+check_run () {
+ if [ ! -d '/var/run/icinga' ];
+ then
+ mkdir /var/run/icinga
+ chown nagios:nagios /var/run/icinga
+ chmod 0750 /var/run/icinga
+ fi
+}
+
+check_started () {
+ if [ -e "$CGICFG" ]
+ then
+ check_cmd=$(get_config icinga_check_command $CGICFG)
+ if [ ! "$check_cmd" ]; then
+ log 6 "unable to determine icinga_check_command from $CGICFG!"
+ return 6
+ fi
+ else
+ check_cmd="/usr/lib/nagios/plugins/check_nagios /var/lib/icinga/status.dat 5 '/usr/sbin/icinga'"
+ fi
+
+ eval $check_cmd >/dev/null
+
+ if [ -f "$THEPIDFILE" ]; then
+ pid="$(cat $THEPIDFILE)"
+ if [ "$pid" ] && kill -0 $pid >/dev/null 2>/dev/null; then
+ return 0 # Is started
+ fi
+ fi
+ return 1 # Isn't started
+}
+
+#
+# get_config()
+#
+# grab a config option from icinga.cfg (or possibly another icinga config
+# file if specified). everything after the '=' is echo'd out, making
+# this a nice generalized way to get requested settings.
+#
+get_config () {
+ CFG=$ICINGACFG
+ test "$2" && CFG="$2"
+ if [ "$2" ]; then
+ set -- `grep ^$1 $2 | sed 's@=@ @'`
+ else
+ set -- `grep ^$1 $ICINGACFG | sed 's@=@ @'`
+ fi
+ if [ -n "$1" ]
+ then
+ shift
+ echo $*
+ fi
+}
+
+check_config () {
+ if $DAEMON -v $ICINGACFG >/dev/null 2>&1 ; then
+ # First get the user/group etc Icinga is running as
+ nagios_user="$(get_config icinga_user)"
+ nagios_group="$(get_config icinga_group)"
+ log_file="$(get_config log_file)"
+ log_dir="$(dirname $log_file)"
+
+ return 0 # Config is ok
+ else
+ # config is not okay, so let's barf the error to the user
+ $DAEMON -v $ICINGACFG
+ fi
+}
+
+check_named_pipe () {
+ icingapipe="$(get_config command_file)"
+ if [ -p "$icingapipe" ]; then
+ return 1 # a named pipe exists
+ elif [ -e "$icingapipe" ];then
+ return 1
+ else
+ return 0 # no named pipe exists
+ fi
+}
+
+if [ ! -f "$ICINGACFG" ]; then
+ log_failure_msg "There is no configuration file for Icinga."
+ exit 6
+fi
+
+THEPIDFILE=$(get_config "lock_file")
+[ -n "$THEPIDFILE" ] || THEPIDFILE='/var/run/icinga/icinga.pid'
+
+start () {
+ DIRECTORY=$(dirname $THEPIDFILE)
+ [ ! -d $DIRECTORY ] && mkdir -p $DIRECTORY
+ chown nagios:nagios $DIRECTORY
+
+ if ! check_started; then
+ if ! check_named_pipe; then
+ log_action_msg "named pipe exists - removing"
+ rm -f $icingapipe
+ fi
+ if check_config; then
+ start_daemon -n $NICENESS -p $THEPIDFILE $DAEMON -d $ICINGACFG
+ ret=$?
+ else
+ log_failure_msg "errors in config!"
+ log_end_msg 1
+ exit 1
+ fi
+ else
+ log_warning_msg "already running!"
+ fi
+ return $ret
+}
+
+stop () {
+ killproc -p $THEPIDFILE
+ ret=$?
+ if [ `pidof icinga | wc -l ` -gt 0 ]; then
+ echo -n "Waiting for $NAME daemon to die.."
+ cnt=0
+ while [ `pidof icinga | wc -l ` -gt 0 ]; do
+ cnt=`expr "$cnt" + 1`
+ if [ "$cnt" -gt 15 ]; then
+ kill -9 `pidof icinga`
+ break
+ fi
+ sleep 1
+ done
+ fi
+ if ! check_named_pipe; then
+ rm -f $icingapipe
+ fi
+ test -e $THEPIDFILE && rm $THEPIDFILE
+ if [ -n "$ret" ]; then
+ return $ret
+ else
+ return $?
+ fi
+}
+
+status()
+{
+ log_action_begin_msg "checking $DAEMON"
+ if check_started; then
+ log_action_end_msg 0 "running"
+ else
+ if [ -e "$THEPIDFILE" ]; then
+ log_action_end_msg 1 "$DAEMON failed"
+ exit 1
+ else
+ log_action_end_msg 1 "not running"
+ exit 3
+ fi
+ fi
+}
+
+check () {
+ $DAEMON -v $ICINGACFG
+}
+
+reload () {
+ # Check first
+ if check_config; then
+ if check_started; then
+ killproc -p $THEPIDFILE $DAEMON 1
+ else
+ log_warning_msg "Not running."
+ fi
+ else
+ log_failure_msg "errors in config!"
+ log_end_msg 6
+ exit 6
+ fi
+}
+
+check_run
+
+case "$1" in
+ start)
+ log_daemon_msg "Starting $DESC" "$NAME"
+ start
+ log_end_msg $?
+ ;;
+ stop)
+ log_daemon_msg "Stopping $DESC" "$NAME"
+ stop
+ log_end_msg $?
+ ;;
+ restart)
+ log_daemon_msg "Restarting $DESC" "$NAME"
+ stop
+ if [ -z "$?" -o "$?" = "0" ]; then
+ start
+ fi
+ log_end_msg $?
+ ;;
+ reload|force-reload)
+ log_daemon_msg "Reloading $DESC configuration files" "$NAME"
+ reload
+ log_end_msg $?
+ ;;
+ status)
+ status
+ ;;
+ check)
+ check
+ ;;
+ *)
+ log_failure_msg "Usage: $0 {start|stop|restart|reload|force-reload|status}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
--- icinga-1.9.3.orig/debian/icinga-common.links
+++ icinga-1.9.3/debian/icinga-common.links
@@ -0,0 +1 @@
+usr/share/icinga/htdocs/docs usr/share/doc/icinga-common/html
--- icinga-1.9.3.orig/debian/icinga-idoutils.examples
+++ icinga-1.9.3/debian/icinga-idoutils.examples
@@ -0,0 +1 @@
+module/idoutils/db/*
--- icinga-1.9.3.orig/debian/icinga-doc.links
+++ icinga-1.9.3/debian/icinga-doc.links
@@ -0,0 +1 @@
+usr/share/icinga/htdocs/docs usr/share/doc/icinga-doc/html
--- icinga-1.9.3.orig/debian/icinga.8
+++ icinga-1.9.3/debian/icinga.8
@@ -0,0 +1,47 @@
+.TH icinga "8" "March 2010" "sean finney" "nagios"
+.SH NAME
+icinga \- network/systems status monitoring daemon
+
+.SH SYNOPSIS
+.B icinga [\-h] [\-v] [\-s] [\-d]
+.br
+
+.SH DESCRIPTION
+.B icinga
+is a daemon program that monitors the status of various network
+accessible systems, devices, and more. For more information, please
+consult the online documentation available at http://www.icinga.org,
+or on your Icinga server's web page.
+
+.SH OPTIONS
+.TP
+main_config_file
+The main configuration file. On debian systems this defaults to
+/etc/icinga/icinga.cfg
+.TP
+\fB\-h\fR
+A helpful usage message
+.TP
+\fB\-v\fR
+Reads all data in the configuration files and performs a basic
+verification/sanity check. Always make sure you verify your
+config data before (re)starting Icinga.
+.TP
+\fB\-s\fR
+Shows projected/recommended check scheduling information based
+on the current data in the configuration files.
+.TP
+\fB\-d\fR
+Starts Icinga in daemon mode (instead of as a foreground process).
+
+.SH FILES
+.TP
+.IP /etc/icinga
+Default configuration directory for Icinga
+
+.SH AUTHOR
+Icinga was started as Nagios by Ethan Galstad .
+Icinga is maintained by the Icinga Project .
+This manual page was written by sean finney for the Debian
+GNU/Linux operating system (but it may be freely used, modified, and
+redistributed by others).
--- icinga-1.9.3.orig/debian/icinga-doc.doc-base
+++ icinga-1.9.3/debian/icinga-doc.doc-base
@@ -0,0 +1,9 @@
+Document: icinga
+Title: Icinga Documentation
+Author: Ethan Galstad
+Abstract: Icinga user and administrator's documentation
+Section: Network/Monitoring
+
+Format: HTML
+Index: /usr/share/icinga/htdocs/docs/index.html
+Files: /usr/share/icinga/htdocs/docs/*.html
--- icinga-1.9.3.orig/debian/icinga-core.links
+++ icinga-1.9.3/debian/icinga-core.links
@@ -0,0 +1 @@
+usr/share/doc/icinga-common usr/share/doc/icinga-core
--- icinga-1.9.3.orig/debian/icinga-core.install
+++ icinga-1.9.3/debian/icinga-core.install
@@ -0,0 +1,3 @@
+usr/lib/icinga/p1.pl
+usr/sbin/icinga
+usr/sbin/icingastats
--- icinga-1.9.3.orig/debian/mini_epn_icinga.8.txt
+++ icinga-1.9.3/debian/mini_epn_icinga.8.txt
@@ -0,0 +1,31 @@
+:man source: Nagios/Icinga
+:man version: {revnumber}
+:man manual: mini_epn
+
+mini_epn(8)
+==========
+
+NAME
+----
+mini_epn - too to nagios/icingaplugins inside of an embedded perl interpreter
+
+SYNOPSIS
+--------
+*mini_epn*
+
+DESCRIPTION
+-----------
+After calling *mini_epn* an embedded perl interpreter gets started and asks for you a script to execute under the interpreter. To exit the interpreter loop press ^d at the prompt.
+
+EXAMPLES
+--------
+
+ # mini_epn
+ Enter file name: /usr/lib/nagios/plugins/check_linux_raid
+ embedded perl plugin return code and output was: 0 & 'OK md0 status=[UU]. md1 status=[UU].
+
+AUTHOR
+------
+This manpage was written by Alexander Wirt for the Debian Distribution.
+
+
--- icinga-1.9.3.orig/debian/icinga-common.docs
+++ icinga-1.9.3/debian/icinga-common.docs
@@ -0,0 +1,2 @@
+README
+UPGRADING
--- icinga-1.9.3.orig/debian/icinga-cgi.postrm
+++ icinga-1.9.3/debian/icinga-cgi.postrm
@@ -0,0 +1,36 @@
+#!/bin/sh -e
+
+# some shorthands for sanity
+en="/etc/icinga"
+enc="/etc/icinga/objects"
+usn="/usr/share/icinga"
+. /usr/share/debconf/confmodule
+
+
+# Apache2
+if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+ echo "disabling Apache2 configuration ..."
+ . /usr/share/apache2/apache2-maintscript-helper
+ apache2_invoke disconf icinga ||true
+fi
+if [ -L /etc/apache2/conf.d/icinga.conf ]; then
+ echo "removing link /etc/apache2/conf.d/icinga.conf ..."
+ # remove link to config
+ rm -f /etc/apache2/conf.d/icinga
+ # reload webserver
+ [ -x $(which invoke-rc.d) ] && invoke-rc.d apache2 reload || true
+fi
+
+case "$1" in
+ remove)
+ ;;
+ purge)
+ rm -f /etc/icinga/htpasswd.users
+ rm -f /etc/icinga/apache2.conf
+ if which ucf >/dev/null 2>&1; then
+ ucf --purge /etc/icinga/apache2.conf || true
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/icinga-dbg.manpages
+++ icinga-1.9.3/debian/icinga-dbg.manpages
@@ -0,0 +1 @@
+debian/mini_epn_icinga.8
--- icinga-1.9.3.orig/debian/icinga-common.dirs
+++ icinga-1.9.3/debian/icinga-common.dirs
@@ -0,0 +1,11 @@
+etc/init.d
+etc/icinga
+etc/icinga/objects
+etc/icinga/modules
+usr/share/icinga/plugins/eventhandlers
+var/lib/icinga/rw
+var/lib/icinga/spool
+var/lib/icinga/spool/checkresults
+var/log/icinga/archives
+var/cache/icinga
+usr/share/icinga/debian
--- icinga-1.9.3.orig/debian/icinga-common.config
+++ icinga-1.9.3/debian/icinga-common.config
@@ -0,0 +1,30 @@
+#!/bin/sh -e
+
+
+. /usr/share/debconf/confmodule
+
+conffile="/etc/icinga/icinga.cfg"
+
+if [ -e "$conffile" ]; then
+ check_external_commands="$(grep -E '^ *check_external_commands=' $conffile | sed -e 's|.*check_external_commands=||')"
+
+ # translate icinga option into debconf boolean
+ # (this is better than using a select in debconf with Choices-C,
+ # otherwise all translators would need to translate 'yes' and 'no').
+
+ case $check_external_commands in
+ 0)
+ check_external_commands=false
+ ;;
+
+ 1)
+ check_external_commands=true
+ ;;
+ esac
+
+ db_set icinga/check_external_commands $check_external_commands
+ db_input high icinga/check_external_commands || true
+ db_go || true
+fi
+
+
--- icinga-1.9.3.orig/debian/changelog
+++ icinga-1.9.3/debian/changelog
@@ -0,0 +1,415 @@
+icinga (1.9.3-1) unstable; urgency=low
+
+ * [db397b3] Remove obsolete debconf po templates
+ * [de82eae] Don't give the htpasswd password on the commandline
+ * [d031d94] Fix path to idoutils example config (Closes: #714240)
+ * [940f7de] Move apache config to /usr/share
+ * [7b2ec2a] Imported Upstream version 1.9.2
+ - Don't crash with fuzzy input (Closes: #716027)
+ * [e188314] Imported Upstream version 1.9.3
+
+ -- Alexander Wirt Fri, 19 Jul 2013 21:31:19 +0200
+
+icinga (1.9.1-2) unstable; urgency=low
+
+ * [9c53a84] Fix dependency on libgd3 (Closes: #710839)
+
+ -- Alexander Wirt Mon, 03 Jun 2013 08:08:21 +0200
+
+icinga (1.9.1-1) unstable; urgency=low
+
+ * [fe88365] Fix dependency on on icinga-doc
+ * [e07a105] Imported Upstream version 1.9.1
+ * [ce07681] Depend on new libgd3
+
+ -- Alexander Wirt Thu, 23 May 2013 06:50:50 +0200
+
+icinga (1.9.0-1) unstable; urgency=low
+
+ * [006e77b] Allow www-data to read those archived logs
+ * [c732717] Don't destroy symlinked icinga configs with sed (Closes: #698137)
+ * [4a63fdf] install jquery-ui
+ * [d905069] Use bundled jquery-ui version
+ * [8110db1] Imported Upstream version 1.9.0
+ - Event profiling is now deprecated (Closes: #614356)
+ * [91e3d0b] Install 1.9.0 sql files
+ * [7d35822] Move stylesheets to cgi (Closes: #682334)
+ * [914bc33] Use debians jquery-ui and fix timepicker locations
+ * [51e1d00] Improve errorhandling in initscript (Closes: #698139)
+ * [0ed174a] Add indonesian debconf translation.
+ Thanks to Mahyuddin Susanto (Closes: #695651)
+ * [bbaa9f6] Recommend icinga-docs in the icinga metapackage (Closes: #682359)
+
+ -- Alexander Wirt Tue, 07 May 2013 16:18:34 +0200
+
+icinga (1.8.4-1) experimental; urgency=high
+
+ * [a466a1e] Replace /etc/init.d with service
+ * [eb7a611] Imported Upstream version 1.8.4
+ - This release fixes CVE-2012-6096 - buffer overflows
+ in cgis. (Closes: #697931)
+
+ -- Alexander Wirt Mon, 14 Jan 2013 06:22:39 +0100
+
+icinga (1.8.3-1) experimental; urgency=low
+
+ * [5330072] Imported Upstream version 1.8.3
+
+ -- Alexander Wirt Thu, 13 Dec 2012 21:41:33 +0100
+
+icinga (1.8.2-1) experimental; urgency=low
+
+ * [868de52] Imported Upstream version 1.8.2
+
+ -- Alexander Wirt Wed, 28 Nov 2012 17:25:15 +0100
+
+icinga (1.8.1-2) experimental; urgency=low
+
+ * [4fb9f91] Fix broker filename in idoutils README.Debian.
+ Thanks to Michael Friedrich catching this error
+
+ -- Alexander Wirt Sun, 04 Nov 2012 21:57:50 +0100
+
+icinga (1.8.1-1) experimental; urgency=low
+
+ * [5947e03] Remove useless echo in do_stop of icingas initscript
+ * [fb9c4cb] Imported Upstream version 1.8.1
+
+ -- Alexander Wirt Thu, 25 Oct 2012 07:04:55 +0200
+
+icinga (1.8.0-1) experimental; urgency=low
+
+ * [5c6b2b6] Remove build-dep on iputils-ping and do a wrap-and-sort
+ * [3e31fec] Even more wrap-and-sort
+ * [0c39b06] Imported Upstream version 1.8.0
+ - Fix Conflicting declarations of variable highlight_table_rows
+ (Closes: #688459)
+ - Remove buggy sql creation script (never used by packages)
+ (Closes: #683320)
+ * [9752230] Remove obsolete patch 80_fix_dbd_handling.dpatch
+ * [74ea069] Remove obsolete patch 99_fix_epn.dpatch
+ * [ebc54b8] jquery was updated
+ * [c3c04db] contexthelp was removed from upstream
+ * [b876c8c] Fix jquery link
+ * [eec91d0] Don't ask question if there is no config (Closes: #689601)
+ * [ce7f089] Fix mainurl
+ * [7c8cb8d] Add indonesian translation (Closes: #677118)
+ * [c0ddb94] Update Polish translation (Closes: #678155)
+ * [7eccc2b] Make apache directory match more strict (Closes: #679476)
+ * [b0d4ee9] Handle /var/run/icinga on our own (Closes: #689551)
+ * [e604f8c] Install update sql files for idoutils
+
+ -- Alexander Wirt Fri, 19 Oct 2012 15:58:46 +0200
+
+icinga (1.7.2-1) experimental; urgency=low
+
+ * [4394714] Imported Upstream version 1.7.2
+ - Fix duplicated events (Closes: #686036)
+ * [683ca22] Cherrypick epn fix from git
+
+ -- Alexander Wirt Wed, 29 Aug 2012 21:54:35 +0200
+
+icinga (1.7.1-2) unstable; urgency=low
+
+ [ Alexander Wirt ]
+ * [6dee566] Start after postgresql or mysql
+
+ [ Christian Perrier ]
+ * Debconf templates and debian/control reviewed by the debian-l10n-
+ english team as part of the Smith review project. Closes: #674024
+ * [Debconf translation updates]
+ * Debconf templates and debian/control reviewed by the debian-l10n-
+ english team as part of the Smith review project. Closes: #674024
+ * [Debconf translation updates]
+ * Czech (Martin Sin). Closes: #677033
+ * Swedish (Martin Bagge / brother). Closes: #677064
+ * Russian (Yuri Kozlov). Closes: #677178
+ * Slovak (Slavko). Closes: #677240
+ * Portuguese (Américo Monteiro). Closes: #677316
+ * Dutch; (Jeroen Schot). Closes: #677357
+ * Danish (Joe Hansen). Closes: #677808
+ * Italian (Luca Monducci). Closes: #677841
+ * German (Holger Wansing). Closes: #677914
+ * French (Steve Petruzzello). Closes: #677952
+ * Galician (). Closes: #678913
+ * Spanish; (Omar Campagne). Closes: #678944
+
+ -- Alexander Wirt Fri, 29 Jun 2012 23:02:35 +0200
+
+icinga (1.7.1-1) unstable; urgency=low
+
+ * [b64d290] Imported Upstream version 1.7.1
+ * [bcba7da] 80_fix_typos_in_eventhandlers is now upstream
+ * [abd8b59] icinga 1.7.0 should work with Postgresql >= 9.0
+ * [29506e2] Add a patch for better handling of mysql and
+ pgsql default in ido2b
+ * [29d6787] Check if ucf really exists during purge
+ (Closes: #677064)
+
+ -- Alexander Wirt Thu, 21 Jun 2012 00:09:52 +0200
+
+icinga (1.7.0-4) unstable; urgency=low
+
+ * [704a3bc] Quote version for dpkg-compare
+ * [6e25045] Add patch to fix typo in handle-master-proc-event script
+ (Closes: #676586)
+
+ -- Alexander Wirt Sat, 09 Jun 2012 08:37:42 +0200
+
+icinga (1.7.0-3) unstable; urgency=low
+
+ * [7c55fce] Install plpgsql as early as possible into postgres
+ (Closes: #675536)
+
+ -- Alexander Wirt Sat, 02 Jun 2012 09:06:09 +0200
+
+icinga (1.7.0-2) unstable; urgency=medium
+
+ * [57cc621] Fix example path for idoutils broker
+ * [c27a750] Depend on dpkg >= 1.16.1 for s-s-d --status (Closes: #675041)
+ * [24e3fc9] Move old retention.dat to new locatation (Closes: #675046)
+ * [f365185] make icinga-core.postinst a little bit nicer and more verbose
+ * [e5fd639] Improve retention.dat move
+ * [4b2e286] Don't overwrite existing files during retention.dat move
+ * [d3ba784] Fix status.dat location for cgi (Closes: #671908)
+ * [37d3c92] Remove trailing / in configure (Closes: #675043)
+ * [c57ac90] Fix filenames for dbconfig-common sql files (Closes: #675277)
+
+ -- Alexander Wirt Fri, 01 Jun 2012 10:12:50 +0200
+
+icinga (1.7.0-1) unstable; urgency=low
+
+ * [8ae8e90] Imported Upstream version 1.7.0~beta1
+ * [e20c16d] 80_fix_tac_json is now upstream
+ * [ab9a6aa] Update rules file for 1.7
+ * [e17e241] Add NEWS file for idoutils broker move
+ * [2f26c8d] Update icinga.cfg patch
+ * [2ebdf35] Update idoutils docs
+ * [5e02b2e] Fix tempfile path
+ * [22b4070] Fix status.dat location
+ * [a938089] Remove not used conf.d from icinga.cfg
+ * [64b812c] Fix ido2db socket path
+ * [c3664d6] Imported Upstream version 1.7.0
+ * [9364846] Bump standards version
+ * [7d6f5f4] Cleanup config.log
+
+ -- Alexander Wirt Tue, 15 May 2012 23:38:27 +0200
+
+icinga (1.6.1-3) unstable; urgency=medium
+
+ [ Daniel Baumann ]
+ * [548ece5] Adding debconf handling for icinga check_external_commands option (Closes: #592738).
+
+ [ Alexander Wirt ]
+ * [d3c349e] Add alternative for libdbi-dev
+ * [2d0c4bb] Fix broker location in ido example config and enhance README
+ * [4416c9c] Always display debconf note for external command
+ * [9dec07f] Build-depend on libpng-dev (Closes: #662374)
+ * [dfacf10] Add buildalternative for libpng
+ * [c4a5675] Update translationfiles
+ * [181d023] Enable hardening buildflags (Closes: #656866)
+ * [6ec83b0] Fix json output of tac.cgi (Closes: #663224)
+ * [3fc1a26] Fix endlessloop in idoutils during installation (Closes: #652647)
+ * [6ff2be5] Fix postgres escaping with postgres 9.1 (Closes: #659675)
+ * [4c7bac5] Fix db upgrades with postgres (Closes: #663440)
+ * [46dfeea] Add prepared dbc debug flag into idoutils.postinst
+ * [495fe20] Install plpgsql for postgres < 9.0 (Closes: #659675)
+ * [b6bba3b] Remove stale socket on daemon startup and start idoutils before icinga
+ (Closes: #670201, #663678)
+ * [309ba7a] Fix db upgrade for postgres (Closes: #641391)
+ * [c1c3991] Add postgres admin functions for plperl (Closes: #659675)
+ * [6230476] Update polish and dutch po translations (Closes: #659252, #670365)
+ * [dfef271] don't install sample configs for idoutils (Closes: #661797)
+ * [3263424] improve apache configuration.
+ Thanks to Christoph Anton Mitterer for the patch (Closes: #659896)
+
+ -- Alexander Wirt Fri, 04 May 2012 08:04:12 +0200
+
+icinga (1.6.1-2) unstable; urgency=low
+
+ * [56d53d9] fix template for ido2db_check_proc.cfg
+ * [200d89f] Depend on libdbi-dev (Closes: #653277)
+ * [69370bc] Add indonesian po translation.
+ Thanks to Mahyuddin Susanto for the translation (Closes: #654159)
+
+ -- Alexander Wirt Tue, 03 Jan 2012 16:51:45 +0100
+
+icinga (1.6.1-1) unstable; urgency=low
+
+ * [0e847f9] Add versioned dep for jquery
+ * [cf78552] Imported Upstream version 1.6.1
+
+ -- Alexander Wirt Fri, 02 Dec 2011 15:58:11 +0100
+
+icinga (1.6.0-1) unstable; urgency=low
+
+ * [0c69c1a] Fix permissions and remove *.in in contrib files (Closes: #648735)
+ * [a34927a] Refresh 51_commands.cfg-debianize.dpatch
+ * [0808c54] Remove mootools
+ * [0c2f21d] Add changelog
+ * [0ac1d13] phpapi is now deprecated - removed
+ * [1edf848] Cleanup javascript
+ * [ec0f684] Imported Upstream version 1.6.0
+ - removes git metadata in upstream tarball
+ (Closes: #613787)
+ * [b48970b] Add slovak po translation.
+ Thanks to Slavko for the translation (Closes: #641985)
+
+ -- Alexander Wirt Wed, 30 Nov 2011 15:52:07 +0100
+
+icinga (1.5.1-1) unstable; urgency=low
+
+ * [932cd5e] Imported Upstream version 1.5.1
+
+ -- Alexander Wirt Sun, 11 Sep 2011 11:16:37 +0200
+
+icinga (1.5.0-3) unstable; urgency=low
+
+ * [37c76c6] Fix p1 location
+
+ -- Alexander Wirt Mon, 05 Sep 2011 21:34:59 +0200
+
+icinga (1.5.0-2) unstable; urgency=low
+
+ Brown paper bag release. My refresh of icinga.cgi failed...
+
+ * [dbd8173] Fix paths for moste important files
+ * [dab43df] Re-nable embedded perl
+ * [85aa90a] Re-enable environment macros
+
+ -- Alexander Wirt Fri, 26 Aug 2011 21:50:17 +0200
+
+icinga (1.5.0-1) unstable; urgency=low
+
+ * [06735ad] Imported Upstream version 1.5.0 (Closes: #639271)
+ * [63670cd] Update 51_commands.cfg-debianize.dpatch
+ * [c721a5e] Refresh 52_icinga.cfg-debianize.dpatch
+ * [13699c0] Remove 60_fix_p1.pl_patch_mini_epn (now handled in configure)
+ * [818764e] Improve description (Closes: #628204)
+
+ -- Alexander Wirt Fri, 26 Aug 2011 08:20:15 +0200
+
+icinga (1.4.2-1) unstable; urgency=low
+
+ * New upstream version 1.4.2
+ - Fix xss bugs (Closes: #629131)
+ These issues are liste at mitre as:
+ CVE-2011-2179 and CVE-2011-1523
+
+ -- Alexander Wirt Thu, 30 Jun 2011 10:03:39 +0200
+
+icinga (1.4.1-1) unstable; urgency=low
+
+ * Remove useless patch
+ * Imported Upstream version 1.4.1
+ - Fixes CVE-2011-2179
+ - Fixes CVE-2011-1523
+ * Update 70_fix_eventhandler_paths.dpatch
+
+ -- Alexander Wirt Wed, 08 Jun 2011 22:38:28 +0200
+
+icinga (1.4.0-2) unstable; urgency=low
+
+ * Install /etc/icinga/modules in -common
+ * Remove useles patch
+ * Imported Upstream version 1.4.1
+
+ -- Alexander Wirt Wed, 08 Jun 2011 22:07:53 +0200
+
+icinga (1.4.0-1) unstable; urgency=low
+
+ * New upstream version
+ * Bump standards version (no changes)
+
+ -- Alexander Wirt Sat, 14 May 2011 08:26:37 +0200
+
+icinga (1.3.0-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Alexander Wirt Sun, 13 Feb 2011 08:04:21 +0100
+
+icinga (1.2.1-2) unstable; urgency=low
+
+ * Fix symlink to mootols
+
+ -- Alexander Wirt Mon, 01 Nov 2010 11:02:00 +0100
+
+icinga (1.2.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Add apache vhost example (Closes: #599555)
+
+ -- Alexander Wirt Mon, 25 Oct 2010 08:26:07 +0200
+
+icinga (1.2-1) unstable; urgency=low
+
+ * New upstream version
+ - Remove 80_remove_daemoncheck_cgi (now upstream)
+ * bump standards version (no changes)
+ * Icinga Plugins does not exist
+ * Fix typo in watch file
+ * Add japanese debconf translation (Closes: #598368)
+ Thanks Hideki Yamane
+
+ -- Alexander Wirt Mon, 09 Aug 2010 18:23:06 +0200
+
+icinga (1.0.2-1) unstable; urgency=low
+
+ * New upstream version
+ * Bump standards version (no changes needed)
+ * Fix eventhandler paths
+ * Remove 40_fix_spurious_dollar_signs_added_to_command_lines -
+ now upstream
+
+ -- Alexander Wirt Sat, 03 Jul 2010 12:28:08 +0200
+
+icinga (1.0.1-4) unstable; urgency=low
+
+ * Fix mini_epn p1 path
+ * Backport several ido2db fixes from git
+ * Debconf templates and debian/control reviewed by the debian-l10n-
+ english team as part of the Smith review project. Closes: #579934
+ * [Debconf translation updates]
+ * Spanish (Omar Campagne). Closes: #579656,#581823
+ * Czech (Martin Sin). Closes: #580471
+ * Basque (Iñaki Larrañaga Murgoitio). Closes: #580478
+ * Danish (Joe Hansen). Closes: #580571,#580572
+ * Brazilian Portuguese (Bruno Gurgel Gomes de Oliveira).
+ Closes: #580656, #581562
+ * Russian (Yuri Kozlov). Closes: #580765
+ * Italian (Luca Monducci). Closes: #580768
+ * Vietnamese (Clytie Siddall). Closes: #581538
+ * Portuguese (Américo Monteiro). Closes: #582319
+ * German (Matthias Julius). Closes: #582348
+ * French (Steve Petruzzello). Closes: #582643
+ * Swedish (Martin Bagge). Closes: #582699
+
+ -- Alexander Wirt Tue, 13 Apr 2010 11:52:52 +0200
+
+icinga (1.0.1-3) unstable; urgency=low
+
+ * its nagios-plugins, not icinga-plugins
+ * Use alternatives for mini_epn (Closes: #577493)
+ * Don't depend on non-existing virtual facility $icinga
+ (Closes: #577166)
+ * Update french po translation (Closes: #577152)
+ * Update russian po translation (Closes: #577170)
+ * Update swedish po translation (Closes: #577553)
+ * Update portuguese po translation (Closes: #577137)
+
+ -- Alexander Wirt Thu, 08 Apr 2010 19:58:16 +0200
+
+icinga (1.0.1-2) unstable; urgency=low
+
+ * Fix maintainer address
+ * Disable context sensitive help
+ * Recommend php5-mysql | php5-pgsql for the phpapi package
+
+ -- Alexander Wirt Wed, 07 Apr 2010 14:31:39 +0200
+
+icinga (1.0.1-1) unstable; urgency=low
+
+ * Initial packaging (Closes: #573880)
+
+ -- Alexander Wirt Sat, 27 Mar 2010 09:59:41 +0100
--- icinga-1.9.3.orig/debian/icinga-doc.install
+++ icinga-1.9.3/debian/icinga-doc.install
@@ -0,0 +1 @@
+usr/share/icinga/htdocs/docs
--- icinga-1.9.3.orig/debian/resource.cfg
+++ icinga-1.9.3/debian/resource.cfg
@@ -0,0 +1,31 @@
+###########################################################################
+#
+# RESOURCE.CFG - Resource File for Icinga
+#
+# You can define $USERx$ macros in this file, which can in turn be used
+# in command definitions in your host config file(s). $USERx$ macros are
+# useful for storing sensitive information such as usernames, passwords,
+# etc. They are also handy for specifying the path to plugins and
+# event handlers - if you decide to move the plugins or event handlers to
+# a different directory in the future, you can just update one or two
+# $USERx$ macros, instead of modifying a lot of command definitions.
+#
+# The CGIs will not attempt to read the contents of resource files, so
+# you can set restrictive permissions (600 or 660) on them.
+#
+# Icinga supports up to 32 $USERx$ macros ($USER1$ through $USER32$)
+#
+# Resource files may also be used to store configuration directives for
+# external data sources like MySQL...
+#
+###########################################################################
+
+# Sets $USER1$ to be the path to the plugins
+$USER1$=/usr/lib/nagios/plugins
+
+# Sets $USER2$ to be the path to event handlers
+#$USER2$=/usr/lib/icinga/plugins/eventhandlers
+
+# Store some usernames and passwords (hidden from the CGIs)
+#$USER3$=someuser
+#$USER4$=somepassword
--- icinga-1.9.3.orig/debian/icinga-idoutils.config
+++ icinga-1.9.3/debian/icinga-idoutils.config
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+. /usr/share/debconf/confmodule
+
+if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
+ dbc_dbtypes="mysql, pgsql"
+ dbc_dbname="icinga"
+ dbc_authmethod_user="password"
+ . /usr/share/dbconfig-common/dpkg/config
+ dbc_go icinga-idoutils $@
+fi
+
--- icinga-1.9.3.orig/debian/ido2db.8
+++ icinga-1.9.3/debian/ido2db.8
@@ -0,0 +1,51 @@
+'\" t
+.\" Title: ido2db
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.2
+.\" Date: 03/16/2010
+.\" Manual: ido2db
+.\" Source: Nagios/Icinga
+.\" Language: English
+.\"
+.TH "IDO2DB" "8" "03/16/2010" "Nagios/Icinga" "ido2db"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+ido2db \- store icinga events and configs in database
+.SH "SYNOPSIS"
+.sp
+\fBido2db\fR \-c [\-i] [\-f]
+.SH "DESCRIPTION"
+.sp
+Stores Icinga event and configuration data to a database for later retrieval and processing\&. Clients that are capable of sending data to the IDO2DB daemon include the LOG2NDO utility and IDOMOD event broker module\&.
+.SH "OPTIONS"
+.PP
+\fB\-i\fR
+.RS 4
+Run under INETD/XINETD\&.
+.RE
+.PP
+\fB\-f\fR
+.RS 4
+Don\(cqt daemonize, run in foreground\&.
+.RE
+.SH "AUTHOR"
+.sp
+This manpage was written by Alexander Wirt for the Debian Distribution\&.
--- icinga-1.9.3.orig/debian/icinga-core.examples
+++ icinga-1.9.3/debian/icinga-core.examples
@@ -0,0 +1 @@
+debian/examples/apache_vhost.conf
--- icinga-1.9.3.orig/debian/icinga-core.prerm
+++ icinga-1.9.3/debian/icinga-core.prerm
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+# we attempt to stop icinga twice, once in icinga-common's prerm
+# and once here. otherwise, if icinga+icinga-common are being purged,
+# the /usr/sbin/icinga binary could disappear before icinga-common's
+# prerm script runs, which would prevent it from being able to stop
+# the binary.
+if [ -x "/etc/init.d/icinga" ]; then
+ if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+ invoke-rc.d icinga stop || true
+ else
+ /etc/init.d/icinga stop || true
+ fi
+fi
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/icinga-core.dirs
+++ icinga-1.9.3/debian/icinga-core.dirs
@@ -0,0 +1,2 @@
+usr/sbin
+usr/lib/icinga
--- icinga-1.9.3.orig/debian/icinga-common.examples
+++ icinga-1.9.3/debian/icinga-common.examples
@@ -0,0 +1,5 @@
+sample-config/template-object/commands.cfg
+sample-config/template-object/localhost.cfg
+sample-config/resource.cfg
+sample-config/icinga.cfg
+sample-config/cgi.cfg
--- icinga-1.9.3.orig/debian/icinga-cgi.postinst
+++ icinga-1.9.3/debian/icinga-cgi.postinst
@@ -0,0 +1,91 @@
+#!/bin/bash
+
+set -e
+
+# some shorthands for sanity
+en="/etc/icinga"
+enc="/etc/icinga/objects/"
+usn="/usr/share/icinga"
+
+. /usr/share/debconf/confmodule
+if [ -n "$ICINGADEBUG" ]; then
+ echo "now debugging $0 $@"
+ set -x
+fi
+
+# location of the default apache configuration for icinga
+apacheconf=$en/apache2.conf
+# location of the default htpasswd authentication file.
+htpw=$en/htpasswd.users
+
+setperm() {
+ local user="$1"
+ local group="$2"
+ local mode="$3"
+ local file="$4"
+ shift 4
+ # only do something when no setting exists
+ if ! dpkg-statoverride --list "$file" >/dev/null 2>&1; then
+ chown "$user":"$group" "$file"
+ chmod "$mode" "$file"
+ fi
+}
+
+case "$1" in
+ configure)
+ if ! getent passwd nagios > /dev/null ; then
+ echo 'Adding system-user for nagios' 1>&2
+ adduser --system --group --home /var/lib/nagios \
+ --disabled-login --force-badname nagios > /dev/null
+ fi
+
+ db_get icinga/adminpassword
+ admpass="$RET"
+
+ # register apache2.conf via ucf:
+ ucf --debconf-ok /usr/share/icinga/apache2.conf $apacheconf
+
+ COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
+
+ # NEW method for Apache >= 2.4
+ if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
+ . /usr/share/apache2/apache2-maintscript-helper
+
+ apache2_invoke enconf icinga
+
+ # remove OLD Apache 2.2 link
+ [ -L /etc/apache2/conf.d/icinga.conf ] && rm /etc/apache2/conf.d/icinga.conf
+
+ # OLD methods for Apache < 2.4
+ elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then
+
+ # create symlink if not existing
+ [ -f /etc/apache2/conf.d/icinga.conf ] || ln -vs $apacheconf /etc/apache2/conf.d/icinga.conf
+
+ # reload webserver
+ [ -x $(which invoke-rc.d) ] && invoke-rc.d apache2 reload
+ fi
+
+ # we reset the password every run, so if it exists we're running
+ # after being specifically given a password and can unconditionally set it.
+ # XXX there's no way of setting the pw w/out giving it on the cmdline? wtf?
+ if [ -n "$admpass" ]; then
+ touch "$htpw"
+ echo "$admpass" | htpasswd -i "$htpw" icingaadmin
+ fi
+
+ # everything went well, so now let's reset the password
+ db_set icinga/adminpassword ""
+ db_set icinga/adminpassword-repeat ""
+ # ... done with debconf here
+ db_stop
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
--- icinga-1.9.3.orig/debian/icinga-common.install
+++ icinga-1.9.3/debian/icinga-common.install
@@ -0,0 +1,8 @@
+contrib/eventhandlers/* usr/share/icinga/plugins/eventhandlers
+debian-configs/* /etc/icinga
+debian/conf.d/* /etc/icinga/objects
+debian/resource.cfg /etc/icinga
+sample-config/*.cfg /usr/share/doc/icinga-common/examples
+sample-config/README /usr/share/doc/icinga-common/examples
+sample-config/template-object/*.cfg /usr/share/doc/icinga-common/examples/template-object
+sample-config/template-object/README /usr/share/doc/icinga-common/examples/template-object
--- icinga-1.9.3.orig/debian/icinga-cgi.dirs
+++ icinga-1.9.3/debian/icinga-cgi.dirs
@@ -0,0 +1,3 @@
+etc/icinga/stylesheets
+usr/share/icinga/htdocs/ssi
+usr/lib/cgi-bin
--- icinga-1.9.3.orig/debian/README.source
+++ icinga-1.9.3/debian/README.source
@@ -0,0 +1,2 @@
+We use dpatch for patch handling inside our icinga packages. Please see
+/usr/share/doc/dpatch/README.source.gz (if you have installed dpatch) for documentation about dpatch.
--- icinga-1.9.3.orig/debian/conf.d/generic-host_icinga.cfg
+++ icinga-1.9.3/debian/conf.d/generic-host_icinga.cfg
@@ -0,0 +1,19 @@
+# Generic host definition template - This is NOT a real host, just a template!
+
+define host{
+ name generic-host ; The name of this host template
+ notifications_enabled 1 ; Host notifications are enabled
+ event_handler_enabled 1 ; Host event handler is enabled
+ flap_detection_enabled 1 ; Flap detection is enabled
+ failure_prediction_enabled 1 ; Failure prediction is enabled
+ process_perf_data 1 ; Process performance data
+ retain_status_information 1 ; Retain status information across program restarts
+ retain_nonstatus_information 1 ; Retain non-status information across program restarts
+ check_command check-host-alive
+ max_check_attempts 10
+ notification_interval 0
+ notification_period 24x7
+ notification_options d,u,r
+ contact_groups admins
+ register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
+ }
--- icinga-1.9.3.orig/debian/conf.d/extinfo_icinga.cfg
+++ icinga-1.9.3/debian/conf.d/extinfo_icinga.cfg
@@ -0,0 +1,13 @@
+##
+## Extended Host and Service Information
+##
+
+define hostextinfo{
+ hostgroup_name debian-servers
+ notes Debian GNU/Linux servers
+# notes_url http://webserver.localhost.localdomain/hostinfo.pl?host=netware1
+ icon_image base/debian.png
+ icon_image_alt Debian GNU/Linux
+ vrml_image debian.png
+ statusmap_image base/debian.gd2
+ }
--- icinga-1.9.3.orig/debian/conf.d/timeperiods_icinga.cfg
+++ icinga-1.9.3/debian/conf.d/timeperiods_icinga.cfg
@@ -0,0 +1,50 @@
+###############################################################################
+# timeperiods.cfg
+###############################################################################
+
+# This defines a timeperiod where all times are valid for checks,
+# notifications, etc. The classic "24x7" support nightmare. :-)
+
+define timeperiod{
+ timeperiod_name 24x7
+ alias 24 Hours A Day, 7 Days A Week
+ sunday 00:00-24:00
+ monday 00:00-24:00
+ tuesday 00:00-24:00
+ wednesday 00:00-24:00
+ thursday 00:00-24:00
+ friday 00:00-24:00
+ saturday 00:00-24:00
+ }
+
+# Here is a slightly friendlier period during work hours
+define timeperiod{
+ timeperiod_name workhours
+ alias Standard Work Hours
+ monday 09:00-17:00
+ tuesday 09:00-17:00
+ wednesday 09:00-17:00
+ thursday 09:00-17:00
+ friday 09:00-17:00
+ }
+
+# The complement of workhours
+define timeperiod{
+ timeperiod_name nonworkhours
+ alias Non-Work Hours
+ sunday 00:00-24:00
+ monday 00:00-09:00,17:00-24:00
+ tuesday 00:00-09:00,17:00-24:00
+ wednesday 00:00-09:00,17:00-24:00
+ thursday 00:00-09:00,17:00-24:00
+ friday 00:00-09:00,17:00-24:00
+ saturday 00:00-24:00
+ }
+
+# This one is a favorite: never :)
+define timeperiod{
+ timeperiod_name never
+ alias Never
+ }
+
+# end of file
--- icinga-1.9.3.orig/debian/conf.d/localhost_icinga.cfg
+++ icinga-1.9.3/debian/conf.d/localhost_icinga.cfg
@@ -0,0 +1,59 @@
+# A simple configuration file for monitoring the local host
+# This can serve as an example for configuring other servers;
+# Custom services specific to this host are added here, but services
+# defined in icinga-common_services.cfg may also apply.
+#
+
+define host{
+ use generic-host ; Name of host template to use
+ host_name localhost
+ alias localhost
+ address 127.0.0.1
+ }
+
+# Define a service to check the disk space of the root partition
+# on the local machine. Warning if < 20% free, critical if
+# < 10% free space on partition.
+
+define service{
+ use generic-service ; Name of service template to use
+ host_name localhost
+ service_description Disk Space
+ check_command check_all_disks!20%!10%
+ }
+
+
+
+# Define a service to check the number of currently logged in
+# users on the local machine. Warning if > 20 users, critical
+# if > 50 users.
+
+define service{
+ use generic-service ; Name of service template to use
+ host_name localhost
+ service_description Current Users
+ check_command check_users!20!50
+ }
+
+
+# Define a service to check the number of currently running procs
+# on the local machine. Warning if > 250 processes, critical if
+# > 400 processes.
+
+define service{
+ use generic-service ; Name of service template to use
+ host_name localhost
+ service_description Total Processes
+ check_command check_procs!250!400
+ }
+
+
+
+# Define a service to check the load on the local machine.
+
+define service{
+ use generic-service ; Name of service template to use
+ host_name localhost
+ service_description Current Load
+ check_command check_load!5.0!4.0!3.0!10.0!6.0!4.0
+ }
--- icinga-1.9.3.orig/debian/conf.d/hostgroups_icinga.cfg
+++ icinga-1.9.3/debian/conf.d/hostgroups_icinga.cfg
@@ -0,0 +1,31 @@
+# Some generic hostgroup definitions
+
+# A simple wildcard hostgroup
+define hostgroup {
+ hostgroup_name all
+ alias All Servers
+ members *
+ }
+
+# A list of your Debian GNU/Linux servers
+define hostgroup {
+ hostgroup_name debian-servers
+ alias Debian GNU/Linux Servers
+ members localhost
+ }
+
+# A list of your web servers
+define hostgroup {
+ hostgroup_name http-servers
+ alias HTTP servers
+ members localhost
+ }
+
+# A list of your ssh-accessible servers
+define hostgroup {
+ hostgroup_name ssh-servers
+ alias SSH servers
+ members localhost
+ }
+
+
--- icinga-1.9.3.orig/debian/conf.d/contacts_icinga.cfg
+++ icinga-1.9.3/debian/conf.d/contacts_icinga.cfg
@@ -0,0 +1,46 @@
+###############################################################################
+# contacts.cfg
+###############################################################################
+
+
+
+###############################################################################
+###############################################################################
+#
+# CONTACTS
+#
+###############################################################################
+###############################################################################
+
+# In this simple config file, a single contact will receive all alerts.
+
+define contact{
+ contact_name root
+ alias Root
+ service_notification_period 24x7
+ host_notification_period 24x7
+ service_notification_options w,u,c,r
+ host_notification_options d,r
+ service_notification_commands notify-service-by-email
+ host_notification_commands notify-host-by-email
+ email root@localhost
+ }
+
+
+
+###############################################################################
+###############################################################################
+#
+# CONTACT GROUPS
+#
+###############################################################################
+###############################################################################
+
+# We only have one contact in this simple configuration file, so there is
+# no need to create more than one contact group.
+
+define contactgroup{
+ contactgroup_name admins
+ alias Nagios Administrators
+ members root
+ }
--- icinga-1.9.3.orig/debian/conf.d/services_icinga.cfg
+++ icinga-1.9.3/debian/conf.d/services_icinga.cfg
@@ -0,0 +1,17 @@
+# check that web services are running
+define service {
+ hostgroup_name http-servers
+ service_description HTTP
+ check_command check_http
+ use generic-service
+ notification_interval 0 ; set > 0 if you want to be renotified
+}
+
+# check that ssh services are running
+define service {
+ hostgroup_name ssh-servers
+ service_description SSH
+ check_command check_ssh
+ use generic-service
+ notification_interval 0 ; set > 0 if you want to be renotified
+}
--- icinga-1.9.3.orig/debian/conf.d/generic-service_icinga.cfg
+++ icinga-1.9.3/debian/conf.d/generic-service_icinga.cfg
@@ -0,0 +1,26 @@
+# generic service template definition
+define service{
+ name generic-service ; The 'name' of this service template
+ active_checks_enabled 1 ; Active service checks are enabled
+ passive_checks_enabled 1 ; Passive service checks are enabled/accepted
+ parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems)
+ obsess_over_service 1 ; We should obsess over this service (if necessary)
+ check_freshness 0 ; Default is to NOT check service 'freshness'
+ notifications_enabled 1 ; Service notifications are enabled
+ event_handler_enabled 1 ; Service event handler is enabled
+ flap_detection_enabled 1 ; Flap detection is enabled
+ failure_prediction_enabled 1 ; Failure prediction is enabled
+ process_perf_data 1 ; Process performance data
+ retain_status_information 1 ; Retain status information across program restarts
+ retain_nonstatus_information 1 ; Retain non-status information across program restarts
+ notification_interval 0 ; Only send notifications on status change by default.
+ is_volatile 0
+ check_period 24x7
+ normal_check_interval 5
+ retry_check_interval 1
+ max_check_attempts 4
+ notification_period 24x7
+ notification_options w,u,c,r
+ contact_groups admins
+ register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
+ }
--- icinga-1.9.3.orig/debian/source/format
+++ icinga-1.9.3/debian/source/format
@@ -0,0 +1 @@
+1.0
--- icinga-1.9.3.orig/debian/po/fi.po
+++ icinga-1.9.3/debian/po/fi.po
@@ -0,0 +1,146 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Esko Arajärvi \n"
+"Language-Team: Finnish \n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Finnish\n"
+"X-Poedit-Country: FINLAND\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+#, fuzzy
+#| msgid "Nagios web administration password:"
+msgid "Icinga web administration password:"
+msgstr "Nagios-verkkoylläpidon salasana:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+#, fuzzy
+#| msgid ""
+#| "Please provide the password to be created with the \"nagiosadmin\" user."
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Anna salasana käyttäjätunnukselle ”nagiosadmin”."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+#, fuzzy
+#| msgid ""
+#| "This is the username and password you will use to log in to your nagios "
+#| "installation after configuration is complete. If you do not provide a "
+#| "password, you will have to configure access to nagios yourself."
+msgid ""
+"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."
+msgstr ""
+"Tämän käyttäjätunnuksen ja salasanan avulla voidaan nagios-asennukseen "
+"kirjautua, kun asetusten muokkaus on päättynyt. Jos salasanaa ei anneta, "
+"täytyy nagiokseen pääsy asettaa käsin."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr ""
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr ""
+
+#, fuzzy
+#~| msgid "Apache servers to configure for icinga:"
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Apache-palvelimet, joiden asetuksia muokataan icinga:a varten:"
+
+#, fuzzy
+#~| msgid "Please select which apache servers should be configured for icinga."
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Valitse minkä Apache-palvelimien asetuksia tulisi muokata icinga:n "
+#~ "käyttöönottamiseksi."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr "Jos haluat tehdä asetukset käsin, älä valitse mitään palvelinta."
+
+#~ msgid "Password confirmation:"
+#~ msgstr "Salasanan vahvistus:"
+
+#~ msgid "The passwords do not match"
+#~ msgstr "Salasanat eivät täsmää."
+
+#, fuzzy
+#~| msgid "Enable support for nagios 1.x links in icinga?"
+#~ msgid "Enable support for nagios 1.x links in nagios3?"
+#~ msgstr "Otetaanko nagiosin version 1.x linkkien tuki käyttöön icinga:ssa?"
+
+#, fuzzy
+#~| msgid ""
+#~| "Please choose whether the Apache configuration for icinga should provide "
+#~| "compatibility with links from nagios 1.x."
+#~ msgid ""
+#~ "Please choose whether the Apache configuration for nagios3 should provide "
+#~ "compatibility with links from nagios 1.x."
+#~ msgstr ""
+#~ "Valitse tulisiko icinga:n Apache-asetusten olla yhteensopivia nagios 1.x:"
+#~ "n linkkien kanssa."
+
+#~ msgid ""
+#~ "If you select this option, the apache configuration used for nagios will "
+#~ "include directives to support URLs from nagios 1.x. You should not choose "
+#~ "this option if you still have nagios 1.x on your system, or unpredictable "
+#~ "results may occur."
+#~ msgstr ""
+#~ "Jos valitset tämän, Apachen nagios-asetuksiin sisällytetään tuki nagios 1."
+#~ "x:n URLeille. Tätä ei tulisi valita, jos järjestelmässä on edelleen "
+#~ "nagios 1.x asennettuna, koska seuraukset eivät ole ennustettavissa."
--- icinga-1.9.3.orig/debian/po/templates.pot
+++ icinga-1.9.3/debian/po/templates.pot
@@ -0,0 +1,88 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr ""
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr ""
--- icinga-1.9.3.orig/debian/po/ja.po
+++ icinga-1.9.3/debian/po/ja.po
@@ -0,0 +1,107 @@
+# Japanese debconf templates translation for icinga.
+# Copyright (C) 2007-2010 Debian Nagios Maintainer Group
+# This file is distributed under the same license as the icinga package.
+# Noritada Kobayashi, 2007
+# Hideki Yamane , 2010
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga (debconf) 1.9.1-2\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-11 15:15+0900\n"
+"Last-Translator: Hideki Yamane \n"
+"Language-Team: Japanese \n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Icinga ウェブ管理用パスワード:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "「icingaadmin」ユーザ用に作成するパスワードを入力してください。"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"これは、設定完了後に Icinga サーバに接続時に使用するユーザ名とパスワードで"
+"す。ここでパスワードを入力しない場合は、後ほど手動で Icinga へのアクセスを設"
+"定しなければなりません。"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "確認のためパスワードの再入力:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"入力が正しいことを確認するため、再度同じユーザパスワードを入力してください。"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "パスワード入力エラー"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "入力された 2 つのパスワードが一致しません。もう一度入力してください。"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "外部 コマンドを Icinga で利用しますか?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"セキュリティを考慮して、Icinga のデフォルト設定では外部コマンドを使わないよう"
+"になっています。外部コマンドを有効にするとウェブサーバが nagios コマンドパイ"
+"プに書き込むことができるようになります。CGI コマンドインターフェイスを使える"
+"ようにしたい場合は必要となります。"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "よくわからない場合は外部コマンドを有効にしないでください。"
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "icinga の設定をする Apache サーバ:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "icinga の設定をする Apache サーバを選択してください。"
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "手動で設定を行う方がよい場合は、どのサーバも選択せずに次に進んでください。"
--- icinga-1.9.3.orig/debian/po/gl.po
+++ icinga-1.9.3/debian/po/gl.po
@@ -0,0 +1,111 @@
+# Galician translations for icinga package.
+# Copyright (C) 2012 THE icinga'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the icinga package.
+#
+# Jorge Barreiro Gonzalez , 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-25 01:36+0200\n"
+"Last-Translator: Jorge Barreiro \n"
+"Language-Team: Galician \n"
+"Language: gl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Contrasinal do administrador web de «icinga»:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Introduza o contrasinal que se creará co usuario «icingaadmin»."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Este é o nome de usuario e contrasinal a usar cando se conecte co servidor "
+"«icinga» tras completara configuración. Se non fornece un contrasinal, terá "
+"que configurar o acceso a «icinga» manualmente máis tarde."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Volva a introducir o contrasinal para verificar:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Introduza o mesmo contrasinal de novo para verificar que o escribiu "
+"correctamente."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Produciuse un erro ao introducir o contrasinal"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Os dous contrasinais que forneceu non eran o mesmo. Volva a tentalo."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Quere usar ordes externas con «icinga»?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Como característica de seguridade, «icinga» na súa configuración "
+"predeterminada non busca ordes externas. Activar ordes externas daralle ao "
+"servidor web acceso e escritura sobre a orde de canalización de «nagios» se "
+"quere poder usar a interface de ordes CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Se non está seguro, non active as ordes externas."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Servidores apache a configurar para «icinga»:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "Escolla que servidores apache deben ser configurados para «icinga»."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Se prefire realizar a configuración manualmente, non escolla ningún "
+#~ "servidor."
--- icinga-1.9.3.orig/debian/po/it.po
+++ icinga-1.9.3/debian/po/it.po
@@ -0,0 +1,110 @@
+# Italian (it) translation of debconf templates for icinga
+# COPYRIGHT (C) 2010 THE ICINGA'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the icinga package.
+# Luca Monducci , 2008-2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.0.1-3 italian debconf\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-16 20:22+0200\n"
+"Last-Translator: Luca Monducci \n"
+"Language-Team: Italian \n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Password per l'amministrazione di Icinga da web:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Inserire la password da associare all'utente \"icingaadmin\"."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Questi sono il nome utente e la password per connettersi al server Icinga al "
+"termine della configurazione. Se non viene inserita una password, in seguito "
+"si dovrà configurare l'accesso a Icinga manualmente."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Reinserire la password:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Inserire di nuovo la stessa password per verificare che sia stata scritta "
+"correttamente."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Password errata"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Le due password sono diverse. Riprovare."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Usare i comandi esterni con Icinga?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Come misura di sicurezza, con la configurazione predefinita Icinga non "
+"ricerca comandi esterni. Con l'abilitazione dei comandi esterni si concede "
+"al server web l'accesso in scrittura alla pipe di comando nagios, ciò è "
+"necessario per usare l'interfaccia CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Se in dubbio, non abilitare i comandi esterni."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Server Apache da configurare per icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Selezionare quali server Apache devono essere configurati per icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Per effettuare la configurazione manualmente, lasciare tutti i server non "
+#~ "selezionati."
--- icinga-1.9.3.orig/debian/po/da.po
+++ icinga-1.9.3/debian/po/da.po
@@ -0,0 +1,112 @@
+# Danish translation icinga.
+# Copyright (C) 2012 icinga & Joe Hansen.
+# This file is distributed under the same license as the icinga package.
+# Joe Hansen , 2010, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-16 17:30+01:00\n"
+"Last-Translator: Joe Hansen \n"
+"Language-Team: Danish \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Adgangskode for icingainternetadministration:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr ""
+"Indtast venligst adgangskoden som skal oprettes med brugeren »icingaadmin«."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Dette er brugernavnet og adgangskoden, der skal bruges, når der forbindes "
+"til Icingaserverne efter færdiggørelse af konfigurationen. Hvis du ikke "
+"indtaster en adgangskode, skal du manuelt konfigurere adgang til Icinga på "
+"et senere tidspunkt."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Genindtast adgangskode som verificering:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Indtast venligst den samme adgangskode igen for at verificere at du har "
+"indtastet den korrekt."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Inddatafejl for adgangskode"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "De to adgangskoder du indtastede var ikke ens. Forsøg igen."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Brug eksterne kommandoer med Icinga?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Af sikkerhedsmæssige årsager så kigger Icinga ikke i sin "
+"standardkonfiguration for eksterne kommandoer. Aktivering af eksterne "
+"kommandoer vil give internetserveren skriveadgang til kommandodatakanalen "
+"for nagios og er krævet, hvis du ønsker at være i stand til at bruge CGI-"
+"kommandogrænsefladen."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Hvis du er i tvivl, så skal du ikke aktivere eksterne kommandoer."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Apacheservere der skal konfigureres til icinga."
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Vælg venligst hvilke Apacheservere der skal konfigureres til icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Hvis du foretrækker at udføre manuel konfiguration, så vælg ingen servere."
--- icinga-1.9.3.orig/debian/po/es.po
+++ icinga-1.9.3/debian/po/es.po
@@ -0,0 +1,137 @@
+# icinga po-debconf translation to spanish
+# Copyright (C) 2004-2012 Software in the Public Interest
+# This file is distributed under the same license as the icinga package.
+#
+# Changes:
+# - Initial translation
+# Rudy Godoy , 2006
+#
+# - Updates
+# Omar Campagne , 2010, 2012.
+#
+# Traductores, si no conocen el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/
+# especialmente las notas y normas de traducción en
+# http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.7.0-3\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-17 18:27+0200\n"
+"Last-Translator: Omar Campagne \n"
+"Language-Team: Debian l10n Spanish \n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Contraseña para la administración web de icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Introduzca la contraseña para el nuevo usuario «icingaadmin»."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Estos son el usuario y contraseña que utilizará para identificarse en su "
+"instalación de icinga, una vez que la configuración se haya completado. Si "
+"no define una contraseña tendrá que configurar icinga de forma manual."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Introduzca la contraseña otra vez para su comprobación:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Introduzca otra vez la misma contraseña de usuario para comprobar que la ha "
+"tecleado correctamente."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Se ha detectado un fallo al introducir la contraseña"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+"Las dos contraseñas que ha introducido no son idénticas. Inténtelo otra vez."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "¿Desea utilizar órdenes externas con Icinga?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Como funcionalidad de seguridad, Icinga no busca órdenes externas de forma "
+"predefinida. Activar el uso de órdenes externas ofrece al servidor web la "
+"posibilidad de acceder a la tubería de órdenes de nagios, y es necesario "
+"para poder utilizar la interfaz de órdenes CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Si no está seguro, no active el uso de órdenes externas."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Servidores apache a configurar para icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Seleccione los servidores apache que se deberían configurar para icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "No elija ningún servidor si prefiere realizar la configuración de forma "
+#~ "manual."
--- icinga-1.9.3.orig/debian/po/vi.po
+++ icinga-1.9.3/debian/po/vi.po
@@ -0,0 +1,103 @@
+# Vietnamese translation for Icinga.
+# Copyright © 2010 Free Software Foundation, Inc.
+# Clytie Siddall , 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.0.1-3\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2010-05-13 23:02+0930\n"
+"Last-Translator: Clytie Siddall \n"
+"Language-Team: Vietnamese \n"
+"Language: vi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: LocFactoryEditor 1.8\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Mật khẩu quản trị Web Icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Hãy cung cấp mật khẩu cần tạo với người dùng quản trị « icingaadmin »."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Đây là tên người dùng và mật khẩu cần dùng khi kết nối đến máy phục vụ "
+"Icinga sau khi hoàn tất cấu hình. Không cung cấp mật khẩu thì bạn cần phải "
+"tự cấu hình chức năng truy cập đến Icinga về sau."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Gõ lại mật khẩu để thẩm tra:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr "Hãy nhập lại mật khầu người dùng mới nhập, để xác nhận bạn đã gõ đúng."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Lỗi nhập mật khẩu"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Bạn đã nhập hai mật khẩu không trùng nhau. Hãy thử lại."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr ""
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Trình phục vụ Apache cần cấu hình cho icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "Hãy chọn những trình phục vụ Apache nào cần cấu hình cho icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Nếu bạn muốn tự cấu hình thì để lại tất cả các trình phục vụ bị bỏ chọn."
--- icinga-1.9.3.orig/debian/po/nl.po
+++ icinga-1.9.3/debian/po/nl.po
@@ -0,0 +1,111 @@
+# Dutch translation of icinga debconf templates.
+# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the icinga package.
+# Jeroen Schot , 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.7.0-3\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-13 12:46+0200\n"
+"Last-Translator: Jeroen Schot \n"
+"Language-Team: Debian l10n Dutch \n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Icinga webbeheerwachtwoord:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Kies een wachtwoord voor de gebruiker \"icingaadmin\"."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Dit zijn de gebruikersnaam en wachtwoord waarmee u in kunt loggen bij uw "
+"Icinga-server nadat de configuratie is voltooid. Als u geen wachtwoord "
+"opgeeft zal u de toegang tot Icenga handmatig moeten instellen."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Wachtwoord nogmaals (ter bevestiging):"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Ter controle op eventuele tikfouten dient u hetzelfde wachtwoord nogmaals in "
+"te voeren."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Wachtwoord-invoerfout"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+"De twee door u ingevoerde wachtwoorden waren kwamen niet overeen. Probeer "
+"het nogmaals."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Externe commando's gebruiken met Icinga?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Als een extra veiligheidsmaatregel kijkt de standaardconfiguratie van Icinga "
+"niet naar externe commando's. Wanneer u externe commando's activeert geeft u "
+"de webserver schrijftoegang tot de commandopijp van nagios, dit is een "
+"vereiste voor de CGI-commando-interface."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Als u twijfelt, activeer externe commando's dan niet."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Automatisch te configureren Apache-servers:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "Welke Apache-servers moeten er worden geconfigureerd voor icinga?"
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Als u de configuratie liever handmatig doet, selecteer dan geen enkele "
+#~ "server."
--- icinga-1.9.3.orig/debian/po/fr.po
+++ icinga-1.9.3/debian/po/fr.po
@@ -0,0 +1,114 @@
+# French translation of icinga debconf templates
+# Copyright (C) 2006-2010 Debian French l10n Team
+# This file is distributed under the same license as the icinga package.
+# Translator:
+# Steve Petruzzello , 2006-2012
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga_1.7.0-4\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-18 08:31+0200\n"
+"Last-Translator: Steve Petruzzello \n"
+"Language-Team: French \n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Mot de passe pour l'administration web d'Icinga :"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr ""
+"Veuillez fournir le mot de passe à attribuer à l'identifiant « icingaadmin »."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Il s'agit de l'identifiant et du mot de passe qui devra être utilisé pour se "
+"connecter à Icinga une fois que l'installation sera terminée. Si vous ne "
+"fournissez pas de mot de passe, vous devrez configurer Icinga vous-même afin "
+"d'y accéder."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Confirmation du mot de passe :"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Veuillez entrer à nouveau le même mot de passe afin de vérifier qu'il a été "
+"saisi correctement."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Erreur de saisie du mot de passe"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+"Les deux mots de passe que vous avez entrés sont différents. Veuillez "
+"recommencer."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Faut-il utiliser des commandes externes avec Icinga ?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Pour des raisons de sécurité, Icinga, dans sa configuration par défaut, "
+"n'autorise pas l'utilisation de commandes externes. L'activation de "
+"l'utilisation de commandes externes revient à autoriser le serveur web à "
+"lancer des commandes externes avec les privilèges de nagios et est requise "
+"si vous souhaitez utiliser l'interface de commandes CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Dans le doute, il est déconseillé d'activer les commandes externes."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Serveurs Apache à configurer pour Icinga :"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "Veuillez choisir le(s) serveur(s) web à configurer pour Icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Pour effectuer la configuration vous-même, il suffit de ne sélectionner "
+#~ "aucun serveur."
--- icinga-1.9.3.orig/debian/po/pl.po
+++ icinga-1.9.3/debian/po/pl.po
@@ -0,0 +1,118 @@
+# debconf templates for ppp package
+# Polish translation
+# Copyright (C) 2008
+# This file is distributed under the same license as the ppp package.
+#
+# Łukasz Paździora , 2008.
+# Michał Kułach , 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 3.0.3-3\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-14 19:39+0200\n"
+"Last-Translator: Michał Kułach \n"
+"Language-Team: Polish \n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.2\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Hasło administratora Icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Proszę podać hasło dla użytkownika \"icingaadmin\"."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Po zakończeniu konfiguracji ta nazwa użytkownika oraz hasło zostaną użyte do "
+"zalogowania się do serwera Icinga. Jeśli hasło nie zostanie podane, "
+"konieczne będzie ręczne skonfigurowanie dostępu do Icinga."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Proszę wprowadzić hasło ponownie:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Proszę wprowadzić to samo hasło ponownie, aby sprawdzić, czy zostało wpisane "
+"poprawnie."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Błąd wprowadzania hasła"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+"Dwa hasła, które zostały wprowadzone, nie są identyczne. Proszę spróbować "
+"ponownie."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Użyć poleceń zewnętrznych z Icingą?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"W celu zwiększenia bezpieczeństwa, Icinga nie szuka zewnętrznych poleń w "
+"swej domyślnej konfiguracji. Włączenie poleceń zewnętrznych da serwerowi WWW "
+"dostęp, w trybie do zapisu, do potoku polecenia nagios i jest wymagany aby "
+"móc używać interfejsu wiersza poleceń."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "W przypadku wątpliwości, proszę wybrać \"nie\"."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Konfiguracja serwerów Apache do icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Proszę wybrać, które serwery Apache powinny zostać skonfigurowane dla "
+#~ "icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Proszę nie zaznaczać żadnego serwera, aby przeprowadzić konfigurację "
+#~ "ręcznie."
--- icinga-1.9.3.orig/debian/po/sk.po
+++ icinga-1.9.3/debian/po/sk.po
@@ -0,0 +1,113 @@
+# Slovak translations for icinga package
+# Slovenské preklady pre balík icinga.
+# Copyright (C) 2011 THE icinga'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the icinga package.
+# Automatically generated, 2011.
+# Slavko , 2011, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.5.1-1\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-12 17:05+0200\n"
+"Last-Translator: Slavko \n"
+"Language-Team: slovenčina \n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+"X-POFile-SpellExtra: Icinga icinga nagios pipe Apache icingaadmin\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Heslo webovej administrácie Icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr ""
+"Prosím, zadajte heslo, ktoré má byť vytvorené pre používateľa „icingaadmin”."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Toto používateľské meno a heslo slúži na prístup k serveru Icinga po "
+"dokončení nastavenia. Ak nezadáte heslo, budete musieť nastaviť prístup "
+"neskôr manuálne."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Zopakujte heslo, na overenie:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Prosím, zadajte rovnaké používateľské heslo znova, na overenie, že ste ho "
+"napísali správne."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Chyba zadania hesla"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Zadané dve heslá sa nezhodujú. Prosím, skúste znova."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Má icinga použiť externé príkazy?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"S ohľadom na bezpečnosť, predvolená konfigurácia Icinga nepovoľuje externé "
+"príkazy. Povolenie externých príkazov poskytne webovému serveru právo na "
+"zápis do príkazovej rúry (pipe) nagios a je vyžadované, ak chcete používať "
+"príkazové rozhranie CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Ak si nie ste istý, nepovoľujte externé príkazy."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Servery Apache, ktoré majú byť nastavené pre icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Prosím, vyberte servery Apache, ktoré majú byť nastavené pre icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr "Ak dávate prednosť manuálnemu nastaveniu, nevyberte žiadny server."
--- icinga-1.9.3.orig/debian/po/sv.po
+++ icinga-1.9.3/debian/po/sv.po
@@ -0,0 +1,116 @@
+# translation of icinga to swedish
+# Copyright (C) 2010 Martin Bagge
+# This file is distributed under the same license as the icinga package.
+#
+# Martin Bagge , 2008, 2010.
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-11 11:19+0100\n"
+"Last-Translator: Martin Bagge / brother \n"
+"Language-Team: swedish \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"X-Poedit-Language: Swedish\n"
+"X-Poedit-Country: Sweden\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Lösenord för icinga webbadministration:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Ange lösenordet som ska användas för användaren \"icingaadmin\"."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Detta användarnamn och lösenord används för att ansluta till icingaservern "
+"när installationen är klar. Om du inte anger ett lösenord här måste du "
+"ställa in autentiseringen manuellt senare."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Ange lösenordet igen för att verifiera det:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr "Ange samma lösenord igen för att verifiera att du skrivit rätt."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Fel vid inmatning av lösenord"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Lösenorden stämde inte överrens. Försök igen."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Ska externa kommandon användas med Icinga?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Av säkerhetsskäl tittar inte Icinga på externa kommandon i "
+"standardutförandet. Aktiveras externa kommandon så får webbservern "
+"skrivrättighet till nagios rör-kommando (pipe), detta behövs om du vill "
+"kunna använda CGI-kommandogränssnittet."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Om du är osäker ska du inte aktivera externa kommandon."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Apacheserver som ska förberedas för icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "Välj den apacheserver som ska ställas in för icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Om du föredrar att ställa in apache manuellt markerar du inte något av "
+#~ "alternativen."
+
+#~ msgid "Password confirmation:"
+#~ msgstr "Upprepa lösenordet:"
+
+#~ msgid "The passwords do not match"
+#~ msgstr "Lösenorden stämmer inte överrens"
--- icinga-1.9.3.orig/debian/po/pt_BR.po
+++ icinga-1.9.3/debian/po/pt_BR.po
@@ -0,0 +1,116 @@
+# icinga Brazilian Portuguese translation.
+# Copyright (C) THE icinga's COPYRIGHT HOLDER
+# This file is distributed under the same license as icinga package.
+# Bruno Gurgel Gomes de Oliveira , 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga_3.0.3-1\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2010-05-07 11:10-0300\n"
+"Last-Translator: Sergio Cipolla \n"
+"Language-Team: Brazilian Portuguese \n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Senha de administração web do Icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Por favor, forneça a senha a ser criada com o usuário \"icingaadmin\"."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Este é o nome de usuário e a senha que você usará para acessar sua "
+"instalação Icinga depois que a configuração estiver completa. Se você não "
+"fornecer uma senha, você terá de configurar manualmente o acesso ao Icinga "
+"posteriormente."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Informe a senha novamente para a verificação."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Por favor, informe novamente a mesma senha de usuário para verificar se foi "
+"digitada corretamente."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Erro de entrada da senha"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+"As duas senhas informadas não foram as mesmas. Tente novamente, por favor."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr ""
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Servidores Apache a serem configurados para o Icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Por favor, selecione quais servidores Apache deverão ser configurados "
+#~ "para o Icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Se você preferir realizar a configuração manualmente, não selecione "
+#~ "nenhum servidor."
+
+#~ msgid "Password confirmation:"
+#~ msgstr "Confirmação de senha:"
+
+#~ msgid "The passwords do not match"
+#~ msgstr "As senhas não coincidem"
--- icinga-1.9.3.orig/debian/po/pt.po
+++ icinga-1.9.3/debian/po/pt.po
@@ -0,0 +1,152 @@
+# translation of icinga debconf to Portuguese
+# Copyright (C) 2010 the iginga's copyright holder
+# This file is distributed under the same license as the icinga package.
+#
+# Américo Monteiro , 2007, 2010, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.7.0-3\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-12 19:41+0100\n"
+"Last-Translator: Américo Monteiro \n"
+"Language-Team: Portuguese \n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.4\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Palavra-passe de administração Web do Icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr ""
+"Por favor indique uma palavra-passe para ser criada com o utilizador "
+"\"icingaadmin\"."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Este é o nome de utilizador e palavra-passe a usar ao ligar ao servidor "
+"Icinga após completar a configuração. Se não disponibilizar uma palavra-"
+"passe, irá ter que configurar manualmente o acesso ao Icinga posteriormente."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Insira de novo a palavra-passe para verificação:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Por favor introduza novamente a mesma palavra-passe de utilizador para "
+"verificar que a digitou correctamente."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Erro de entrada de palavra-passe"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+"As duas palavras-passe que inseriu não são iguais. Por favor tente de novo."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Utilizar comandos externos com o Icinga?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Como função de segurança, o Icinga na sua configuração predefinida não "
+"procura por comandos externos. Activar comandos externos dará ao servidor "
+"web acesso de escrita ao 'pipe' de comandos do nagios e é necessário se "
+"desejar poder usar a interface de comandos CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Em caso de dúvidas, não active os comandos externos."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Servidores Apache a configurar para o icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Por favor seleccione quais servidores Apache deverão ser configurados "
+#~ "para o icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Se você preferir efectuar a configuração manualmente, não seleccione "
+#~ "nenhum servidor."
+
+#~ msgid "Password confirmation:"
+#~ msgstr "Confirmação da password:"
+
+#~ msgid "The passwords do not match"
+#~ msgstr "As passwords não condizem."
+
+#, fuzzy
+#~| msgid "Enable support for nagios 1.x links in icinga?"
+#~ msgid "Enable support for nagios 1.x links in nagios3?"
+#~ msgstr "Activar suporte para atalhos do nagios 1.x no icinga?"
+
+#, fuzzy
+#~| msgid ""
+#~| "Please choose whether the Apache configuration for icinga should provide "
+#~| "compatibility with links from nagios 1.x."
+#~ msgid ""
+#~ "Please choose whether the Apache configuration for nagios3 should provide "
+#~ "compatibility with links from nagios 1.x."
+#~ msgstr ""
+#~ "Por favor escolha se a configuração do Apache para icinga deverá "
+#~ "providenciar compatibilidade com atalhos do nagios 1.x."
+
+#~ msgid ""
+#~ "If you select this option, the apache configuration used for nagios will "
+#~ "include directives to support URLs from nagios 1.x. You should not choose "
+#~ "this option if you still have nagios 1.x on your system, or unpredictable "
+#~ "results may occur."
+#~ msgstr ""
+#~ "Se seleccionar esta opção, a configuração do apache usada para nagios irá "
+#~ "incluir directivas para suportar URLs do nagios 1.x. Você não deverá "
+#~ "escolher esta opção se ainda tiver o nagios 1.x no seu sistema, ou podem "
+#~ "ocorrer resultados imprevisíveis."
+
+#~ msgid "apache2"
+#~ msgstr "apache2"
--- icinga-1.9.3.orig/debian/po/POTFILES.in
+++ icinga-1.9.3/debian/po/POTFILES.in
@@ -0,0 +1,2 @@
+[type: gettext/rfc822deb] icinga-cgi.templates
+[type: gettext/rfc822deb] icinga-common.templates
--- icinga-1.9.3.orig/debian/po/cs.po
+++ icinga-1.9.3/debian/po/cs.po
@@ -0,0 +1,143 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the icinga package.
+# Martin Sin , 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.7.0-3\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-11 08:37+0200\n"
+"Last-Translator: Martin Sin \n"
+"Language-Team: Czech \n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Heslo webové administrace Icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr ""
+"Zadejte prosím heslo použité pro nově vytvořeného uživatele \"icingaadmin\"."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Toto uživatelské jméno a heslo se používá pro připojení k serveru Icinga. "
+"Pokud nezadáte nějaké heslo, budete muset nastavit přístup k Icinga ručně."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Potvrďte heslo pro ověření:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr "Zadejte prosím stejné heslo znovu pro ověření, že je zadané správně."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Chyba zadání hesla"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Zadaná hesla nesouhlasí. Zkuste to prosím znovu."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Má Icinga používat externí příkazy?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Z důvodu lepší bezpečnosti, Icinga ve svém výchozím nastavení nepoužívá "
+"externí příkazy. Povolením externích příkazů bude webový server moci "
+"zapisovat do roury nagios a to je nutné pokud chcete používat rozhraní CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Pokud si nejste jistí, externí příkazy zakažte."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Servery Apache pro nastavení s icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "Vyberte prosím, které servery Apache nastavit pro použití s icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr "Pokud dáváte přednost ruční konfiguraci, nevybírejte žádné servery."
+
+#~ msgid "Password confirmation:"
+#~ msgstr "Potvrzení hesla:"
+
+#~ msgid "The passwords do not match"
+#~ msgstr "Hesla nesouhlasí"
+
+#, fuzzy
+#~| msgid "Enable support for nagios 1.x links in icinga?"
+#~ msgid "Enable support for nagios 1.x links in nagios3?"
+#~ msgstr "Povolit podporu odkazů nagios 1.x v icinga?"
+
+#, fuzzy
+#~| msgid ""
+#~| "Please choose whether the Apache configuration for icinga should provide "
+#~| "compatibility with links from nagios 1.x."
+#~ msgid ""
+#~ "Please choose whether the Apache configuration for nagios3 should provide "
+#~ "compatibility with links from nagios 1.x."
+#~ msgstr ""
+#~ "Vyberte si prosím, zda má konfigurace Apache pro icinga poskytovat "
+#~ "kompatibilitu s odkazy z nagios 1.x."
+
+#~ msgid ""
+#~ "If you select this option, the apache configuration used for nagios will "
+#~ "include directives to support URLs from nagios 1.x. You should not choose "
+#~ "this option if you still have nagios 1.x on your system, or unpredictable "
+#~ "results may occur."
+#~ msgstr ""
+#~ "Pokud zvolíte tuto možnost, konfigurace apache použitá pro nagios bude "
+#~ "obsahovat příkazy pro podporu URL adres známých z nagios 1.x. Tuto volbu "
+#~ "byste neměli volit v případě, že máte dosud nainstalován nagios 1.x. "
+#~ "Jinak může dojít k neočekávaným výsledkům."
+
+#~ msgid "apache2"
+#~ msgstr "apache2"
+
+#~ msgid "false"
+#~ msgstr "chybné"
--- icinga-1.9.3.orig/debian/po/ru.po
+++ icinga-1.9.3/debian/po/ru.po
@@ -0,0 +1,109 @@
+# translation of ru.po to Russian
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the icinga package.
+#
+# Yuri Kozlov , 2008.
+# Yuri Kozlov , 2010, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.7.0-3\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-12 09:40+0400\n"
+"Last-Translator: Yuri Kozlov \n"
+"Language-Team: Russian \n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.2\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Пароль для веб-администрирования icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Введите пароль для создаваемой учётной записи «icingaadmin»."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Эта учётная запись и пароль будут использованы для доступа к серверу Icinga "
+"после завершения настройки. Если вы не укажите пароль, то вам нужно будет "
+"настроить доступ к Icinga самостоятельно."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Введите пароль ещё раз для проверки:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr "Введите тот же пароль пользователя для проверки правильности ввода."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Ошибка ввода пароля"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Введённые пароли не совпали. Попробуйте ещё раз."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Использовать внешние команды в Icinga?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"По умолчанию, Icinga не использует внешние команды в целях безопасности. "
+"Разрешение запуска внешних команд даст веб-серверу право на запись в канал "
+"команд nagios, и это необходимо, если вы хотите использовать командный "
+"интерфейс CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Если не уверены, не разрешайте запуск внешних команд."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Серверы apache для настройки под icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "Выберите серверы Apache, которые нужно настроить для icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr "Если вы хотите выполнить настройку вручную, то ничего не выбирайте."
--- icinga-1.9.3.orig/debian/po/id.po
+++ icinga-1.9.3/debian/po/id.po
@@ -0,0 +1,121 @@
+# icinga Debconf translations for Indonesian.
+# Copyright (C) 2007 Software in the Public Interest, SPI Inc.
+# This file is distributed under the same license as the postfix package.
+# proyek penerjemahan Bahasa Indonesia.
+#
+# Sebelum menerjemahkan silakan melihat-lihat ke:
+# - /usr/share/doc/po-debconf/README-trans atau
+# http://www.debian.org/intl/l10n/po-debconf/README-trans
+# - http://www.debian.org/international/l10n/po-debconf/id
+# Silakan menghubungi tim penerjemah Debian Indonesia bila ada pertanyaan,
+# kritik, dan saran ke debian-l10n-indonesian@lists.debian.org
+# Mahyuddin Susanto , 2012
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.6.1-1\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-12-11 14:56+0700\n"
+"Last-Translator: Mahyuddin Susanto \n"
+"Language-Team: Debian Indonesia Translator \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Indonesian\n"
+"X-Poedit-Country: INDONESIA\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Kata sandi administrasi web icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr ""
+"Mohon menyediakan kata sandi yang dibuat untuk pengguna \"icingaadmin\"."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Ini adalah nama pengguna dan kata sandi yang digunakan untuk tersambung "
+"dengan server icinga setelah pegaturan selesai. Jika anda tidak menyediakan "
+"kata sandi,setelah itu anda akan mengatur manual akses ke Icinga manual."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Masukkan kata sandi untuk verifikasi:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Silakan masukkan nama pengguna dan kata sandi lagi untuk memverifikasi bahwa "
+"anda mengetikkan itu."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Masukan kata sandi tidak benar"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Kata sandi yang anda masukkan tidak sama. Silakan coba lagi."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Gunakan perintah external dengan Icinga?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Sebagai fitur keamanan, Icinga secara bawaan tidak akan menggunakan perintah "
+"external. Mengaktifkan perintah external akan memberikan server web untuk "
+"hak akses menulis keperintah pipe nagios dan ini dibutuhkan jika anda "
+"menghendaki untuk menggunakanantar muka perintah CGI."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr "Jika tidak yakin, jangan mengaktifkan perintah external."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Server Apache untuk mengatur icinga:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr "Silakan pilih server Apache yang akan ada atur untuk icinga."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Jika anda menginginkan pengaturan secara manual, biarkan semua server "
+#~ "tidak diubah."
--- icinga-1.9.3.orig/debian/po/eu.po
+++ icinga-1.9.3/debian/po/eu.po
@@ -0,0 +1,108 @@
+# translation of icinga_1.0.1-3_eu.po to Basque
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Piarres Beobide , 2008.
+# Iñaki Larrañaga Murgoitio , 2010.
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga_1.0.1-3_eu\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2010-05-06 11:22+0200\n"
+"Last-Translator: Iñaki Larrañaga Murgoitio \n"
+"Language-Team: Basque \n"
+"Language: eu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Icinga web administratzailearen pasahitza:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Sartu \"icingaadmin\" erabiltzailearen pasahitza."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Konfigurazioa amaitu ondoren, Icinga zerbitzariarekin konektatzeko erabiliko "
+"diraerabiltzaile-izena eta pasahitza. Ez baduzu pasahitzik ezartzen, Icinga-"
+"ren atzipena eskuz konfiguratu beharko duzu beranduago."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Berretsi pasahitza:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr ""
+"Sartu erabiltzailearen pasahitza berriro ongi idatzi duzula ziurtatzeko."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Errorea pasahitzean"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr "Idatzitako bi pasahitzak ez dira berdinak. Saiatu berriro."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr ""
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Apache zerbitzariak icinga-rentzako konfiguratzeko:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Hautatu zein Apache zerbitzari konfiguratu behar diren icinga-rentzako."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Konfigurazioa eskuz egitea nahiago baduzu, utzi zerbitzari guztiak "
+#~ "hautatu gabe."
--- icinga-1.9.3.orig/debian/po/de.po
+++ icinga-1.9.3/debian/po/de.po
@@ -0,0 +1,115 @@
+# translation of po-debconf templates for icinga into German.
+# This file is distributed under the same license as the icinga package.
+#
+# Copyright ©:
+# Matthias Julius , 2006, 2010.
+# Holger Wansing , 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icinga 1.7.0-3\n"
+"Report-Msgid-Bugs-To: icinga@packages.debian.org\n"
+"POT-Creation-Date: 2013-07-11 22:37+0200\n"
+"PO-Revision-Date: 2012-06-17 20:16+0200\n"
+"Last-Translator: Holger Wansing \n"
+"Language-Team: German \n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid "Icinga web administration password:"
+msgstr "Passwort für die Web-Administration von Icinga:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"Please provide the password to be created with the \"icingaadmin\" user."
+msgstr "Bitte geben Sie das Passwort für den Benutzer »icingaadmin« ein."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:2001
+msgid ""
+"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."
+msgstr ""
+"Dies sind Benutzername und Passwort zur Anmeldung beim Icinga-Server nach "
+"dessen Einrichtung. Falls Sie kein Passwort eingeben, müssen Sie den Zugang "
+"zu Icinga manuell einrichten."
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid "Re-enter password to verify:"
+msgstr "Passwort nochmal eingeben:"
+
+#. Type: password
+#. Description
+#: ../icinga-cgi.templates:3001
+msgid ""
+"Please enter the same user password again to verify you have typed it "
+"correctly."
+msgstr "Bitte geben Sie dasselbe Passwort zur Überprüfung erneut ein."
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "Password input error"
+msgstr "Fehler bei der Passworteingabe"
+
+#. Type: error
+#. Description
+#: ../icinga-cgi.templates:4001
+msgid "The two passwords you entered were not the same. Please try again."
+msgstr ""
+"Die beiden Passwörter, die Sie eingegeben haben, sind nicht identisch. Bitte "
+"versuchen Sie es noch einmal."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "Use external commands with Icinga?"
+msgstr "Externe Befehle mit Icinga verwenden?"
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid ""
+"As a security feature, Icinga in its default configuration does not look for "
+"external commands. Enabling external commands will give the web server write "
+"access to the nagios command pipe and is required if you want to be able to "
+"use the CGI command interface."
+msgstr ""
+"Aus Sicherheitsgründen schaut Icinga in seiner Standard-Konfiguration nicht "
+"nach externen Befehlen. Externe Befehle zu aktivieren würde dem Web-Server "
+"Schreibzugriff auf die Nagios-Befehlsweiterleitung geben und ist "
+"erforderlich, wenn Sie die CGI-Befehlsschnittstelle verwenden möchten."
+
+#. Type: boolean
+#. Description
+#: ../icinga-common.templates:2001
+msgid "If unsure, do not enable external commands."
+msgstr ""
+"Wenn Sie unsicher sind, aktivieren Sie nicht die Verwendung externer Befehle."
+
+#~ msgid "Apache servers to configure for icinga:"
+#~ msgstr "Für Icinga einzurichtende Apache-Server:"
+
+#~ msgid "Please select which Apache servers should be configured for icinga."
+#~ msgstr ""
+#~ "Bitte wählen Sie, welche Apache-Server für Icinga eingerichtet werden "
+#~ "sollen."
+
+#~ msgid ""
+#~ "If you would prefer to perform configuration manually, leave all servers "
+#~ "unselected."
+#~ msgstr ""
+#~ "Falls Sie es vorziehen, die Einrichtung manuell durchzuführen, wählen Sie "
+#~ "keine Server aus."
--- icinga-1.9.3.orig/debian/examples/apache_vhost.conf
+++ icinga-1.9.3/debian/examples/apache_vhost.conf
@@ -0,0 +1,25 @@
+#If you want to run icinga on your own subdomain, you can use this
+#example as a starting point
+
+
+
+ ServerName icinga.mydomain.com
+
+ DocumentRoot /usr/share/icinga/htdocs
+
+ ScriptAlias /cgi-bin/icinga /usr/lib/cgi-bin/icinga
+
+ # Where the stylesheets (config files) reside
+ Alias /stylesheets /etc/icinga/stylesheets
+
+
+ Options FollowSymLinks
+ Order allow,deny
+ Allow from all
+
+
+ ErrorLog ${APACHE_LOG_DIR}/icinga.error.log
+ CustomLog ${APACHE_LOG_DIR}/icinga.access.log combined
+
+
+
--- icinga-1.9.3.orig/debian/patches/00list
+++ icinga-1.9.3/debian/patches/00list
@@ -0,0 +1,5 @@
+50_cgi.cfg-debianize.dpatch
+51_commands.cfg-debianize.dpatch
+52_icinga.cfg-debianize.dpatch
+70_fix_eventhandler_paths.dpatch
+95_fix_db_upgrade.dpatch
--- icinga-1.9.3.orig/debian/patches/70_fix_eventhandler_paths.dpatch
+++ icinga-1.9.3/debian/patches/70_fix_eventhandler_paths.dpatch
@@ -0,0 +1,65 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 70_fix_eventhandler_paths.dpatch by Alexander Wirt
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixes paths for all contributed eventhandlers
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' icinga~/contrib/eventhandlers/distributed-monitoring/obsessive_svc_handler icinga/contrib/eventhandlers/distributed-monitoring/obsessive_svc_handler
+--- icinga~/contrib/eventhandlers/distributed-monitoring/obsessive_svc_handler 2011-05-11 10:04:31.000000000 +0200
++++ icinga/contrib/eventhandlers/distributed-monitoring/obsessive_svc_handler 2011-05-11 11:22:35.000000000 +0200
+@@ -21,7 +21,7 @@
+ #
+
+ # Location of the submit_check_result_via_nsca script
+-SubmitCmd="/usr/local/nagios/libexec/eventhandlers/submit_check_result_via_nsca"
++SubmitCmd="/usr/share/icinga/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca"
+
+ # Convert the state string to the corresponding return code
+ return_code=-1
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' icinga~/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca icinga/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca
+--- icinga~/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2011-05-11 10:04:31.000000000 +0200
++++ icinga/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2011-05-11 11:22:35.000000000 +0200
+@@ -27,8 +27,8 @@
+
+ printfcmd="/usr/bin/printf"
+
+-NscaBin="/usr/local/icinga/libexec/send_nsca"
+-NscaCfg="/usr/local/icinga/etc/send_nsca.cfg"
++NscaBin="/usr/sbin/send_nsca"
++NscaCfg="/etc/send_nsca.cfg"
+ IcingaHost="icingahost"
+
+ # Fire the data off to the NSCA daemon using the send_nsca script
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' icinga~/contrib/eventhandlers/redundancy-scenario1/handle-master-host-event icinga/contrib/eventhandlers/redundancy-scenario1/handle-master-host-event
+--- icinga~/contrib/eventhandlers/redundancy-scenario1/handle-master-host-event 2011-05-11 10:04:31.000000000 +0200
++++ icinga/contrib/eventhandlers/redundancy-scenario1/handle-master-host-event 2011-05-11 11:22:35.000000000 +0200
+@@ -9,10 +9,10 @@
+
+ # Location of the echo and mail commands
+ echocmd="/bin/echo"
+-mailcmd="/bin/mail"
++mailcmd="/usr//bin/mail"
+
+ # Location of the event handlers
+-eventhandlerdir="/usr/local/icinga/libexec/eventhandlers"
++eventhandlerdir="/usr/share/icinga/plugins/eventhandlers"
+
+
+ # Only take action on hard host states...
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' icinga~/contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event icinga/contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event
+--- icinga~/contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event 2011-05-11 10:04:31.000000000 +0200
++++ icinga/contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event 2011-05-11 11:22:35.000000000 +0200
+@@ -9,10 +9,10 @@
+
+ # Location of the echo and mail commands
+ echocmd="/bin/echo"
+-mailcmd="/bin/mail"
++mailcmd="/usr/bin/mail"
+
+ # Location of the event handlers
+-eventhandlerdir="/usr/local/icinga/libexec/eventhandlers"
++eventhandlerdir="/usr/share/icinga/plugins/eventhandlers"
+
+
+ # Only take action on hard service states...
--- icinga-1.9.3.orig/debian/patches/51_commands.cfg-debianize.dpatch
+++ icinga-1.9.3/debian/patches/51_commands.cfg-debianize.dpatch
@@ -0,0 +1,239 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 51_commands.cfg-debianize.dpatch by Alexander Wirt
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: debianize command.cfg
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-icinga~/sample-config/template-object/commands.cfg.in pkg-icinga/sample-config/template-object/commands.cfg.in
+--- pkg-icinga~/sample-config/template-object/commands.cfg.in 2011-11-26 09:14:41.000000000 +0100
++++ pkg-icinga/sample-config/template-object/commands.cfg.in 2011-11-26 09:20:26.775720348 +0100
+@@ -1,24 +1,19 @@
+ ###############################################################################
+ # COMMANDS.CFG - SAMPLE COMMAND DEFINITIONS FOR ICINGA
+-#
+ # NOTES: This config file provides you with some example command definitions
+ # that you can reference in host, service, and contact definitions.
+ #
+ # You don't need to keep commands in a separate file from your other
+ # object definitions. This has been done just to make things easier to
+ # understand.
+-#
+ ###############################################################################
+
+
+ ################################################################################
+-#
+ # SAMPLE NOTIFICATION COMMANDS
+-#
+ # These are some example notification commands. They may or may not work on
+ # your system without modification. As an example, some systems will require
+ # you to use "/usr/bin/mailx" instead of "/usr/bin/mail" in the commands below.
+-#
+ ################################################################################
+
+
+@@ -35,202 +30,12 @@
+ }
+
+
+-
+-
+-
+-################################################################################
+-#
+-# SAMPLE HOST CHECK COMMANDS
+-#
+-################################################################################
+-
+-
+-# This command checks to see if a host is "alive" by pinging it
+-# The check must result in a 100% packet loss or 5 second (5000ms) round trip
+-# average time to produce a critical error.
+-# Note: Five ICMP echo packets are sent (determined by the '-p 5' argument)
+-
+-# 'check-host-alive' command definition
+-define command{
+- command_name check-host-alive
+- command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
+- }
+-
+-
+-
+-
+-################################################################################
+-#
+-# SAMPLE SERVICE CHECK COMMANDS
+-#
+-# These are some example service check commands. They may or may not work on
+-# your system, as they must be modified for your plugins. See the HTML
+-# documentation on the plugins for examples of how to configure command definitions.
+-#
+-# NOTE: The following 'check_local_...' functions are designed to monitor
+-# various metrics on the host that Icinga is running on (i.e. this one).
+-################################################################################
+-
+-# 'check_local_disk' command definition
+-define command{
+- command_name check_local_disk
+- command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
+- }
+-
+-
+-# 'check_local_load' command definition
+-define command{
+- command_name check_local_load
+- command_line $USER1$/check_load -w $ARG1$ -c $ARG2$
+- }
+-
+-
+-# 'check_local_procs' command definition
+-define command{
+- command_name check_local_procs
+- command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
+- }
+-
+-
+-# 'check_local_users' command definition
+-define command{
+- command_name check_local_users
+- command_line $USER1$/check_users -w $ARG1$ -c $ARG2$
+- }
+-
+-
+-# 'check_local_swap' command definition
+-define command{
+- command_name check_local_swap
+- command_line $USER1$/check_swap -w $ARG1$ -c $ARG2$
+- }
+-
+-
+-# 'check_local_mrtgtraf' command definition
+-define command{
+- command_name check_local_mrtgtraf
+- command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$
+- }
+-
+-
+-################################################################################
+-# NOTE: The following 'check_...' commands are used to monitor services on
+-# both local and remote hosts.
+ ################################################################################
+-
+-# 'check_ftp' command definition
+-define command{
+- command_name check_ftp
+- command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$
+- }
+-
+-
+-# 'check_hpjd' command definition
+-define command{
+- command_name check_hpjd
+- command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$
+- }
+-
+-
+-# 'check_snmp' command definition
+-define command{
+- command_name check_snmp
+- command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
+- }
+-
+-
+-# 'check_http' command definition
+-define command{
+- command_name check_http
+- command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$
+- }
+-
+-
+-# 'check_ssh' command definition
+-define command{
+- command_name check_ssh
+- command_line $USER1$/check_ssh $ARG1$ $HOSTADDRESS$
+- }
+-
+-
+-# 'check_dhcp' command definition
+-define command{
+- command_name check_dhcp
+- command_line $USER1$/check_dhcp $ARG1$
+- }
+-
+-
+-# 'check_ping' command definition
+-define command{
+- command_name check_ping
+- command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
+- }
+-
+-
+-# 'check_pop' command definition
+-define command{
+- command_name check_pop
+- command_line $USER1$/check_pop -H $HOSTADDRESS$ $ARG1$
+- }
+-
+-
+-# 'check_imap' command definition
+-define command{
+- command_name check_imap
+- command_line $USER1$/check_imap -H $HOSTADDRESS$ $ARG1$
+- }
+-
+-
+-# 'check_smtp' command definition
+-define command{
+- command_name check_smtp
+- command_line $USER1$/check_smtp -H $HOSTADDRESS$ $ARG1$
+- }
+-
+-
+-# 'check_tcp' command definition
+-define command{
+- command_name check_tcp
+- command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
+- }
+-
+-
+-# 'check_udp' command definition
+-define command{
+- command_name check_udp
+- command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
+- }
+-
+-
+-# 'check_nt' command definition
+-define command{
+- command_name check_nt
+- command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
+- }
+-
+-
+-# 'check_dummy' command definition
+-define command{
+- command_name check_dummy
+- command_line $USER1$/check_dummy $ARG1$
+- }
+-
+-# 'check_icinga_startup_delay' command definition
+-define command {
+- command_name check_icinga_startup_delay
+- command_line $USER1$/check_dummy 0 "Icinga started with $$(($EVENTSTARTTIME$-$PROCESSSTARTTIME$)) seconds delay | delay=$$(($EVENTSTARTTIME$-$PROCESSSTARTTIME$))"
+-}
+-
+-
+-################################################################################
+-#
+ # SAMPLE PERFORMANCE DATA COMMANDS
+-#
+ # These are sample performance data commands that can be used to send performance
+ # data output to two text files (one for hosts, another for services). If you
+ # plan on simply writing performance data out to a file, consider using the
+ # host_perfdata_file and service_perfdata_file options in the main config file.
+-#
+ ################################################################################
+
+
+
--- icinga-1.9.3.orig/debian/patches/52_icinga.cfg-debianize.dpatch
+++ icinga-1.9.3/debian/patches/52_icinga.cfg-debianize.dpatch
@@ -0,0 +1,176 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 52_icinga.cfg-debianize.dpatch by Alexander Wirt
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: debianize the icinga config
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-icinga~/sample-config/icinga.cfg.in pkg-icinga/sample-config/icinga.cfg.in
+--- pkg-icinga~/sample-config/icinga.cfg.in 2012-05-11 22:33:54.000000000 +0200
++++ pkg-icinga/sample-config/icinga.cfg.in 2012-05-12 07:06:05.568825059 +0200
+@@ -14,9 +14,14 @@
+ # for historical purposes. This should be the first option specified
+ # in the config file!!!
+
+-log_file=@LOGDIR@/icinga.log
++log_file=/var/log/icinga/icinga.log
+
++# Commands definitions
++cfg_file=/etc/icinga/commands.cfg
+
++# Debian also defaults to using the check commands defined by the debian
++# nagios-plugins package
++cfg_dir=/etc/nagios-plugins/config
+
+ # OBJECT CONFIGURATION FILE(S)
+ # These are the object configuration files in which you define hosts,
+@@ -24,38 +29,10 @@
+ # Hint: Check the docs/wiki on how to monitor remote hosts with different
+ # transport methods and plugins
+
+-# You can tell Icinga to process all config files (with a .cfg
+-# extension) in a particular directory recursively by using the
+-# cfg_dir directive as shown below with conf.d
+-
+-cfg_dir=@sysconfdir@/conf.d
+-
+-# or you can split your object definitions across several config files
+-# and include them one by one - see the provided sample config
+-# in objects/
+-#
+-# ATTENTION: do not mix cfg_file and cfg_dir such as
+-# cfg_file=foo/bar.cfg
+-# cfg_dir=foo
+-# this will include bar.cfg 2 times and lead to config verification errors.
+-
+-# You can specify individual object config files as shown below:
+-cfg_file=@sysconfdir@/objects/commands.cfg
+-cfg_file=@sysconfdir@/objects/contacts.cfg
+-cfg_file=@sysconfdir@/objects/timeperiods.cfg
+-cfg_file=@sysconfdir@/objects/templates.cfg
+-
+-# Definitions for monitoring the local (Linux) host
+-cfg_file=@sysconfdir@/objects/localhost.cfg
+-
+-# Definitions for monitoring a Windows machine
+-#cfg_file=@sysconfdir@/objects/windows.cfg
+-
+-# Definitions for monitoring a router/switch
+-#cfg_file=@sysconfdir@/objects/switch.cfg
+-
+-# Definitions for monitoring a network printer
+-#cfg_file=@sysconfdir@/objects/printer.cfg
++# Debian uses by default a configuration directory where icinga-common,
++# other packages and the local admin can dump or link configuration
++# files into.
++cfg_dir=/etc/icinga/objects/
+
+ # Definitions for ido2db process checks
+ #cfg_file=@sysconfdir@/objects/ido2db_check_proc.cfg
+@@ -111,7 +88,7 @@
+ # The contents of the status file are deleted every time Icinga
+ # restarts.
+
+-status_file=@STATEDIR@/status.dat
++status_file=/var/lib/icinga/status.dat
+
+
+
+@@ -150,7 +127,7 @@
+ # you will have to enable this.
+ # Values: 0 = disable commands, 1 = enable commands
+
+-check_external_commands=1
++check_external_commands=0
+
+
+
+@@ -179,8 +156,10 @@
+ # is running as (usually 'nobody'). Permissions should be set at the
+ # directory level instead of on the file, as the file is deleted every
+ # time its contents are processed.
++# Debian Users: In case you didn't read README.Debian yet, _NOW_ is the
++# time to do it.
+
+-command_file=@EXTCMDFILEDIR@/icinga.cmd
++command_file=@localstatedir@/rw/icinga.cmd
+
+
+
+@@ -266,6 +245,11 @@
+ # Example:
+ # broker_module= [moduleargs]
+
++# Enabling idoutils in icinga.cfg is not recommended. If you want to
++# enable idoutils in Debian install icinga-idoutils and copy
++# /usr/share/doc/icinga-idoutils/examples/idoutils.cfg-sample to
++# /etc/icinga/modules/idoutils.cfg.
++# Don't forget to also enable the daemon in /etc/default/icinga
+ #broker_module=@libdir@/idomod.so config_file=@sysconfdir@/idomod.cfg
+
+
+@@ -287,7 +271,7 @@
+ # This is the directory where archived (rotated) log files should be
+ # placed (assuming you've chosen to do log rotation).
+
+-log_archive_path=@LOGDIR@/archives
++log_archive_path=/var/log/icinga/archives
+
+
+
+@@ -1211,7 +1195,7 @@
+ # strict-iso8601 (YYYY-MM-DDTHH:MM:SS)
+ #
+
+-date_format=us
++date_format=iso8601
+
+
+
+@@ -1241,7 +1225,7 @@
+ # embedded Perl interpreter) is located. If you didn't compile
+ # Icinga with embedded Perl support, this option has no effect.
+
+-p1_file=@P1FILELOC@/p1.pl
++p1_file=/usr/lib/icinga/p1.pl
+
+
+
+@@ -1255,7 +1239,7 @@
+ # Only enable this setting when you really know what you are doing!
+ # Values: 0 = disable interpreter, 1 = enable interpreter
+
+-enable_embedded_perl=0
++enable_embedded_perl=1
+
+
+
+@@ -1350,8 +1334,8 @@
+ # using the $ADMINEMAIL$ and $ADMINPAGER$ macros in your notification
+ # commands.
+
+-admin_email=@icinga_user@@localhost
+-admin_pager=page@icinga_user@@localhost
++admin_email=root@localhost
++admin_pager=pageroot@localhost
+
+
+
+@@ -1392,7 +1376,7 @@
+ # Values: 1 - Enable environment variable macros
+ # 0 - Disable environment variable macros (default)
+
+-enable_environment_macros=0
++enable_environment_macros=1
+
+
+
+@@ -1460,7 +1444,7 @@
+ # DEBUG FILE
+ # This option determines where Icinga should write debugging information.
+
+-debug_file=@LOGDIR@/icinga.debug
++debug_file=/var/log/icinga/icinga.debug
+
+
+
--- icinga-1.9.3.orig/debian/patches/50_cgi.cfg-debianize.dpatch
+++ icinga-1.9.3/debian/patches/50_cgi.cfg-debianize.dpatch
@@ -0,0 +1,33 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## cfg.cfg-debianize.dpatch by Alexander Wirt
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Debianize cgi.cfg
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-icinga~/sample-config/cgi.cfg.in pkg-icinga/sample-config/cgi.cfg.in
+--- pkg-icinga~/sample-config/cgi.cfg.in 2012-05-11 22:33:54.000000000 +0200
++++ pkg-icinga/sample-config/cgi.cfg.in 2012-06-01 08:42:30.385584123 +0200
+@@ -56,7 +56,22 @@
+
+ http_charset=utf-8
+
++# NAGIOS PROCESS CHECK COMMAND
++# This is the full path and filename of the program used to check
++# the status of the Nagios process. It is used only by the CGIs
++# and is completely optional. However, if you don't use it, you'll
++# see warning messages in the CGIs about the Nagios process
++# not running and you won't be able to execute any commands from
++# the web interface. The program should follow the same rules
++# as plugins; the return codes are the same as for the plugins,
++# it should have timeout protection, it should output something
++# to STDIO, etc.
++#
++# Note: The command line for the check_nagios plugin below may
++# have to be tweaked a bit, as different versions of the plugin
++# use different command line arguments/syntaxes.
+
++icinga_check_command=/usr/lib/nagios/plugins/check_nagios /var/lib/icinga/status.dat 5 '/usr/sbin/icinga'
+
+ # CONTEXT-SENSITIVE HELP
+ # This option determines whether or not a context-sensitive
--- icinga-1.9.3.orig/debian/patches/95_fix_db_upgrade.dpatch
+++ icinga-1.9.3/debian/patches/95_fix_db_upgrade.dpatch
@@ -0,0 +1,53 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 95_fix_db_upgrade.dpatch by Alexander Wirt
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-icinga~/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql pkg-icinga/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql
+--- pkg-icinga~/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql 2011-11-26 09:13:04.000000000 +0100
++++ pkg-icinga/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql 2012-04-07 22:25:04.000000000 +0200
+@@ -8,8 +8,6 @@
+ -- Please check http://docs.icinga.org for upgrading information!
+ -- -----------------------------------------
+
+-CREATE LANGUAGE plpgsql;
+-
+ -- -----------------------------------------
+ -- update dbversion
+ -- -----------------------------------------
+@@ -50,22 +48,6 @@
+
+
+ -- -----------------------------------------
+--- drop unique keys for check history
+--- -----------------------------------------
+-
+-ALTER TABLE icinga_servicechecks DROP CONSTRAINT icinga_servicechecks_instance_id_key;
+-
+-ALTER TABLE icinga_hostchecks DROP CONSTRAINT icinga_hostchecks_instance_id_key;
+-
+--- -----------------------------------------
+--- drop unique keys for * contacts
+--- -----------------------------------------
+-
+-ALTER TABLE icinga_service_contacts DROP CONSTRAINT icinga_service_contacts_instance_id_key;
+-ALTER TABLE icinga_host_contacts DROP CONSTRAINT icinga_host_contacts_instance_id_key;
+-
+-
+--- -----------------------------------------
+ -- add address6 column to hosts
+ -- -----------------------------------------
+
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-icinga~/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.5.0.sql pkg-icinga/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.5.0.sql
+--- pkg-icinga~/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.5.0.sql 2011-11-26 09:13:04.000000000 +0100
++++ pkg-icinga/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.5.0.sql 2012-04-07 22:25:04.000000000 +0200
+@@ -11,7 +11,6 @@
+ -- drop unique keys for multiline inserts
+ -- -----------------------------------------
+
+-ALTER TABLE icinga_timeperiod_timeranges DROP CONSTRAINT uq_timeperiod_timeranges;
+ ALTER TABLE icinga_host_parenthosts DROP CONSTRAINT uq_host_parenthosts;
+ ALTER TABLE icinga_host_contactgroups DROP CONSTRAINT uq_host_contactgroups;
+ ALTER TABLE icinga_service_contactgroups DROP CONSTRAINT uq_service_contactgroups;
--- icinga-1.9.3.orig/debian/patches/95_fix_db_upgrade.dpatch.diff
+++ icinga-1.9.3/debian/patches/95_fix_db_upgrade.dpatch.diff
@@ -0,0 +1,56 @@
+--- icinga-1.6.1.orig/debian/patches/95_fix_db_upgrade.dpatch
++++ icinga-1.6.1/debian/patches/95_fix_db_upgrade.dpatch
+@@ -0,0 +1,53 @@
++#! /bin/sh /usr/share/dpatch/dpatch-run
++## 95_fix_db_upgrade.dpatch by Alexander Wirt
++##
++## All lines beginning with `## DP:' are a description of the patch.
++## DP: No description.
++
++@DPATCH@
++diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-icinga~/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql pkg-icinga/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql
++--- pkg-icinga~/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql 2011-11-26 09:13:04.000000000 +0100
+++++ pkg-icinga/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.3.0.sql 2012-04-07 22:25:04.000000000 +0200
++@@ -8,8 +8,6 @@
++ -- Please check http://docs.icinga.org for upgrading information!
++ -- -----------------------------------------
++
++-CREATE LANGUAGE plpgsql;
++-
++ -- -----------------------------------------
++ -- update dbversion
++ -- -----------------------------------------
++@@ -50,22 +48,6 @@
++
++
++ -- -----------------------------------------
++--- drop unique keys for check history
++--- -----------------------------------------
++-
++-ALTER TABLE icinga_servicechecks DROP CONSTRAINT icinga_servicechecks_instance_id_key;
++-
++-ALTER TABLE icinga_hostchecks DROP CONSTRAINT icinga_hostchecks_instance_id_key;
++-
++--- -----------------------------------------
++--- drop unique keys for * contacts
++--- -----------------------------------------
++-
++-ALTER TABLE icinga_service_contacts DROP CONSTRAINT icinga_service_contacts_instance_id_key;
++-ALTER TABLE icinga_host_contacts DROP CONSTRAINT icinga_host_contacts_instance_id_key;
++-
++-
++--- -----------------------------------------
++ -- add address6 column to hosts
++ -- -----------------------------------------
++
++diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-icinga~/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.5.0.sql pkg-icinga/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.5.0.sql
++--- pkg-icinga~/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.5.0.sql 2011-11-26 09:13:04.000000000 +0100
+++++ pkg-icinga/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.5.0.sql 2012-04-07 22:25:04.000000000 +0200
++@@ -11,7 +11,6 @@
++ -- drop unique keys for multiline inserts
++ -- -----------------------------------------
++
++-ALTER TABLE icinga_timeperiod_timeranges DROP CONSTRAINT uq_timeperiod_timeranges;
++ ALTER TABLE icinga_host_parenthosts DROP CONSTRAINT uq_host_parenthosts;
++ ALTER TABLE icinga_host_contactgroups DROP CONSTRAINT uq_host_contactgroups;
++ ALTER TABLE icinga_service_contactgroups DROP CONSTRAINT uq_service_contactgroups;
--- icinga-1.9.3.orig/debian/patches/90_disable_standard_conforming_strings.dpatch
+++ icinga-1.9.3/debian/patches/90_disable_standard_conforming_strings.dpatch
@@ -0,0 +1,45 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disable_standard_conforming_strings.dpatch by Alexander Wirt
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-icinga~/module/idoutils/src/db.c pkg-icinga/module/idoutils/src/db.c
+--- pkg-icinga~/module/idoutils/src/db.c 2011-11-26 09:14:41.000000000 +0100
++++ pkg-icinga/module/idoutils/src/db.c 2012-04-07 09:41:27.178825882 +0200
+@@ -426,6 +426,9 @@
+ #endif
+ #ifdef USE_LIBDBI
+ const char *dbi_error;
++ const char *error_msg;
++ char *buf;
++ buf = NULL;
+ #endif
+ ido2db_log_debug_info(IDO2DB_DEBUGL_PROCESSINFO, 2, "ido2db_db_connect() start\n");
+
+@@ -529,6 +532,24 @@
+ idi->dbinfo.connected = IDO_TRUE;
+ syslog(LOG_USER | LOG_INFO, "Successfully connected to %s database", ido2db_db_settings.dbserver);
+ }
++
++
++ switch (idi->dbinfo.server_type) {
++ case IDO2DB_DBSERVER_PGSQL:
++ /* disable standardconforming strings for postgres,
++ * this should make idoutils compatible with 9.1 until
++ * there is a proper fix */
++ if (dbi_conn_query(idi->dbinfo.dbi_conn, "set standard_conforming_strings = off;") == NULL) {
++ dbi_conn_error(idi->dbinfo.dbi_conn, &error_msg);
++ syslog(LOG_USER | LOG_INFO, "Error: Could not unset standard_conforming_strings: %s\n", buf, error_msg);
++ } else {
++ syslog(LOG_USER | LOG_INFO, "Disable standard_conforming_strings in pgsql\n");
++ }
++ break;
++ default:
++ break;
++ }
++ free(buf);
+ #endif
+
+ #ifdef USE_PGSQL /* pgsql */
--- icinga-1.9.3.orig/debian/db/admin/pgsql
+++ icinga-1.9.3/debian/db/admin/pgsql
@@ -0,0 +1,18 @@
+CREATE OR REPLACE FUNCTION public.create_plpgsql_language ()
+ RETURNS TEXT
+ AS $$
+ CREATE LANGUAGE plpgsql;
+ SELECT 'language plpgsql created'::TEXT;
+ $$
+LANGUAGE 'sql';
+
+SELECT CASE WHEN
+ (SELECT true::BOOLEAN
+ FROM pg_language
+ WHERE lanname='plpgsql')
+ THEN
+ (SELECT 'language already installed'::TEXT)
+ ELSE
+ (SELECT public.create_plpgsql_language())
+ END;
+DROP FUNCTION public.create_plpgsql_language ();