maybe chmod 0644 'icinga2/conf.d/users.conf'
maybe chown 'nagios' 'icinga2/constants.conf'
maybe chgrp 'nagios' 'icinga2/constants.conf'
-maybe chmod 0640 'icinga2/constants.conf'
+maybe chmod 0644 'icinga2/constants.conf'
maybe chown 'nagios' 'icinga2/constants.conf.orig'
maybe chgrp 'nagios' 'icinga2/constants.conf.orig'
maybe chmod 0640 'icinga2/constants.conf.orig'
maybe chown 'nagios' 'icinga2/features-available/api.conf'
maybe chgrp 'nagios' 'icinga2/features-available/api.conf'
maybe chmod 0644 'icinga2/features-available/api.conf'
+maybe chown 'nagios' 'icinga2/features-available/api.conf.orig'
+maybe chgrp 'nagios' 'icinga2/features-available/api.conf.orig'
+maybe chmod 0644 'icinga2/features-available/api.conf.orig'
maybe chown 'nagios' 'icinga2/features-available/checker.conf'
maybe chgrp 'nagios' 'icinga2/features-available/checker.conf'
maybe chmod 0644 'icinga2/features-available/checker.conf'
maybe chmod 0750 'icinga2/features-enabled'
maybe chown 'nagios' 'icinga2/icinga2.conf'
maybe chgrp 'nagios' 'icinga2/icinga2.conf'
-maybe chmod 0640 'icinga2/icinga2.conf'
+maybe chmod 0644 'icinga2/icinga2.conf'
+maybe chown 'nagios' 'icinga2/icinga2.conf.orig'
+maybe chgrp 'nagios' 'icinga2/icinga2.conf.orig'
+maybe chmod 0640 'icinga2/icinga2.conf.orig'
maybe chown 'nagios' 'icinga2/pki'
maybe chgrp 'nagios' 'icinga2/pki'
maybe chmod 0700 'icinga2/pki'
maybe chmod 0755 'icinga2/scripts/mail-service-notification.sh'
maybe chown 'nagios' 'icinga2/zones.conf'
maybe chgrp 'nagios' 'icinga2/zones.conf'
-maybe chmod 0640 'icinga2/zones.conf'
+maybe chmod 0644 'icinga2/zones.conf'
+maybe chown 'nagios' 'icinga2/zones.conf.orig'
+maybe chgrp 'nagios' 'icinga2/zones.conf.orig'
+maybe chmod 0640 'icinga2/zones.conf.orig'
maybe chown 'nagios' 'icinga2/zones.d'
maybe chgrp 'nagios' 'icinga2/zones.d'
maybe chmod 0750 'icinga2/zones.d'
maybe chmod 0644 'letsencrypt/csr/2656_csr-certbot.pem'
maybe chmod 0644 'letsencrypt/csr/2657_csr-certbot.pem'
maybe chmod 0644 'letsencrypt/csr/2658_csr-certbot.pem'
+maybe chmod 0644 'letsencrypt/csr/2659_csr-certbot.pem'
+maybe chmod 0644 'letsencrypt/csr/2660_csr-certbot.pem'
maybe chmod 0700 'letsencrypt/keys'
maybe chmod 0600 'letsencrypt/keys/0000_key-certbot.pem'
maybe chmod 0600 'letsencrypt/keys/0001_key-certbot.pem'
maybe chmod 0600 'letsencrypt/keys/2656_key-certbot.pem'
maybe chmod 0600 'letsencrypt/keys/2657_key-certbot.pem'
maybe chmod 0600 'letsencrypt/keys/2658_key-certbot.pem'
+maybe chmod 0600 'letsencrypt/keys/2659_key-certbot.pem'
+maybe chmod 0600 'letsencrypt/keys/2660_key-certbot.pem'
maybe chmod 0755 'letsencrypt/live'
maybe chmod 0755 'letsencrypt/live/ccu.hoellein.online'
maybe chmod 0644 'letsencrypt/live/ccu.hoellein.online/README'
/* Our local instance name. By default this is the server's hostname as returned by `hostname --fqdn`.
* This should be the common name from the API certificate.
*/
-const NodeName = "homeserver"
+const NodeName = "home.hoellein.online"
/* Our local zone name. */
-const ZoneName = "homeserver"
+const ZoneName = "home.hoellein.online"
/* Secret key for remote node tickets */
const TicketSalt = ""
/**
* The API listener is used for distributed monitoring setups.
*/
-
object ApiListener "api" {
- //accept_config = false
- //accept_commands = false
-
- ticket_salt = TicketSalt
+ accept_config = true
+ accept_commands = true
}
--- /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
-../features-available/notification.conf
\ No newline at end of file
* the preferred way is to create separate directories and files in the conf.d
* directory. Each of these files must have the file extension ".conf".
*/
-include_recursive "conf.d"
+// Disabled by the node setup CLI command on 2021-05-19 14:14:51 +0200
+// Disabled by the node setup CLI command on 2021-05-19 14:49:59 +0200
+// Disabled by the node setup CLI command on 2021-05-19 15:03:58 +0200
+// include_recursive "conf.d"
--- /dev/null
+/**
+ * Icinga 2 configuration file
+ * - this is where you define settings for the Icinga application including
+ * which hosts/services to check.
+ *
+ * For an overview of all available configuration options please refer
+ * to the documentation that is distributed as part of Icinga 2.
+ */
+
+/**
+ * The constants.conf defines global constants.
+ */
+include "constants.conf"
+
+/**
+ * The zones.conf defines zones for a cluster setup.
+ * Not required for single instance setups.
+ */
+include "zones.conf"
+
+/**
+ * The Icinga Template Library (ITL) provides a number of useful templates
+ * and command definitions.
+ * Common monitoring plugin command definitions are included separately.
+ */
+include <itl>
+include <plugins>
+include <plugins-contrib>
+include <manubulon>
+
+/**
+ * This includes the Icinga 2 Windows plugins. These command definitions
+ * are required on a master node when a client is used as command endpoint.
+ */
+include <windows-plugins>
+
+/**
+ * This includes the NSClient++ check commands. These command definitions
+ * are required on a master node when a client is used as command endpoint.
+ */
+include <nscp>
+
+/**
+ * The features-available directory contains a number of configuration
+ * files for features which can be enabled and disabled using the
+ * icinga2 feature enable / icinga2 feature disable CLI commands.
+ * These commands work by creating and removing symbolic links in
+ * the features-enabled directory.
+ */
+include "features-enabled/*.conf"
+
+/**
+ * Although in theory you could define all your objects in this file
+ * the preferred way is to create separate directories and files in the conf.d
+ * directory. Each of these files must have the file extension ".conf".
+ */
+include_recursive "conf.d"
/*
- * Endpoint and Zone configuration for a cluster setup
- * This local example requires `NodeName` defined in
- * constants.conf.
+ * Generated by Icinga 2 node setup commands
+ * on 2021-05-19 15:03:54 +0200
*/
-object Endpoint NodeName {
- host = NodeName
+object Endpoint "icinga.hoellein.online" {
+ host = "icinga.hoellein.online"
+ port = "5665"
}
-object Zone ZoneName {
- endpoints = [ NodeName ]
+object Zone "mail.hoellein.online" {
+ endpoints = [ "icinga.hoellein.online" ]
}
-/*
- * Defines a global zone for distributed setups with masters,
- * satellites and clients.
- * This is required to sync configuration commands,
- * templates, apply rules, etc. to satellite and clients.
- * All nodes require the same configuration and must
- * have `accept_config` enabled in the `api` feature.
- */
-
-object Zone "global-templates" {
- global = true
+object Endpoint "home.hoellein.online" {
}
-/*
- * Defines a global zone for the Icinga Director.
- * This is required to sync configuration commands,
- * templates, apply rules, etc. to satellite and clients.
- * All nodes require the same configuration and must
- * have `accept_config` enabled in the `api` feature.
- */
-
-object Zone "director-global" {
- global = true
+object Zone "home.hoellein.online" {
+ endpoints = [ "home.hoellein.online" ]
+ parent = "mail.hoellein.online"
}
-/*
- * Read the documentation on how to configure
- * a cluster setup with multiple zones.
- */
-
-/*
-object Endpoint "master.example.org" {
- host = "master.example.org"
-}
-
-object Endpoint "satellite.example.org" {
- host = "satellite.example.org"
+object Zone "global-templates" {
+ global = true
}
-object Zone "master" {
- endpoints = [ "master.example.org" ]
+object Zone "director-global" {
+ global = true
}
-object Zone "satellite" {
- parent = "master"
- endpoints = [ "satellite.example.org" ]
-}
-*/
--- /dev/null
+/*
+ * Endpoint and Zone configuration for a cluster setup
+ * This local example requires `NodeName` defined in
+ * constants.conf.
+ */
+
+object Endpoint NodeName {
+ host = NodeName
+}
+
+object Zone ZoneName {
+ endpoints = [ NodeName ]
+}
+
+/*
+ * Defines a global zone for distributed setups with masters,
+ * satellites and clients.
+ * This is required to sync configuration commands,
+ * templates, apply rules, etc. to satellite and clients.
+ * All nodes require the same configuration and must
+ * have `accept_config` enabled in the `api` feature.
+ */
+
+object Zone "global-templates" {
+ global = true
+}
+
+/*
+ * Defines a global zone for the Icinga Director.
+ * This is required to sync configuration commands,
+ * templates, apply rules, etc. to satellite and clients.
+ * All nodes require the same configuration and must
+ * have `accept_config` enabled in the `api` feature.
+ */
+
+object Zone "director-global" {
+ global = true
+}
+
+/*
+ * Read the documentation on how to configure
+ * a cluster setup with multiple zones.
+ */
+
+/*
+object Endpoint "master.example.org" {
+ host = "master.example.org"
+}
+
+object Endpoint "satellite.example.org" {
+ host = "satellite.example.org"
+}
+
+object Zone "master" {
+ endpoints = [ "master.example.org" ]
+}
+
+object Zone "satellite" {
+ parent = "master"
+ endpoints = [ "satellite.example.org" ]
+}
+*/
+
--- /dev/null
+-----BEGIN CERTIFICATE REQUEST-----
+MIICdTCCAV0CAQIwADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL+c
+aqkpyLzEkSzWN50aCS8B562d84vGHkm3hFCcouKbTkeypdVnZT5ZpzRFg0J9bLOg
++EQp0/36h4To2/a/t4DRLi37kodIpAVjMdXNIoL/dDxzYbw8gtbYbQUcKdtKqQt6
+yqs4QmpnxYZBAXUpT2qLZW5DTe63l9KfdDSQ/XGXPMGnRE8/8jFInGKyHQflmHSK
+apa6u5ldYPVyfgsIpm6j619qufcBxAGP3w5n1Uq5K6jhTNba4mktjVihzyknhcka
+Cwj2KEexRIAHNhPIZjgu5fDgRIjoSEpLRO94Ki5pgwX1D4z9ZApshIOj9BaxOYiL
+fpj/rjuBLBCkh1BETt8CAwEAAaAwMC4GCSqGSIb3DQEJDjEhMB8wHQYDVR0RBBYw
+FIISdHYuaG9lbGxlaW4ub25saW5lMA0GCSqGSIb3DQEBCwUAA4IBAQCNzmGaPAhT
+rVVOBMthgLJD++up7M03YoK/DhwoeNF5Bz2Nh4cGqTmT/qvUUqR9KwmuzcbJgKyX
+msn3/sf8hadfkTGRaUwONXdk5zwstpZa5kKU0rJzUy20037/AbUA9Ifg23tsMxNj
+P7CpHXloZpotvJnJ4Y4pLroSEe1/jOnjTJ+S/YPUvYPEpKLd805IY125TGMDiGaE
+ffvalBVj4qVFXzeXrDNa0CgLJ3g1gAvjikSMq23+6YJsEhKzrRpdTm98TA9tRQ9t
++cN9xIjSixu33eFYfaB5hVTyAcUhr+7+aEkGIWYXRheuGu58pfntSDQgTRalbxSb
+OIN+A0VCvqAD
+-----END CERTIFICATE REQUEST-----
--- /dev/null
+-----BEGIN CERTIFICATE REQUEST-----
+MIICdTCCAV0CAQIwADCCASIwDQYJKoZIhvcNAQEBBQAD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