]> Frank Brehm's Git Trees - config/ns3/etc.git/commitdiff
saving uncommitted changes in /etc prior to apt run
authorFrank Brehm <frank@brehm-online.com>
Tue, 10 Oct 2017 21:49:18 +0000 (23:49 +0200)
committerFrank Brehm <frank@brehm-online.com>
Tue, 10 Oct 2017 21:49:18 +0000 (23:49 +0200)
14 files changed:
.etckeeper
icinga2/constants.conf
icinga2/constants.conf.orig [new file with mode: 0644]
icinga2/features-available/api.conf
icinga2/features-available/api.conf.orig [new file with mode: 0644]
icinga2/features-enabled/api.conf [new symlink]
icinga2/features-enabled/notification.conf [deleted symlink]
icinga2/pki/ca.crt [new file with mode: 0644]
icinga2/pki/ns3.uhu-banane.de.crt [new file with mode: 0644]
icinga2/pki/ns3.uhu-banane.de.crt.orig [new file with mode: 0644]
icinga2/pki/ns3.uhu-banane.de.key [new file with mode: 0644]
icinga2/pki/ns3.uhu-banane.de.key.orig [new file with mode: 0644]
icinga2/zones.conf
icinga2/zones.conf.orig [new file with mode: 0644]

index dffebd13415ba162def88e9912266ea62b41e045..20c1860e5ce7927ee01a304d3325e0d0dd86e798 100755 (executable)
@@ -9,7 +9,6 @@ mkdir -p './ca-certificates/update.d'
 mkdir -p './dbus-1/session.d'
 mkdir -p './dpkg/dpkg.cfg.d'
 mkdir -p './fail2ban/fail2ban.d'
-mkdir -p './icinga2/pki'
 mkdir -p './initramfs-tools/hooks'
 mkdir -p './initramfs-tools/scripts/init-bottom'
 mkdir -p './initramfs-tools/scripts/init-premount'
@@ -768,8 +767,10 @@ maybe chmod 0644 'icinga2/conf.d/templates.conf'
 maybe chmod 0644 'icinga2/conf.d/timeperiods.conf'
 maybe chmod 0644 'icinga2/conf.d/users.conf'
 maybe chmod 0644 'icinga2/constants.conf'
+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/checker.conf'
 maybe chmod 0644 'icinga2/features-available/command.conf'
 maybe chmod 0644 'icinga2/features-available/compatlog.conf'
@@ -790,12 +791,22 @@ maybe chmod 0644 'icinga2/init.conf'
 maybe chown 'nagios' 'icinga2/pki'
 maybe chgrp 'nagios' 'icinga2/pki'
 maybe chmod 0700 'icinga2/pki'
+maybe chmod 0644 'icinga2/pki/ca.crt'
+maybe chown 'nagios' 'icinga2/pki/ns3.uhu-banane.de.crt'
+maybe chgrp 'nagios' 'icinga2/pki/ns3.uhu-banane.de.crt'
+maybe chmod 0644 'icinga2/pki/ns3.uhu-banane.de.crt'
+maybe chmod 0644 'icinga2/pki/ns3.uhu-banane.de.crt.orig'
+maybe chown 'nagios' 'icinga2/pki/ns3.uhu-banane.de.key'
+maybe chgrp 'nagios' 'icinga2/pki/ns3.uhu-banane.de.key'
+maybe chmod 0600 'icinga2/pki/ns3.uhu-banane.de.key'
+maybe chmod 0600 'icinga2/pki/ns3.uhu-banane.de.key.orig'
 maybe chmod 0755 'icinga2/repository.d'
 maybe chmod 0644 'icinga2/repository.d/README'
 maybe chmod 0755 'icinga2/scripts'
 maybe chmod 0755 'icinga2/scripts/mail-host-notification.sh'
 maybe chmod 0755 'icinga2/scripts/mail-service-notification.sh'
 maybe chmod 0644 'icinga2/zones.conf'
+maybe chmod 0644 'icinga2/zones.conf.orig'
 maybe chmod 0755 'icinga2/zones.d'
 maybe chmod 0644 'icinga2/zones.d/README'
 maybe chmod 0755 'init'
