maybe chmod 0755 'avahi'
maybe chmod 0755 'avahi/services'
maybe chmod 0644 'avahi/services/phpmyadmin.service'
+maybe chmod 0644 'backup.log'
maybe chmod 0644 'bash.bashrc'
maybe chmod 0644 'bash_completion'
maybe chmod 0755 'bash_completion.d'
maybe chown 'nagios' 'icinga2/conf.d'
maybe chgrp 'nagios' 'icinga2/conf.d'
maybe chmod 0750 'icinga2/conf.d'
+maybe chown 'nagios' 'icinga2/conf.d/api-users.conf'
+maybe chgrp 'nagios' 'icinga2/conf.d/api-users.conf'
+maybe chmod 0644 'icinga2/conf.d/api-users.conf'
maybe chown 'nagios' 'icinga2/conf.d/app.conf'
maybe chgrp 'nagios' 'icinga2/conf.d/app.conf'
maybe chmod 0644 'icinga2/conf.d/app.conf'
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'
maybe chgrp 'nagios' 'icinga2/features-available'
maybe chmod 0750 'icinga2/features-available'
maybe chmod 0644 'icinga2/zones.d/README'
maybe chgrp 'icingaweb2' 'icingaweb2'
maybe chmod 2770 'icingaweb2'
+maybe chown 'www-data' 'icingaweb2/authentication.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/authentication.ini'
+maybe chmod 0660 'icingaweb2/authentication.ini'
+maybe chown 'www-data' 'icingaweb2/config.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/config.ini'
+maybe chmod 0660 'icingaweb2/config.ini'
+maybe chown 'www-data' 'icingaweb2/enabledModules'
+maybe chgrp 'icingaweb2' 'icingaweb2/enabledModules'
+maybe chmod 2750 'icingaweb2/enabledModules'
+maybe chown 'www-data' 'icingaweb2/groups.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/groups.ini'
+maybe chmod 0660 'icingaweb2/groups.ini'
maybe chgrp 'icingaweb2' 'icingaweb2/modules'
maybe chmod 2770 'icingaweb2/modules'
+maybe chown 'www-data' 'icingaweb2/modules/director'
+maybe chgrp 'icingaweb2' 'icingaweb2/modules/director'
+maybe chmod 2770 'icingaweb2/modules/director'
+maybe chown 'www-data' 'icingaweb2/modules/director/config.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/modules/director/config.ini'
+maybe chmod 0660 'icingaweb2/modules/director/config.ini'
+maybe chown 'www-data' 'icingaweb2/modules/monitoring'
+maybe chgrp 'icingaweb2' 'icingaweb2/modules/monitoring'
+maybe chmod 2770 'icingaweb2/modules/monitoring'
+maybe chown 'www-data' 'icingaweb2/modules/monitoring/backends.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/modules/monitoring/backends.ini'
+maybe chmod 0660 'icingaweb2/modules/monitoring/backends.ini'
+maybe chown 'www-data' 'icingaweb2/modules/monitoring/commandtransports.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/modules/monitoring/commandtransports.ini'
+maybe chmod 0660 'icingaweb2/modules/monitoring/commandtransports.ini'
+maybe chown 'www-data' 'icingaweb2/modules/monitoring/config.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/modules/monitoring/config.ini'
+maybe chmod 0660 'icingaweb2/modules/monitoring/config.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/modules/translation'
maybe chmod 0755 'icingaweb2/modules/translation'
+maybe chgrp 'icingaweb2' 'icingaweb2/modules/translation/config.ini'
maybe chmod 0644 'icingaweb2/modules/translation/config.ini'
-maybe chgrp 'icingaweb2' 'icingaweb2/setup.token'
-maybe chmod 0660 'icingaweb2/setup.token'
+maybe chown 'www-data' 'icingaweb2/resources.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/resources.ini'
+maybe chmod 0660 'icingaweb2/resources.ini'
+maybe chown 'www-data' 'icingaweb2/roles.ini'
+maybe chgrp 'icingaweb2' 'icingaweb2/roles.ini'
+maybe chmod 0660 'icingaweb2/roles.ini'
maybe chmod 0755 'icingweb2'
maybe chmod 0755 'icingweb2/enabledModules'
maybe chmod 0755 'init'
maybe chmod 0644 'letsencrypt/csr/2006_csr-certbot.pem'
maybe chmod 0644 'letsencrypt/csr/2007_csr-certbot.pem'
maybe chmod 0644 'letsencrypt/csr/2008_csr-certbot.pem'
+maybe chmod 0644 'letsencrypt/csr/2009_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/2006_key-certbot.pem'
maybe chmod 0600 'letsencrypt/keys/2007_key-certbot.pem'
maybe chmod 0600 'letsencrypt/keys/2008_key-certbot.pem'
+maybe chmod 0600 'letsencrypt/keys/2009_key-certbot.pem'
maybe chmod 0700 'letsencrypt/live'
maybe chmod 0644 'letsencrypt/live/README'
maybe chmod 0755 'letsencrypt/live/collabora.hoellein.online'
maybe chmod 0755 'systemd/system/emergency.target.wants'
maybe chmod 0755 'systemd/system/getty.target.wants'
maybe chmod 0755 'systemd/system/graphical.target.wants'
+maybe chmod 0644 'systemd/system/icinga-director.service'
maybe chmod 0755 'systemd/system/icinga2.service.d'
maybe chmod 0644 'systemd/system/icinga2.service.d/limits.conf'
maybe chmod 0755 'systemd/system/multi-user.target.wants'
EnableSendfile Off
-# <IfModule mod_rewrite.c>
-# RewriteEngine on
+ <IfModule mod_rewrite.c>
+ RewriteEngine on
+ RewriteCond %{HTTPS} off
# RewriteBase /icingaweb2/
-# RewriteCond %{REQUEST_FILENAME} -s [OR]
-# RewriteCond %{REQUEST_FILENAME} -l [OR]
-# RewriteCond %{REQUEST_FILENAME} -d
-# RewriteRule ^.*$ - [NC,L]
-# RewriteRule ^.*$ index.php [NC,L]
-# </IfModule>
+ RewriteCond %{REQUEST_FILENAME} -s [OR]
+ RewriteCond %{REQUEST_FILENAME} -l [OR]
+ RewriteCond %{REQUEST_FILENAME} -d
+ RewriteRule ^.*$ - [NC,L]
+ RewriteRule ^.*$ index.php [NC,L]
+ </IfModule>
<IfModule !mod_rewrite.c>
DirectoryIndex error_norewrite.html
--- /dev/null
+###### Starting backup on Thu 09 Jul 2020 03:35:13 PM CEST ######
+/root/bin/borg_backup.sh: line 25: /root/backup/software.list: No such file or directory
+/usr/local/sbin/backup_mysqldb.sh: line 6: syntax error near unexpected token `/usr/bin/mysqldump'
+/usr/local/sbin/backup_mysqldb.sh: line 6: ` /usr/bin/mysqldump --no-defaults -u backup ${db} > ${BACKUPPATH}/mysqldump_${db}.sql'
+Syncing backup files ...
+Connection closed by remote host. Is borg working on the server?
+###### Finished backup on Thu 09 Jul 2020 03:35:44 PM CEST ######
# File generated by update-locale
-LANG="en_US.UTF-8"
+LANG=de_DE.UTF-8
--- /dev/null
+/**
+ * The ApiUser objects are used for authentication against the API.
+ */
+object ApiUser "apiuser" {
+ password = "YxiVBdlIO8tHDDmr5QxZAeliaWU3S7"
+ // client_cn = ""
+
+ permissions = [ "*" ]
+}
/* 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 = "localhost"
+const NodeName = "mail.hoellein.online"
/* Our local zone name. */
-const ZoneName = NodeName
+const ZoneName = "mail.hoellein.online"
/* Secret key for remote node tickets */
const TicketSalt = ""
--- /dev/null
+/**
+ * This file defines global constants which can be used in
+ * the other configuration files.
+ */
+
+/* The directory which contains the plugins from the Monitoring Plugins project. */
+const PluginDir = "/usr/lib/nagios/plugins"
+
+/* The directory which contains the Manubulon plugins.
+ * Check the documentation, chapter "SNMP Manubulon Plugin Check Commands", for details.
+ */
+const ManubulonPluginDir = "/usr/lib/nagios/plugins"
+
+/* The directory which you use to store additional plugins which ITL provides user contributed command definitions for.
+ * Check the documentation, chapter "Plugins Contribution", for details.
+ */
+const PluginContribDir = "/usr/lib/nagios/plugins"
+
+/* 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 = "localhost"
+
+/* Our local zone name. */
+const ZoneName = NodeName
+
+/* Secret key for remote node tickets */
+const TicketSalt = ""
*/
object ApiListener "api" {
- //accept_config = false
- //accept_commands = false
+ accept_config = true
+ accept_commands = true
ticket_salt = TicketSalt
}
library "db_ido_mysql"
object IdoMysqlConnection "ido-mysql" {
- user = "icingaweb2",
- password = "7cHKgV780AyvMFkRFEagHPRRNHhF21q",
+ user = "icinga_ido",
+ password = "vhsQdqYAsuicEju0YxiVBdlIO8tHDDmr5Q",
host = "localhost",
- database = "icingaweb2"
+ database = "icinga_ido"
}
--- /dev/null
+../features-available/api.conf
\ No newline at end of file
--- /dev/null
+[icingaweb2]
+backend = "db"
+resource = "icingaweb2_db"
--- /dev/null
+[global]
+show_stacktraces = "1"
+show_application_state_messages = "1"
+config_backend = "db"
+config_resource = "icingaweb2_db"
+
+[logging]
+log = "syslog"
+level = "ERROR"
+application = "icingaweb2"
+facility = "user"
--- /dev/null
+/usr/share/icingaweb2/modules/director
\ No newline at end of file
--- /dev/null
+/usr/share/icingaweb2/modules/incubator
\ No newline at end of file
--- /dev/null
+/usr/share/icingaweb2/modules/ipl
\ No newline at end of file
--- /dev/null
+/usr/share/icingaweb2/modules/monitoring
\ No newline at end of file
--- /dev/null
+/usr/share/icingaweb2/modules/reactbundle
\ No newline at end of file
--- /dev/null
+[icingaweb2]
+backend = "db"
+resource = "icingaweb2_db"
--- /dev/null
+[db]
+resource = "director"
--- /dev/null
+[icinga]
+type = "ido"
+resource = "icinga_ido"
--- /dev/null
+[icinga2]
+transport = "api"
+host = "localhost"
+port = "5665"
+username = "root"
+password = "f54ab8dedcb07c45"
--- /dev/null
+[security]
+protected_customvars = "*pw*,*pass*,community"
--- /dev/null
+[icingaweb2_db]
+type = "db"
+db = "mysql"
+host = "localhost"
+port = ""
+dbname = "icingaweb2"
+username = "icingaweb2"
+password = "7cHKgV780AyvMFkRFEagHPRRNHhF21q"
+charset = "UTF8"
+use_ssl = "0"
+
+[icinga_ido]
+type = "db"
+db = "mysql"
+host = "localhost"
+port = ""
+dbname = "icinga_ido"
+username = "icinga_ido"
+password = "vhsQdqYAsuicEju0YxiVBdlIO8tHDDmr5Q"
+charset = "UTF8"
+use_ssl = "0"
+
+[director]
+type = "db"
+db = "mysql"
+host = "localhost"
+dbname = "icinga2director"
+username = "director"
+password = "cGtbWBBEs1zLXBQbI8MoR17nL"
+charset = "utf8"
+use_ssl = "0"
--- /dev/null
+[Administrators]
+users = "admin"
+permissions = "*"
+groups = "Administrators"
+++ /dev/null
-6d5de861e6d117ff
\ No newline at end of file
--- /dev/null
+-----BEGIN CERTIFICATE REQUEST-----
+MIICcjCCAVoCAQIwADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALkK
+cRYerdxeoBFXzxT5ccm67cP8Qg5+UWOj/7VCJlCtKk/5dhs8rBkRZjpQ0lmEoeoQ
+cvfr8hb9RldoiSjAk6tVw84ybZQI5zXTL09fpAnFe51Q6P3jT1GlYWGjpgh3Gu0m
+X2kPxk9Gp+CptY7CO/Mfm0IuhlrFf8EnlHXr4P6nqcuc0/aoHXm8GX3KhaPJLjDS
+LHXkVoLHDP8z2ozzot+6/eC05xdJ17SDgWdEtq3/kwvYBrOFyZcKBLClylEDpGxG
+FShLVZuZ8lFkE5g/ipsnyHtx0CM5TZ/JsMRiqu9Tg+Bypl0p41wveMnnxPSFYGHX
+P+NOZ7wRlDbDrvoW/bsCAwEAAaAtMCsGCSqGSIb3DQEJDjEeMBwwGgYDVR0RBBMw
+EYIPaG9lbGxlaW4ub25saW5lMA0GCSqGSIb3DQEBCwUAA4IBAQCCvi/KNejMuC+h
+6gpb9nbdjBcvtxtHLJyvzZYoGsoOOjJQ/67avpBbk9sxoi1Rbw4TyGqMgE+VDGvB
+5bjvmZw8mPujL/QYQG0+mUYYb5r/rP7EmAYedG2TljX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in/nologin
systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
nagios:x:122:129::/var/lib/nagios:/usr/sbin/nologin
+icingadirector:x:998:130::/var/lib/icingadirector:/bin/false
systemd-timesync:x:120:125:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
tcpdump:x:121:128::/nonexistent:/usr/sbin/nologin
systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
+nagios:x:122:129::/var/lib/nagios:/usr/sbin/nologin
tcpdump:*:18450:0:99999:7:::
systemd-coredump:!!:18450::::::
nagios:!:18451:0:99999:7:::
+icingadirector:!:18452::::::
--- /dev/null
+[Unit]
+Description=Icinga Director - Monitoring Configuration
+Documentation=https://icinga.com/docs/director/latest/
+Wants=network.target
+
+[Service]
+EnvironmentFile=-/etc/default/icinga-director
+EnvironmentFile=-/etc/sysconfig/icinga-director
+ExecStart=/usr/bin/icingacli director daemon run
+ExecReload=/bin/kill -HUP ${MAINPID}
+User=icingadirector
+SyslogIdentifier=icingadirector
+Type=notify
+
+NotifyAccess=main
+WatchdogSec=10
+RestartSec=30
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
--- /dev/null
+/etc/systemd/system/icinga-director.service
\ No newline at end of file