maybe chmod 0644 'icinga2/constants.conf.orig'
maybe chmod 0755 'icinga2/features-available'
maybe chmod 0644 'icinga2/features-available/api.conf'
-maybe chmod 0644 'icinga2/features-available/api.conf.orig'
+maybe chmod 0644 'icinga2/features-available/api.conf.bak.2017-10-13'
+maybe chmod 0644 'icinga2/features-available/api.conf.orig.2017-10-13'
+maybe chmod 0644 'icinga2/features-available/api.conf.orig.2017-11-16'
maybe chmod 0644 'icinga2/features-available/checker.conf'
maybe chmod 0644 'icinga2/features-available/command.conf'
maybe chmod 0644 'icinga2/features-available/compatlog.conf'
maybe chown 'nagios' 'icinga2/pki/ca.crt'
maybe chgrp 'nagios' 'icinga2/pki/ca.crt'
maybe chmod 0644 'icinga2/pki/ca.crt'
-maybe chmod 0644 'icinga2/pki/ca.crt.orig'
maybe chown 'nagios' 'icinga2/pki/ns2.uhu-banane.de.crt'
maybe chgrp 'nagios' 'icinga2/pki/ns2.uhu-banane.de.crt'
maybe chmod 0644 'icinga2/pki/ns2.uhu-banane.de.crt'
-maybe chmod 0644 'icinga2/pki/ns2.uhu-banane.de.crt.orig'
maybe chown 'nagios' 'icinga2/pki/ns2.uhu-banane.de.csr'
maybe chgrp 'nagios' 'icinga2/pki/ns2.uhu-banane.de.csr'
maybe chmod 0644 'icinga2/pki/ns2.uhu-banane.de.csr'
maybe chown 'nagios' 'icinga2/pki/ns2.uhu-banane.de.key'
maybe chgrp 'nagios' 'icinga2/pki/ns2.uhu-banane.de.key'
maybe chmod 0600 'icinga2/pki/ns2.uhu-banane.de.key'
-maybe chmod 0600 'icinga2/pki/ns2.uhu-banane.de.key.orig'
maybe chmod 0755 'icinga2/repository.d'
maybe chmod 0644 'icinga2/repository.d/README'
maybe chmod 0755 'icinga2/scripts'
/**
* The API listener is used for distributed monitoring setups.
*/
-object ApiListener "api" {
- cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
- key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
- ca_path = SysconfDir + "/icinga2/pki/ca.crt"
+object ApiListener "api" {
accept_config = true
accept_commands = true
--- /dev/null
+/**
+ * The API listener is used for distributed monitoring setups.
+ */
+object ApiListener "api" {
+ cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
+ key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
+ ca_path = SysconfDir + "/icinga2/pki/ca.crt"
+
+ accept_config = true
+ accept_commands = true
+
+ ticket_salt = TicketSalt
+}
+++ /dev/null
-/**
- * The API listener is used for distributed monitoring setups.
- */
-
-object ApiListener "api" {
- cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
- key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
- ca_path = SysconfDir + "/icinga2/pki/ca.crt"
-
- ticket_salt = TicketSalt
-}
--- /dev/null
+/**
+ * The API listener is used for distributed monitoring setups.
+ */
+
+object ApiListener "api" {
+ cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
+ key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
+ ca_path = SysconfDir + "/icinga2/pki/ca.crt"
+
+ ticket_salt = TicketSalt
+}
--- /dev/null
+/**
+ * The API listener is used for distributed monitoring setups.
+ */
+
+object ApiListener "api" {
+ //accept_config = false
+ //accept_commands = false
+
+ ticket_salt = TicketSalt
+}
+++ /dev/null
------BEGIN CERTIFICATE-----
-MIIEyTCCArGgAwIBAgIUOhlcKLHR6sCx6bMjTVcUnw8KUbIwDQYJKoZIhvcNAQEL
-BQAwFDESMBAGA1UEAwwJSWNpbmdhIENBMB4XDTE3MDkyMTIwNTE0NloXDTMyMDkx
-NzIwNTE0NlowFDESMBAGA1UEAwwJSWNpbmdhIENBMIICIjANBgkqhkiG9w0BAQEF
-AAOCAg8AMIICCgKCAgEA2d5iLRPzyX13Vq/rZLpgKlRmhw0ttgfb8uuLk5Y+2V/j
-iysU7xr9kGvruV6x+hB1jEGdSYY51wsCeugdfhGFqg3HCk145Dc5CgwU2PLl3VUw
-P99oAKv0wwaxiDf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