index 29232d618e56f5e33de9e462583c3802e9e8a62d..ab9cc82f7e78a2f36c07cd9facb269fe3dd21a85 100644 (file)
@@ -19,10 +19,10 @@ 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"
+const NodeName = "ns3.uhu-banane.de"
 
 /* Our local zone name. */
-const ZoneName = NodeName
+const ZoneName = "ns3.uhu-banane.de"
 
 /* Secret key for remote node tickets */
 const TicketSalt = ""
diff --git a/icinga2/constants.conf.orig b/icinga2/constants.conf.orig
new file mode 100644 (file)
index 0000000..29232d6
--- /dev/null
@@ -0,0 +1,28 @@
+/**
+ * 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 = ""
index 0136de0b2289463a8a7f9572b3ef55af9e252134..be8acf381dc876f5f240dc71b66cce05a5aef81b 100644 (file)
@@ -1,11 +1,13 @@
 /**
  * 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
 }
diff --git a/icinga2/features-available/api.conf.orig b/icinga2/features-available/api.conf.orig
new file mode 100644 (file)
index 0000000..0136de0
--- /dev/null
@@ -0,0 +1,11 @@
+/**
+ * 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
+}
diff --git a/icinga2/features-enabled/api.conf b/icinga2/features-enabled/api.conf
new file mode 120000 (symlink)
index 0000000..8cdce62
--- /dev/null
@@ -0,0 +1 @@
+../features-available/api.conf
\ No newline at end of file
diff --git a/icinga2/features-enabled/notification.conf b/icinga2/features-enabled/notification.conf
deleted file mode 120000 (symlink)
index c31d3b4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../features-available/notification.conf
\ No newline at end of file
diff --git a/icinga2/pki/ca.crt b/icinga2/pki/ca.crt
new file mode 100644 (file)
index 0000000..486532f
--- /dev/null
@@ -0,0 +1,28 @@
+-----BEGIN CERTIFICATE-----
+MIIEyjCCArKgAwIBAgIVAKijaxOh/7oUys2n+iw+GHS+hLDbMA0GCSqGSIb3DQEB
+CwUAMBQxEjAQBgNVBAMMCUljaW5nYSBDQTAeFw0xNzA5MjEyMDUxMjFaFw0zMjA5
+MTcyMDUxMjFaMBQxEjAQBgNVBAMMCUljaW5nYSBDQTCCAiIwDQYJKoZIhvcNAQEB
+BQADggIPADCCAgoCggIBALH5Dn55tfqcZejKiu+g/Bd+Nm3I6Maa7iAskg9C9HEM
+rg2FvJmJi+gSO25amjsZGTC+TnYxIwsWsIPYfDOsfrfkhb1uz5d+7jpJf9aEgVgW
+LZXXxL27rAEnACIHZDdQVLiz3SGSFiiXvYWEatfzfZk47IHLA4aYwnCwW9+QI5q1
+a+M+IfdQPR3CLHCYy4H5v9OUNv2qD3zkA50xO9QPt/DVtOx0n2CrmOjUOSC62sNE
+jEZ0QJM+rRT21Jf+EwcDJVu+QTGceu8/aQ2vjy24OGksPDufcLha5fkYmKghBFRV
+5jXr5NAoYhwMiZNPaLE+Rj8Sz+pHB83yVgBupHrD5sRbuz706mMftCDr3HNuDi/K
+NtNujYwbBTWufNYJE4u4tBnrmhZvJjOhhU6x0jRG1Sh75U/JICbgAAYvSZcNAU5/
+OxiUmgJsKk24M+6+lqnkBlhsPoK40U9zhGhO52ATVdfrrwV6PpPw+oepZm1HWfze
+E09lLC7GgBedbHuVS2xQ/C1L0vAZYfuiUyYMmpw33pX5EpAsDeu2kPWLKC3QjUJH
+GetmJZNypFUWFDkORRJZGq4hj3QeETJKGzU4++XzmMdAnUbDrg33zX+HwOTU1kJL
+W/hQCamzeai2whNSSnfConObXQ/zLqn9pE5ZrGTdQPIGerzzxSJm3PXu6zqxMVZt
+AgMBAAGjEzARMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggIBAEtp
+xft6IvJgJNxHM1tIUAmbijmcu+Y4HGEZaAX4u18i7y/exXHTBbeqJ1dztLy/VSVa
+At94TcdZyewnHa0BsRNILI52qXlcoPBV57RzV+0jTfkK9L9FnuaDDaAYI8vHAxsL
+b0/wieQ3SCLtoJfVRGr3FObz0EtmedKGHpc7sPGYM88QY4iTYVKSFCvYvG4PpZAq
+K+EIn/sRcm6RdfnQwZ8dZ5zNeeZ1DmKlre0+pxwzXDgbTX+eC5CRqKKEknraYIX6
+F1GVEmNUXt5hN4je9Blqfp4e1mbArqXarJtxF5srqI7Dc877dXI//dokC5sivThK
+7pgpH9uaXv8QTUPEsQAAvra1thfPO3I8mrli/CrRThg6AoxMo2PeHu6nbkV4KGpj
+UXSg2gxR4+xoezuuSnnl0rBKLhrSFfEAyzR7hdSlBCgthLnpH7AMRxbosaYHziqQ
+DxZefpiF1vy2og+clbmrW0vyPdt6Bia2SDptWkdZWOG4vJzXqvGToaaaDpA4rrtY
+B3Xuhqyoa+Qq0NXBBpQUwPRceGrtehNgTGDokl6LExjI7h075TrWqTg3cc9LCmWf
+ShJpM5SpZxcGnHZTpZ5Sm4CatSPOy+GGGp64uCrr1vX3BVloQGeIphzupOJ7aIvr
+ZSAH/ibF9WkItQ5XGSgmCZyPL5KnI76jT7BQNi0m
+-----END CERTIFICATE-----
diff --git a/icinga2/pki/ns3.uhu-banane.de.crt b/icinga2/pki/ns3.uhu-banane.de.crt
new file mode 100644 (file)
index 0000000..6a20602
--- /dev/null
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+M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jYfILzHYdO91GLHKn9PLdaaj3IljxIUTxN6E5sov4eUdA7XhNesjaYSN0gn
+g6fKXscTTkslBatZSTJMY4hwfTbbBXuuhREdIro83IgF3OJVQZC0UpskzS0gYGp1
+3ooAhsFpi7hSOdLcexXWrmJ9UApArmsmcwatyuq2Z5yoLuPizSRLm0LONWId1fCJ
+TK0+GnGlpoTprp2JsEI4g6KDYGDkWveykWvsrCIL+fOar8bc9MYh3aubpjetm6LJ
+nbZcchOUIo4Ss6QxJ4tUt7pm57ptADiPqqp9bcyPh8Ho0pggJ276GDznuln7AhgG
+c5Dyz0n4AOm9BHDiXdbHULk6GLi1nz6NwPkiNC/0y+RLbbPV/n9LqF9us9BZdCwc
+Loe31Y31ztIvf0ptidlf/PSrYJvow7CFEoTauqAUEOEu7u+z7vVEMLtBzBTa8NYO
+Xueemca5ENK/TumSP+FO/sK8u3HB7VRMs2xV+bimzPsZTeLSWnkSTvQdPOEfPPje
+lyz394Wm19U4SRbIyh0+Q+DEBjRsuOvcrLaChRoI8s9xvporhujnFrY9yoC9kpCa
+LhluoyJjUewQ9Ms2Lm/qT4Eb77Oa9iv5/Oj5Ns2irVCaX4Z+i/YvqEYhsaOq/+tc
+tZX3qY4vYdtAoA48ddriBw==
+-----END CERTIFICATE-----
diff --git a/icinga2/pki/ns3.uhu-banane.de.crt.orig b/icinga2/pki/ns3.uhu-banane.de.crt.orig
new file mode 100644 (file)
index 0000000..540785f
--- /dev/null
@@ -0,0 +1,29 @@
+-----BEGIN CERTIFICATE-----
+MIIE9TCCAt2gAwIBAgIVANdXUIXbfE/5yAi26cZZBajB/dJ9MA0GCSqGSIb3DQEB
+CwUAMBwxGjAYBgNVBAMMEW5zMy51aHUtYmFuYW5lLmRlMB4XDTE3MTAxMDIxMzYy
+MFoXDTMyMTAwNjIxMzYyMFowHDEaMBgGA1UEAwwRbnMzLnVodS1iYW5hbmUuZGUw
+ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDLm04tvO2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F74+bCOPnrc2fyolXDQJ4CA621xhNPlVw8PU00LlkQvIfHu9hTiL3
+thcfy17fW1Q3DcmYen1Go43/pvUQM7kS4AzpuSFLOP9xdRm0IoqnVd+UqzUP86b7
+joum9qQ6NuNlePBU8ZqCEOzmmnKBIWJA6uGWhma8PVQQq4BfNLQ36PgibSLhK3We
++Y0DygHxSoj4F6eUswdqzVw9pv+3GfZkP5gysuDz0sVyRmg+DEMAqnXXdzgoyaXt
+DOQ2u8pOFZr4/h/aseL7h7oxF+4gn4nMylmBN/4CcnauvWFa/cpDuHtfxhLFpJSF
+LprTa1wioScMZ7ZarCjnY6EEQ7Rc3IB/jVxUC0ZnnwXvyjxtXL633nKa+/BMsSmX
+kyBb6ca6/Wp3F6WgOEnoYDtUlxtmF3qjYg==
+-----END CERTIFICATE-----
diff --git a/icinga2/pki/ns3.uhu-banane.de.key b/icinga2/pki/ns3.uhu-banane.de.key
new file mode 100644 (file)
index 0000000..2e5f3de
--- /dev/null
@@ -0,0 +1,51 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIJKQIBAAKCAgEAvs6VlotbFBN6S3TcJ2T9a9FU6Yy9jpExIG2UrqlVETIfIHRf
+5vKO7slKLR7KeUxrLu5oVN7Q0iWmuUV82i0QbDSjPKBTof07zkz944g026WZVnrp
+n0S012jsGWZoHpMTRQvYWbTaFWjgTh7T3Efjg2z+VlH3JW7HUoN/TJGyMiZV8O5h
+BW40Z3YLIAI+nM2K/0H9ZwzUwLQW06WQ0MG8bFy5ctaYtZlttjE+dn2+HlZLSUj8
+7zzppVbScLyjI40vkKLPUubQVqlbVO5xk1DygX+ymXgomBQPiMHWNLyI6YXwz5HI
+b/4UO242KO40Sde+8t9IZWRlANL2fOxFHhwbOJ7rVu5mvJSTZjSmFs5DnbOYlEwG
+4He0V/YWKjJZbjs/Uifu57afIJz5Yv1TuCukV047TwfrfT1Y32FOzR0oZLJSaOE8
+vAXCfL8uzu6Wfxjk7kxNWEFc9FB6IDRBFGFFyDM0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t5dfGquFqHywcHOhGJ5spe0rX615VL7lIRETJ+p
+cnDFfOpQLRuzcXpUQlVFKJCG5CYMwRNPba3cZUvvG50990G8xszdw16kHzICpui7
+9RMSna9nQCVXAosU44iw63ekkR/IFQFxyrDKhOza8I5ClcEjTQ+CQyzVSMLRT48m
+JD7tHMNE9JnvGmnPjJhNEk0G7Is5wYZa1QKCAQB/MA2XpGwCMjkNsRqrm179T4sh
+7wCtCnEnQ41ZXhR+6zjqAPL9VK7x6Z7LPwaaIFTUztl0upGrzkD4wFw6WYBuAVu+
+pf9CTBJo/rJcxqIehQcVtJQPG5Q70VNI3ujRrQcynwTnsK3ME/yILRV+AM5ots8h
+h9GiPjezJQ7wRGpWDP0TK1ln8ksQbPv5KqyGiIgjuR7pzUq1qlT7aZvMOnnLM9jf
+oZOdkIyYWUo6gBn9MBVmvIR2uQVewQM8ZaNx2csNxNaQ/dMwtpzB+aJxKnyAvxu/
+v9iIqhjJTCCAbt6Om76c4wMuf+NxjYH+RmwlCuol4bcZdSLA+UX2Z6r63R7w
+-----END RSA PRIVATE KEY-----
diff --git a/icinga2/pki/ns3.uhu-banane.de.key.orig b/icinga2/pki/ns3.uhu-banane.de.key.orig
new file mode 100644 (file)
index 0000000..710debf
--- /dev/null
@@ -0,0 +1,51 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIJKQIBAAKCAgEAy5tOLbztnHGZDppB36gV9UHFmp/L2F988AW/kKwxJYtrxc7O
+ytXW00unDlq0K6kidF9BOG8FnfucBu23ywThO3DfCbxsiryjdY7wjoaxc5IWQL5q
+42d1iUwaUpvbY9ng/LGwE5mJoDKcuJFUMrGcoyhqqLW3/ZP6x3hrMNVIhQAz+KMA
+6ehpOQ/1WjmNjdRU/YbzlrJ8IT6wpIIIPnfnhkcZt+E0UNfYFmr8fb/mF5gIeRER
+RMU6LVxYVbrjHdqSW/hu8/KYd5GBC5fDfZ/EsVTGox/A+G8A+tbDaRAJyiroE+z1
+rbMv6nRL+i9iMoKVf2x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jJITmVxVNlT
+Rtq+5QKCAQEAsgmFsuchmmbmLuN9SgtpfLijskAFISgyIbLaFEPqxq5UrUTlh3yD
+CiputRmMsGMtH7aEoYG2i20JesQ6tE2QPbNOlD0X3zNgLDP8FQVZ0hZF/2/aN9KD
+hqeIvjW+MacpOv5lWPh84MgGn9qz1P0L8VSAkYFnqke7cgDQXTnXTMqKkgOQtbU4
+CGo2rALHab1/f19vT0eMtDfX2ntW2fgclVSeRAgTNGFw8YDXftDmVbBp1wJ7I8I7
+OTDRXiOmWMGXmbAjsEQxFSOGkuQs4IZnUqdR1OYSlmQ1RhY+ixxDIMtU2McTDQ89
+aE/ZnmFFe7U2gEqZNT1wrdTp9zdL/1UVoQKCAQA26gthTUmgJ7UTkD5jDj+Yd+pM
+0cf9e9kywDoWZu39i9q7F7tL7asAiSg6wmTAyx2IPpFcoHukD1GWRMxyIk6PFmGk
+jwI+uvOLkCel+WsmTdVmg9aYlOYeRyyK0qxAYIr7P73kRLkJrkz3NhApUG4NX1RD
+wrBtPFY9IxU6vQhDPkj5QDMUqsvdZ7KNZCeYXH5TLnV8EqpTMmwZj1/Yj5OrFwl4
+olb67LPcqYnzIPOCGu17OL6Iaox2JJAqd5uPjuGISHCI3aaIveUsaLvl5RRvuC18
+JLA4rAUnOciyYsby1zpZC2cRKAXtNhvJ/+ymoDoeWn6LoX8JQBWZCaIe7hjJ
+-----END RSA PRIVATE KEY-----
index 9c76de7bb02be63b8cf9cf2c5612acd415ef484d..a170131e81d6e160fc5a951e4fdbabbfdc409235 100644 (file)
@@ -1,51 +1,23 @@
 /*
- * 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 2017-10-10 23:42:05 +0200
  */
 
