diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-12-31 18:11:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-12-31 18:11:15 +0000 |
commit | 4b8962ca75178ff12f5db4f49833b8849f1d4bb2 (patch) | |
tree | 8261c750743286085b797e70bcd37b72362040af | |
parent | Updating TODO file. (diff) | |
download | netdata-4b8962ca75178ff12f5db4f49833b8849f1d4bb2.tar.xz netdata-4b8962ca75178ff12f5db4f49833b8849f1d4bb2.zip |
Removing debconf-handling of health_alarm_notify.conf for now, will reintroduce it properly with ucf after some reworking/generalization (Closes: #904459).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/netdata.config | 20 | ||||
-rw-r--r-- | debian/netdata.postinst.in | 26 | ||||
-rw-r--r-- | debian/netdata.templates | 14 | ||||
-rw-r--r-- | debian/po/POTFILES.in | 1 | ||||
-rw-r--r-- | debian/po/de.po | 54 | ||||
-rw-r--r-- | debian/po/fr.po | 52 | ||||
-rw-r--r-- | debian/po/nl.po | 52 | ||||
-rw-r--r-- | debian/po/pt.po | 50 | ||||
-rw-r--r-- | debian/po/ru.po | 52 | ||||
-rw-r--r-- | debian/po/templates.pot | 50 |
10 files changed, 0 insertions, 371 deletions
diff --git a/debian/netdata.config b/debian/netdata.config deleted file mode 100644 index eb2796f47..000000000 --- a/debian/netdata.config +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -set -e - -CONFFILE="/etc/netdata/health_alarm_notify.conf" - -. /usr/share/debconf/confmodule - -if [ -e "${CONFFILE}" ]; then - # contains bashisms - . ${CONFFILE} || true - - db_set netdata/send_email "${SEND_EMAIL}" -fi - -db_settitle netdata/title -db_input low netdata/send_email || true -db_go - -db_stop diff --git a/debian/netdata.postinst.in b/debian/netdata.postinst.in index 49ed64955..d4fe0171c 100644 --- a/debian/netdata.postinst.in +++ b/debian/netdata.postinst.in @@ -2,34 +2,8 @@ set -e -CONFFILE="/etc/netdata/health_alarm_notify.conf" - -. /usr/share/debconf/confmodule - case "$1" in configure) - db_get netdata/send_email - SEND_EMAIL="${RET:-true}" # boolean - - db_stop - - case "${SEND_EMAIL}" in - true) - SEND_EMAIL="YES" - ;; - - *) - SEND_EMAIL="NO" - ;; - esac - - if [ -e "${CONFFILE}" ]; then - sed -e "s|^ *SEND_EMAIL=.*|SEND_EMAIL=\"${SEND_EMAIL}\"|" \ - < "${CONFFILE}" > "${CONFFILE}.tmp" - - mv -f "${CONFFILE}.tmp" "${CONFFILE}" - fi - if [ -z "$2" ]; then if ! getent group netdata >/dev/null; then addgroup --quiet --system netdata diff --git a/debian/netdata.templates b/debian/netdata.templates deleted file mode 100644 index b21b81e39..000000000 --- a/debian/netdata.templates +++ /dev/null @@ -1,14 +0,0 @@ -Template: netdata/title -Type: title -_Description: netdata: Configuration - -Template: netdata/send_email -Type: boolean -Default: true -_Description: send emails: - netdata sends emails for warnings and alerts to root@localhost for - monitoring purposes. Potentially this can trigger a lot of emails. - . - Please choose to enable or disable sending emails. - . - If unsure, allow it to send emails (default). diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in deleted file mode 100644 index e40390257..000000000 --- a/debian/po/POTFILES.in +++ /dev/null @@ -1 +0,0 @@ -[type: gettext/rfc822deb] netdata.templates diff --git a/debian/po/de.po b/debian/po/de.po deleted file mode 100644 index 1333b088f..000000000 --- a/debian/po/de.po +++ /dev/null @@ -1,54 +0,0 @@ -# German debconf translation of netdata -# Copyright (C) 2018 Helge Kreutzmann <debian@helgefjell.de> -# This file is distributed under the same license as the netdata package. -# -msgid "" -msgstr "" -"Project-Id-Version: netdata 1.10.0+dfsg-1\n" -"Report-Msgid-Bugs-To: netdata@packages.debian.org\n" -"POT-Creation-Date: 2018-02-27 10:30+0100\n" -"PO-Revision-Date: 2018-08-18 13:32+0200\n" -"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n" -"Language-Team: german <debian-l10n-german@lists.debian.org>\n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: title -#. Description -#: ../netdata.templates:1001 -msgid "netdata: Configuration" -msgstr "netdata: Konfiguration" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "send emails:" -msgstr "E-Mails versenden:" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "" -"netdata sends emails for warnings and alerts to root@localhost for " -"monitoring purposes. Potentially this can trigger a lot of emails." -msgstr "" -"Netdata sendet zu Überwachungszwecken E-Mails mit Warnungen und Alarmen an " -"root@localhost. Dies kann ein hohes E-Mailaufkommen nach sich ziehen." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "Please choose to enable or disable sending emails." -msgstr "" -"Bitte wählen Sie aus, ob Sie das Senden von E-Mails aktivieren oder " -"deaktivieren möchten." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "If unsure, allow it to send emails (default)." -msgstr "" -"Wenn Sie unsicher sind, erlauben Sie das (voreingestellte) Versenden von E-" -"Mails." diff --git a/debian/po/fr.po b/debian/po/fr.po deleted file mode 100644 index 387018335..000000000 --- a/debian/po/fr.po +++ /dev/null @@ -1,52 +0,0 @@ -# French debconf translation of netdata -# Copyright (C) 2018 Alban Vidal <alban.vidal@zordhak.fr> -# This file is distributed under the same license as the netdata package. -msgid "" -msgstr "" -"Project-Id-Version: netdata 1.10.0\n" -"Report-Msgid-Bugs-To: netdata@packages.debian.org\n" -"POT-Creation-Date: 2018-02-27 10:30+0100\n" -"PO-Revision-Date: 2018-05-12 22:25+0100\n" -"Last-Translator: Alban Vidal <alban.vidal@zordhak.fr>\n" -"Language-Team: French <debian-l10n-french@lists.debian.org>\n" -"Language: fr\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: title -#. Description -#: ../netdata.templates:1001 -msgid "netdata: Configuration" -msgstr "netdata : configuration" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "send emails:" -msgstr "Envoi des courriels :" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "" -"netdata sends emails for warnings and alerts to root@localhost for " -"monitoring purposes. Potentially this can trigger a lot of emails." -msgstr "" -"netdata envoie des courriels d'avertissement et d'alerte à root@localhost " -"à des fins de surveillance. Potentiellement, cela peut produire l'envoi de " -"beaucoup de courriels." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "Please choose to enable or disable sending emails." -msgstr "" -"Veuillez choisir si vous souhaitez activer ou non l'envoi des courriels." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "If unsure, allow it to send emails (default)." -msgstr "Si vous n'êtes pas sûr, autorisez l'envoi des courriels (par défaut)." diff --git a/debian/po/nl.po b/debian/po/nl.po deleted file mode 100644 index 1b00501d0..000000000 --- a/debian/po/nl.po +++ /dev/null @@ -1,52 +0,0 @@ -# Dutch debconf translation of netdata -# Copyright (C) 2018 Frans Spiesschaert <Frans.Spiesschaert@yucom.be> -# This file is distributed under the same license as the netdata package. -# -msgid "" -msgstr "" -"Project-Id-Version: netdata 1.10.0+dfsg-1\n" -"Report-Msgid-Bugs-To: netdata@packages.debian.org\n" -"POT-Creation-Date: 2018-02-27 10:30+0100\n" -"PO-Revision-Date: 2018-05-08 15:18+0200\n" -"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n" -"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n" -"Language: nl\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: title -#. Description -#: ../netdata.templates:1001 -msgid "netdata: Configuration" -msgstr "netdata: configuratie" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "send emails:" -msgstr "e-mails sturen:" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "" -"netdata sends emails for warnings and alerts to root@localhost for " -"monitoring purposes. Potentially this can trigger a lot of emails." -msgstr "" -"In functie van toezicht stuurt netdata bij waarschuwingen en problemen een e-" -"mail naar root@localhost. Mogelijk kan dit om veel e-mails gaan." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "Please choose to enable or disable sending emails." -msgstr "" -"Kies of het sturen van e-mails geactiveerd of uitgeschakeld moet worden." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "If unsure, allow it to send emails (default)." -msgstr "Laat bij twijfel het sturen van e-mails toe (standaard)." diff --git a/debian/po/pt.po b/debian/po/pt.po deleted file mode 100644 index 42f64fbf5..000000000 --- a/debian/po/pt.po +++ /dev/null @@ -1,50 +0,0 @@ -# Portuguese debconf translation of netdata -# Copyright (C) 2018 Rui Branco <ruipb@debianpt.org> -# This file is distributed under the same license as the netdata package. -msgid "" -msgstr "" -"Project-Id-Version: netdata\n" -"Report-Msgid-Bugs-To: netdata@packages.debian.org\n" -"POT-Creation-Date: 2018-02-27 10:30+0100\n" -"PO-Revision-Date: 2018-05-09 20:33+0000\n" -"Last-Translator: Rui Branco - DebianPT <ruipb@debianpt.org>\n" -"Language-Team: Portuguese <traduz@debianpt.org>\n" -"Language: pt\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: title -#. Description -#: ../netdata.templates:1001 -msgid "netdata: Configuration" -msgstr "netdata: Configuração" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "send emails:" -msgstr "enviar emails:" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "" -"netdata sends emails for warnings and alerts to root@localhost for " -"monitoring purposes. Potentially this can trigger a lot of emails." -msgstr "" -"O netdata envia emails de avisos e alertas para root@localhost " -"com objectivos de monitorização. Podem ser gerados muitos emails." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "Please choose to enable or disable sending emails." -msgstr "Por favor escolha activar ou desactivar o envio de emails." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "If unsure, allow it to send emails (default)." -msgstr "Na dúvida, permita o envio de emails (predefinição)." diff --git a/debian/po/ru.po b/debian/po/ru.po deleted file mode 100644 index e0dbf7ceb..000000000 --- a/debian/po/ru.po +++ /dev/null @@ -1,52 +0,0 @@ -# Russian debconf translation of netdata -# Copyright (C) 2018 Lev Lamberov <dogsleg@debian.org> -# This file is distributed under the same license as the netdata package. -msgid "" -msgstr "" -"Project-Id-Version: netdata\n" -"Report-Msgid-Bugs-To: netdata@packages.debian.org\n" -"POT-Creation-Date: 2018-02-27 10:30+0100\n" -"PO-Revision-Date: 2018-05-06 12:23+0500\n" -"Last-Translator: Lev Lamberov <dogsleg@debian.org>\n" -"Language-Team: Debian L10n Russian <debian-l10n-russian@lists.debian.org>\n" -"Language: ru\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%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#. Type: title -#. Description -#: ../netdata.templates:1001 -msgid "netdata: Configuration" -msgstr "netdata: Настройка" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "send emails:" -msgstr "отправка электронной почты:" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "" -"netdata sends emails for warnings and alerts to root@localhost for " -"monitoring purposes. Potentially this can trigger a lot of emails." -msgstr "" -"Утилита netdata с целью мониторинга отправляет электронную почту с " -"предупреждениями и оповещениями об опасной ситуации по адресу " -"root@localhost. Это может привести к отправке большого количества сообщений." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "Please choose to enable or disable sending emails." -msgstr "Выберите, включить или отключить отправку сообщений." - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "If unsure, allow it to send emails (default)." -msgstr "Если вы не уверены, то разрешите отправку сообщений (по умолчанию)." diff --git a/debian/po/templates.pot b/debian/po/templates.pot deleted file mode 100644 index ca5f41a0b..000000000 --- a/debian/po/templates.pot +++ /dev/null @@ -1,50 +0,0 @@ -# Messages for netdata email configuration -# Copyright (C) 2018 -# This file is distributed under the same license as the netdata package. -# Daniel Baumann <daniel.baumann@progress-linux.org> -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: netdata\n" -"Report-Msgid-Bugs-To: netdata@packages.debian.org\n" -"POT-Creation-Date: 2018-02-27 10:30+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#. Type: title -#. Description -#: ../netdata.templates:1001 -msgid "netdata: Configuration" -msgstr "" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "send emails:" -msgstr "" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "" -"netdata sends emails for warnings and alerts to root@localhost for " -"monitoring purposes. Potentially this can trigger a lot of emails." -msgstr "" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "Please choose to enable or disable sending emails." -msgstr "" - -#. Type: boolean -#. Description -#: ../netdata.templates:2001 -msgid "If unsure, allow it to send emails (default)." -msgstr "" |