]> git.hoellein.online Git - homeserver/commitdiff
committing changes in /etc after apt run
authormhoellein <mhoellein@freenet.de>
Thu, 6 Aug 2020 08:11:42 +0000 (10:11 +0200)
committermhoellein <mhoellein@freenet.de>
Thu, 6 Aug 2020 08:11:42 +0000 (10:11 +0200)
Package changes:
-icinga2 2.11.4-1.bionic amd64
-icinga2-bin 2.11.4-1.bionic amd64
-icinga2-common 2.11.4-1.bionic all
-icinga2-ido-mysql 2.11.4-1.bionic amd64
+icinga2 2.12.0-1.bionic amd64
+icinga2-bin 2.12.0-1.bionic amd64
+icinga2-common 2.12.0-1.bionic all
+icinga2-ido-mysql 2.12.0-1.bionic amd64
-kmod 24-1ubuntu3.4 amd64
+kmod 24-1ubuntu3.5 amd64
-libkmod2 24-1ubuntu3.4 amd64
+libkmod2 24-1ubuntu3.5 amd64
-libpam-systemd 237-3ubuntu10.41 amd64
+libpam-systemd 237-3ubuntu10.42 amd64
-libsystemd-dev 237-3ubuntu10.41 amd64
+libsystemd-dev 237-3ubuntu10.42 amd64
-libsystemd0 237-3ubuntu10.41 amd64
-libsystemd0 237-3ubuntu10.41 i386
+libsystemd0 237-3ubuntu10.42 amd64
+libsystemd0 237-3ubuntu10.42 i386
-libudev1 237-3ubuntu10.41 amd64
-libudev1 237-3ubuntu10.41 i386
+libudev1 237-3ubuntu10.42 amd64
+libudev1 237-3ubuntu10.42 i386
-module-init-tools 24-1ubuntu3.4 all
+module-init-tools 24-1ubuntu3.5 all
-openjdk-8-jre 8u252-b09-1~18.04 amd64
-openjdk-8-jre-headless 8u252-b09-1~18.04 amd64
+openjdk-8-jre 8u265-b01-0ubuntu2~18.04 amd64
+openjdk-8-jre-headless 8u265-b01-0ubuntu2~18.04 amd64
-systemd 237-3ubuntu10.41 amd64
-systemd-coredump 237-3ubuntu10.41 amd64
+systemd 237-3ubuntu10.42 amd64
+systemd-coredump 237-3ubuntu10.42 amd64
-systemd-sysv 237-3ubuntu10.41 amd64
+systemd-sysv 237-3ubuntu10.42 amd64
-udev 237-3ubuntu10.41 amd64
+udev 237-3ubuntu10.42 amd64
-vim-icinga2 2.11.4-1.bionic all
+vim-icinga2 2.12.0-1.bionic all

.etckeeper
icinga2/features-available/icingadb.conf [new file with mode: 0644]
icinga2/features-available/opentsdb.conf
icinga2/scripts/mail-host-notification.sh
icinga2/scripts/mail-service-notification.sh
java-8-openjdk/security/java.security

index f3d81037bd927aaa7ee8f9869c12e7e960ea6836..aa66e08aa05a585fad92c122ee599ab3a7c966d3 100755 (executable)
@@ -2774,7 +2774,7 @@ maybe chgrp 'nagios' 'icinga2/conf.d/users.conf'
 maybe chmod 0644 'icinga2/conf.d/users.conf'
 maybe chown 'nagios' 'icinga2/constants.conf'
 maybe chgrp 'nagios' 'icinga2/constants.conf'
-maybe chmod 0644 'icinga2/constants.conf'
+maybe chmod 0640 'icinga2/constants.conf'
 maybe chown 'nagios' 'icinga2/constants.conf.orig'
 maybe chgrp 'nagios' 'icinga2/constants.conf.orig'
 maybe chmod 0640 'icinga2/constants.conf.orig'
@@ -2805,6 +2805,9 @@ maybe chmod 0644 'icinga2/features-available/gelf.conf'
 maybe chown 'nagios' 'icinga2/features-available/graphite.conf'
 maybe chgrp 'nagios' 'icinga2/features-available/graphite.conf'
 maybe chmod 0644 'icinga2/features-available/graphite.conf'
+maybe chown 'nagios' 'icinga2/features-available/icingadb.conf'
+maybe chgrp 'nagios' 'icinga2/features-available/icingadb.conf'
+maybe chmod 0644 'icinga2/features-available/icingadb.conf'
 maybe chown 'nagios' 'icinga2/features-available/ido-mysql.conf'
 maybe chgrp 'nagios' 'icinga2/features-available/ido-mysql.conf'
 maybe chmod 0600 'icinga2/features-available/ido-mysql.conf'