-object Endpoint NodeName {
-  host = NodeName
-}
-
-object Zone ZoneName {
-  endpoints = [ NodeName ]
-}
-
-/*
- * Defines a global zone containing templates,
- * etc. synced to all nodes, if they accept
- * configuration. All remote nodes need
- * this zone configured too.
- */
-
-/*
-object Zone "global-templates" {
-  global = true
+object Endpoint "ns1.uhu-banane.de" {
+       host = "ns1.uhu-banane.de"
+       port = "5665"
 }
-*/
 
-/*
- * Read the documentation on how to configure
- * a cluster setup with multiple zones.
- */
-
-/*
-object Endpoint "master.example.org" {
-  host = "master.example.org"
+object Zone "master" {
+       endpoints = [ "ns1.uhu-banane.de" ]
 }
 
-object Endpoint "satellite.example.org" {
-  host = "satellite.example.org"
+object Endpoint NodeName {
 }
 
-object Zone "master" {
-  endpoints = [ "master.example.org" ]
+object Zone ZoneName {
+       endpoints = [ NodeName ]
+       parent = "master"
 }
 
-object Zone "satellite" {
-  parent = "master"
-  endpoints = [ "satellite.example.org" ]
-}
-*/
 
diff --git a/icinga2/zones.conf.orig b/icinga2/zones.conf.orig
new file mode 100644 (file)
index 0000000..9c76de7
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+ * 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 containing templates,
+ * etc. synced to all nodes, if they accept
+ * configuration. All remote nodes need
+ * this zone configured too.
+ */
+
+/*
+object Zone "global-templates" {
+  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" ]
+}
+*/
+