diff --git a/icinga2/features-available/icingadb.conf b/icinga2/features-available/icingadb.conf
new file mode 100644 (file)
index 0000000..9951c83
--- /dev/null
@@ -0,0 +1,5 @@
+object IcingaDB "icingadb" {
+  //host = "127.0.0.1"
+  //port = 6380
+  //password = "xxx"
+}
index 540556c101b740d1c81fb43d57da10d4f654a65c..471a6226845169e5d32dd50dacf08e3d7b7bcc2c 100644 (file)
@@ -6,4 +6,20 @@
 object OpenTsdbWriter "opentsdb" {
   //host = "127.0.0.1"
   //port = 4242
+  //enable_generic_metrics = false
+
+  // Custom Tagging, refer to Icinga object type documentation for
+  // OpenTsdbWriter
+  //host_template = {
+  //  metric = "icinga.host"
+  //  tags = {
+  //    zone = "$host.zone$"
+  //  }
+  //}
+  //service_template = {
+  //  metric = "icinga.service.$service.check_command$"
+  //  tags = {
+  //    zone = "$service.zone$"
+  //  }
+  //}
 }
index 93f942e13f167ddd7109f39e8305ef49c8b1731c..2a2c011f6b4ea8fdf8c9d45d70694761c953762d 100755 (executable)
@@ -145,7 +145,7 @@ $ICINGAWEB2URL/monitoring/host/show?host=$(urlencode "$HOSTNAME")"
 fi
 
 ## Check whether verbose mode was enabled and log to syslog.
-if [ "$VERBOSE" == "true" ] ; then
+if [ "$VERBOSE" = "true" ] ; then
   logger "$PROG sends $SUBJECT => $USEREMAIL"
 fi
 
@@ -157,15 +157,13 @@ if [ -n "$MAILFROM" ] ; then
 
   ## Debian/Ubuntu use mailutils which requires `-a` to append the header
   if [ -f /etc/debian_version ]; then
-    /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
-    | $MAILBIN -a "From: $MAILFROM" -s "$SUBJECT" $USEREMAIL
+    /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | $MAILBIN -a "From: $MAILFROM" -s "$SUBJECT" $USEREMAIL
   ## Other distributions (RHEL/SUSE/etc.) prefer mailx which sets a sender address with `-r`
   else
-    /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
-    | $MAILBIN -r "$MAILFROM" -s "$SUBJECT" $USEREMAIL
+    /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | $MAILBIN -r "$MAILFROM" -s "$SUBJECT" $USEREMAIL
   fi
 
 else
-  /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
+  /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" \
   | $MAILBIN -s "$SUBJECT" $USEREMAIL
 fi
index 8ccb8d45653205a3c653369abaa989fd6371645d..c901f234dcbb7493731efffbb37b41d62b8c13e1 100755 (executable)
@@ -150,7 +150,7 @@ $ICINGAWEB2URL/monitoring/service/show?host=$(urlencode "$HOSTNAME")&service=$(u
 fi
 
 ## Check whether verbose mode was enabled and log to syslog.
-if [ "$VERBOSE" == "true" ] ; then
+if [ "$VERBOSE" = "true" ] ; then
   logger "$PROG sends $SUBJECT => $USEREMAIL"
 fi
 
@@ -162,15 +162,13 @@ if [ -n "$MAILFROM" ] ; then
 
   ## Debian/Ubuntu use mailutils which requires `-a` to append the header
   if [ -f /etc/debian_version ]; then
-    /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
-    | $MAILBIN -a "From: $MAILFROM" -s "$SUBJECT" $USEREMAIL
+    /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | $MAILBIN -a "From: $MAILFROM" -s "$SUBJECT" $USEREMAIL
   ## Other distributions (RHEL/SUSE/etc.) prefer mailx which sets a sender address with `-r`
   else
-    /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
-    | $MAILBIN -r "$MAILFROM" -s "$SUBJECT" $USEREMAIL
+    /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | $MAILBIN -r "$MAILFROM" -s "$SUBJECT" $USEREMAIL
   fi
 
 else
-  /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
+  /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" \
   | $MAILBIN -s "$SUBJECT" $USEREMAIL
 fi
index bf77d5ffcada5d37706850cef1e8f147d122929a..ad8393c147b1892ad0bfefe0577c5cfc4db52964 100644 (file)
@@ -224,7 +224,10 @@ package.access=sun.,\
                jdk.nashorn.internal.,\
                jdk.nashorn.tools.,\
                jdk.xml.internal.,\
-               com.sun.activation.registries.
+               com.sun.activation.registries.,\
+               jdk.jfr.events.,\
+               jdk.jfr.internal.,\
+               jdk.management.jfr.internal.
 
 #
 # List of comma-separated packages that start with or equal this string
@@ -274,7 +277,10 @@ package.definition=sun.,\
                    jdk.nashorn.internal.,\
                    jdk.nashorn.tools.,\
                    jdk.xml.internal.,\
-                   com.sun.activation.registries.
+                   com.sun.activation.registries.,\
+                   jdk.jfr.events.,\
+                   jdk.jfr.internal.,\
+                   jdk.management.jfr.internal.
 
 #
 # Determines whether this properties file can be appended to